Research of embedded database based on hybrid index dynamic hash

Author
ChenHuiJie
Advisor
LiJianWei
School
Taiyuan University of Science and Technology
Major
Applied Computer Technology
Classification
TP368.1 Microprocessor
Degree
Master's thesis
Year
2013
Downloads
27
Citations
0

Request the full text

Abstract

With the development of embedded and electronic technology, theperformance of the key components in embedded systems (such asmicroprocessors and flash memory) is constantly improving, and its price has inreducing. It makes embedded devices could handle more and more complextasks in a lower cost. However, using the simple file system to manage data isunable to meet the data management of the embedded systems, which core taskis processing data. Therefore, the embedded database is designed for solve thisquestion.The SQLite which is open source database software was adopted as theinstance object of the embedded database. An efficient hybrid indexingmechanism combined with the features of dynamic hash and the TC tree wasproposed. And some appropriate experiment was implemented to verify that theefficiency of the mixed index mechanism in the aspects of retrieval and insertionoperations.First of all, the architecture and index mechanism of SQLite were Analyzedin this paper. Secondly, the research was focused on the characteristic of typicaldynamic hash, Tree index and some hybrid index. Thirdly, an unbalanced treeindex——TC tree was proposed in this paper, which was combined with thefeature of T tree and red black tree. The question that the operating performancewas reduced could be solved, resulted from the frequent adjustment operationcaused by strict equilibrium conditions of T tree. Besides, a new dynamic hashwas designed combined with the characteristic of extendible hashing and linearhashing and named it as IDH——Incremental dynamic hash. The bucket in IDHcould be split immediately when bucket overflow occurred and only expanded adirectory unit once splitting. The number of directory extension in an adjustmentoperation was only related to the location of the overflow bucket. In addition, itwas proposed a new hybrid index mechanism——IDH-TC, which used the IDHas an upper apart for data bucket positioning and used TC tree to organize the data bucket.The Simulation experiment verifies the efficiency of insertion and retrievaloperations in the hybrid index mechanism in the case of random data. The timecomplexity of embedded database retrieval almost is O(1) in this hybridindexing mechanism. And the Insert operations was presented cyclicalfluctuations trend of slow growth dips affected by the storage utilization.Compared with T-tree, the TC-tree had a better efficiency in insert operation,and Retrieve and delete operations performance was similar. Then this paperwas focused on the three dynamic hashing algorithms including of linear hash,extendible hash and incremental dynamic hash. It analyzed the influence on theindex size from split condition consist of bucket overflow and storage utilizationand data skew. The result of experiment shows that with the data increasing thedynamic hash with bucket overflow as the split condition have a bigger indexsize and less overflow bucket than the dynamic hash with storage utilization asthe split condition. Besides, the impact of data skew on the linear hash andextendible hash is same with the storage utilization as the split condition. Withthe bucket overflow as split condition, the more data in the back-end of index,the less index size for the linear hash and the more index size for the improveddynamic hash.In conclusion, the hybrid indexing mechanism IDH-TC proposed in thispaper is a highly efficient embedded database indexing mechanism. And it canimprove the performance of the retrieval and insertion operation.

Table of contents

Summary 4-5 ABSTRACT 5-9 first chapter 9-13 1.1 research background and significance of the topic 9-10 1.1.1 research background 9 1.1.2 topics of purpose and meaning 9-10 1.2 the main thesis work 10-11 1.2.1 research 10 1.2.2 the main innovation 10-11 1.3 thesis organization 11 - 13 Chapter II embedded database Overview 13-19 2.1 SQLite embedded database features 13-15 2.2 SQLite embedded database architecture 15-16 2.3 SQLite embedded database indexing and table storage mechanism analysis 16-19 Chapter traditional indexing mechanisms 19-33 3.1 scattered column indexing mechanism 19-24 3.1.1 static hash 19 3.1.2 dynamic hash 19-24 3.2 tree indexing mechanism 24-30 3.2.1 B tree and B tree 25-26 3.2.2 AVL tree 26-27 3.2.3 red black tree 27-28 3.2.4 T tree 28-30 3.3 hybrid index mechanism 30-33 Chapter IV TC main tree deposit indexing mechanism 33-43 4.1 TC tree node design and analysis of algorithms related operations 33-38 4.1.1 TC tree node structure design 33 - 34 4.1.2 operation inquiries 34-35 4.1.3 operation insert nbsp 35-36 4.1.4 delete operations ; 36-38 4.2 TC and T tree tree performance comparison 38-40 4.3 Summary 40-43 Chapter IDH incremental dynamic hashing technique 43-57 5.1 IDH incremental dynamic hashing structure 43-44 5.2 IDH incremental expansion of dynamic directory hashing algorithm 44-48 5.3 IDH incremental dynamic directory hashing algorithm contraction 48-49 5.4 data skew and split the condition of the dynamic expansion of the affected directory hashing 49-56 <br / > 5.4.1 separatist conditions affect the size of the directory impact deflection of the directory size 49-55 5.4.2 data 55-56 5.5 Summary 56-57 Chapter VI IDH-TC hybrid index mechanism structure 57-71 6.1 IDH-TC indexing mechanism 57-58 6.2 IDH operation -TC index mechanism nbsp 58-61 6.2.1 retrieval operations ; 58-59 6.2.2 operation insert 59-61 6.3 IDH-TC performance testing and results analysis 61-69 6.3.1 experimental platforms and conditions described 61-62 IDH-TC 6.3.2 performance data under random test case 62-69 6.4 summary 69-71 Chapter VII Conclusion 71-73 7.1 This work summarizes 71 <br / > 7.2 Next job Outlook 71-73 References 73-76 Thanks published during 76-78 academic degree program directory 78-79

Related dissertations

  1. The Design and Implementation of Police Corps Command Cooperation System
    WuLinMing ·Tianjin University ·2012 ·Master's thesis
  2. The Design of Cinema Ticketing System by Mobile Terminal on Android
    QiuJunJu ·South China University of Technology ·2013 ·Master's thesis
  3. Design of Agricultural Products Logistics Information Collecting System Based on WinCE and SQLite3
    GuYanTao ·Gansu Agricultural University ·2012 ·Master's thesis
  4. Research and Design of Embedded Database System Engine Based on Mixed Data Models
  5. Application of Embedded Database Berkeley DB in AUV Data Management
    QiDanDan ·Ocean University of China ·2012 ·Master's thesis
  6. The Research of Some Key Techniques of Vehicle Database
    ZengLiNing ·Hunan University ·2011 ·Master's thesis
  7. The Research Based on Embedded Database and MiniGUI Information Query System
  8. Design and Application of Embedded Database on Vehicle Overspeed Detection System
    ZhangJing ·Hebei University of Technology ·2012 ·Master's thesis
  9. Research of Query Processing in Embedded Database
    ChenYanHong ·Xinjiang Agricultural University ·2012 ·Master's thesis
  10. Research and Application of Embedded Database
    MaJian ·Xinjiang Agricultural University ·2012 ·Master's thesis
  11. Embedded Database Research and Applications
  12. The Design and Implementation of Embedded Database Technology Based on Rtems
  13. The design and implementation of SMS platform terminal software
    SunRuiYi ·Fudan University ·2011 ·Master's thesis
  14. The Design and Implementation of Coal Mining Safety Monitoring and Management System Based on Embedded Database
  15. Research on Recovery Mechanisms in DM Embedded DBMS
  16. Research on Data Acquisition and Processing System of Electric Car Attery Pile Based on ARM9
    ZhangLei ·North China Electric Power University ·2012 ·Master's thesis
  17. Intelligent Light Nurturing System
    ShuWei ·Zhejiang University ·2013 ·Master's thesis
  18. Mobile Cinema Ticket-buying System’s Research Based on Android
    FengShaoLi ·Wuhan University of Technology ·2012 ·Master's thesis
  19. Railway Tamping Machine Operating System Optimization Method and Implementation
    HuXian ·Hunan University ·2012 ·Master's thesis
  20. Research and implementation of engine control system electronic ribbon