Dream up an embedded database subquery flattening implementation and

Author
ZhangXi
Advisor
LiChenYang
School
Huazhong University of Science and Technology
Major
Computer technology
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2011
Downloads
12
Citations
0

Request the full text

Abstract

There are various aspects of the embedded environment restrictions, such as the performance of embedded processors , limited memory, etc. , so the embedded real-time database management have very strict requirements , such as low memory footprint , efficient queries , etc., so also the embedded database products put forward higher requirements. Database is the most frequent operation , query query neutron occupies an important position and role , a great number of domestic and open source embedded database only provide simple subquery function or does not provide , implement and therefore has a very important sub-query optimization the significance of the main sub-query workload to achieve the following four points. First, the study of dreams virtual machine mechanism , careful analysis of each opcode operation code and meaning of the parameters , adding a self-designed some of the op-codes, and sub- queries related mainly to create a temporary table opcode OP_OpenTemp and through two indexes pointing record rowid bound to the clustered index opcode OP_Seek. Then, in the sub-query , the main achievement of the three seed query : 1.In subquery , including related In subqueries and irrelevant In subquery ; 2 . Comparison operator queries, constraints are the contents of the subquery single records, if more than one record , just take the first record ; 3.EXISTS subquery , EXISTS subquery that contains related and unrelated EXISTS subquery. And then in the sub- query optimization, the main achievement of the query flattening , through relational algebra equivalent transformation related algorithms, avoid the use of temporary tables. Finally , design experiments to achieve the three seed queries and query the flattening test , verify the results are correct, or to achieve the desired functionality.

Table of contents

Abstract 4-5 Abstract 5-7 1 Introduction 7-14 1.1 topics background 7-8 <br / > 120 research and development overview 8-12 1.3 main topic research 12-14 2 up to dream virtual machine mechanism 14-21 <br / > 2.1 virtual machine principle 14 2.2 virtual machine opcodes 14-15 2.3 SQL statement opcode analysis 15-20 2.4 Summary 20-21 3 subqueries implementation and flattening 21-45 3.1 query Processing Overview 21-23 3.2 subqueries realization 23-39 3.5 subquery flattening 39-44 3.6 Summary 44-45 4 experiments and results 45-57 4.1 experimental platform 45 4.2 subquery experiment 45-56 4.3 Summary 56-57 5 Summary and outlook 57-59 5.1 Full Summary 57-58 5.2 Prospects 58-59 Thanks 59-60 <br / > References 60-62

Related dissertations

  1. Research of Query Processing in Embedded Database
    ChenYanHong ·Xinjiang Agricultural University ·2012 ·Master's thesis
  2. Research on Query Optimization Algorithms in Embedded Distributed Databases
    SongJingJing ·Shandong University ·2007 ·Master's thesis
  3. Query Execution Plan Cache Based on DM Embedded Database
  4. Study on Organizational Structure Improvement of Fast Food Chains
  5. Application and Research of Complex Event Processing in Centralized Monitoring of the Distributed System
    CaoBin ·Donghua University ·2014 ·Master's thesis
  6. Approximate String Matching and Optimizition Techniques Using Reversed Filter
    PeiTao ·Northeastern University ·2013 ·Master's thesis
  7. Research on Query Estimation Techniques on Dirty Database Management System
    YangLong ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Database Query Optimization Program Research and Implementation on PAR Platform
    TangQin ·Jiangxi Normal University ·2013 ·Master's thesis
  9. Research of Selectivity Estimation Algorithm for String Predicates Based on Modiifed PST
    ZhangQiXu ·South China University of Technology ·2013 ·Master's thesis
  10. Energy-efficient Query Processing and Optimization with QoS Constraints
    WuYan ·Zhejiang University of Technology ·2013 ·Master's thesis
  11. XQuery Query Processor Design and Implementation
  12. The Research on Optimization of Parallel Data Query Based on Multi-processor
  13. Query Optimization Technique for Distributed Database System Based on Semi-Join Algorithm
  14. The Design and Implementation of Police Corps Command Cooperation System
    WuLinMing ·Tianjin University ·2012 ·Master's thesis
  15. Query Optimization Strategy and Implementation for Semantic Caching in Mobile Computing
    ChenRui ·South China University of Technology ·2013 ·Master's thesis
  16. The Design of Cinema Ticketing System by Mobile Terminal on Android
    QiuJunJu ·South China University of Technology ·2013 ·Master's thesis
  17. A Study of Metropolitan Government Structure Based on Flatted Framework
    YuXiaoBo ·Wuhan University ·2014 ·Doctoral dissertation
  18. Discussion on Mobile Communication Enterprise Marketing Organization Flattening Operation
    LianQingYang ·Huaqiao University ·2012 ·Master's thesis
  19. Design of Agricultural Products Logistics Information Collecting System Based on WinCE and SQLite3
    GuYanTao ·Gansu Agricultural University ·2012 ·Master's thesis
  20. Research on Algorithm of SPARQL Run-Time Query Optimization
    LiLiuQing ·Tianjin University ·2012 ·Master's thesis