Query Execution Plan Cache Based on DM Embedded Database
- Author
- WangZhuFeng
- Advisor
- WuHengShan
- School
- Huazhong University of Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 9
- Citations
- 1
Abstract
With the development of embedded technology , users are increasingly looking for more effective management of embedded products . The embedded database is an effective tool for data management , but due to the limited resources of the embedded database system , the efficiency of the system is that people are very concerned about the problem . In-depth study in order to improve the operating efficiency of the embedded database , the embedded database DaMeng virtual machine and query optimization mechanisms , a new query optimization function expansion on the basis of up to Dream existing embedded database query optimizer - execution plan reuse mechanism . The mechanism includes the same SQL statement reuse and similar SQL statement reuse method for the determination and implementation plan to reuse the hash key generation algorithm ; cache district-level and file-level execution plan . Execution plan reuse judgment , if it is exactly the same SQL statement , you only need to do simple ASCII compare ; reuse of SQL statements , you need by segmentation algorithm processing is a different case , invalid characters , constant value . If you find reusable buffer plan is to do the appropriate processing performed directly after . Limited capacity for query reuse plan cache execution plan reuse rate is not high , designed and implemented a document management mechanisms in the execution plan , it is the execution plan is stored in the memory buffer to the file , or file execution The program loaded into memory buffer , this can increase the rate of execution plan reuse . Execution plan file loaded when stored opportunity open database and close the database , it will not be an additional burden to the system . Experimental verification for the same SQL statement and a situation similar to the SQL statement , the experimental results show that the execution plan reuse mechanism the efficiency of the implementation of the system can be significantly improved .
Table of contents
Summary 4-5
Abstract 5-9
1 Introduction 9-16
1.1 subject background 9
1.2 nbsp overview of research and development at home and abroad ; 9-15
1.3 main topic of research work 15-16
DaMeng the embedded database DMEMB overall architecture and virtual machine principle 16-24
2.1 DMEMB characteristics or 16-17
2.2 DMEMB architecture 17-18
2.3 DMEMB virtual machine and run principle 18-23
2.4 Chapter Summary 23-24
DMEMB execution plan reuse method 24-34
3.1 execution plan reuse process flow 24-25 < br /> 3.2 plan of Implementation of storage methods 25-29
3.3 plan reuse method of determining 29-31
3.4 lexical analysis technology research 31-32 < br / > 3.5 SYSPLAN data consistency 32-33
3.6 Chapter Summary the 33-34
4 DMEMB execution plan reuse achieve 34-46
4.1 buffer and management of the plan of Implementation of 34-35
4.2 SQL similar reuse determination to achieve 35-37
the 4.3 hash keys calculated 37-39 < br / > 4.4 constant values ??replace 39-40
4.5 files stored virtual machine timing 40-41
4.6 file virtual machine loaded 41-44 < br / a 4.7 execution schedule management 44-45
4.8 Chapter Summary 45-46
5 experimental testing and analysis 46-51
5.1 experiments platform 46
5.2 SQL statement identical experimental 46-47
5.3 SQL statement similar experiment 47-48
5.4 reuse mechanism test the 48-50 5.5 Chapter Summary
50-51
6 Summary and Outlook 51-53
6.1 Full Summary 51-52
6.2 Looking 52-53
thank the to References 53-54
54-57
Related dissertations
- Research of Query Processing in Embedded Database
- Research on Technique and Strategy of Query Optimization on Forest Resources Database
- Research on Query Optimization Algorithms in Embedded Distributed Databases
- Dream up an embedded database subquery flattening implementation and
- Research on the Project Cooperative Management of S Company’s Delivery and Cost
- Design and Implementation of High Speed Data Recorder Based on FPGA
- The Design and Implementation of a Delivery and Scheduling System for Video Files
- Research on the Technologies of Internet Traffic Localiztion
- Application and Research of Complex Event Processing in Centralized Monitoring of the Distributed System
- Approximate String Matching and Optimizition Techniques Using Reversed Filter
- An Efficient Hardware Architecture Design of Texture Mapping Unit
- 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
- Research on Key Technologies for the Client of Distributed File System
- The Design and Implementation of Police Corps Command Cooperation System