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
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
- Research of Query Processing in Embedded Database
- Research on Query Optimization Algorithms in Embedded Distributed Databases
- Query Execution Plan Cache Based on DM Embedded Database
- Study on Organizational Structure Improvement of Fast Food Chains
- Application and Research of Complex Event Processing in Centralized Monitoring of the Distributed System
- Approximate String Matching and Optimizition Techniques Using Reversed Filter
- Research on Query Estimation Techniques on Dirty Database Management System
- Database Query Optimization Program Research and Implementation on PAR Platform
- Research of Selectivity Estimation Algorithm for String Predicates Based on Modiifed PST
- Energy-efficient Query Processing and Optimization with QoS Constraints
- XQuery Query Processor Design and Implementation
- The Research on Optimization of Parallel Data Query Based on Multi-processor
- Query Optimization Technique for Distributed Database System Based on Semi-Join Algorithm
- The Design and Implementation of Police Corps Command Cooperation System
- Query Optimization Strategy and Implementation for Semantic Caching in Mobile Computing
- The Design of Cinema Ticketing System by Mobile Terminal on Android
- A Study of Metropolitan Government Structure Based on Flatted Framework
- Discussion on Mobile Communication Enterprise Marketing Organization Flattening Operation
- Design of Agricultural Products Logistics Information Collecting System Based on WinCE and SQLite3
- Research on Algorithm of SPARQL Run-Time Query Optimization