The Research on Optimization of Parallel Data Query Based on Multi-processor
- Author
- FangXiaoLin
- Advisor
- ZuoJianQing , LiHuiZuo
- School
- South China University of Technology
- Major
- Software Engineering
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 9
- Citations
- 0
Abstract
Caching is a classic technology to improve performance of the applications in computerscience. Well-organized cache data can reduce the overhead cost in the IO processing andimprove the performance. Most of DBMS only use the frequencies of data accessed and usethe traditional cache structures, like the Page cache and Block cache. Queries in realapplications are aggregate. Subsequent queries are often related with previous queries. Usingthe cache data appropriately and answering the subsequent queries with the help of semanticinformation, can reduce the executions of similar queries and improve the performance ofdata accessing.This paper starts by analyzing the shortcoming of cache structures in MySQL. Since theDBMS can’ t satisfy the needs of applications, this paper design and develop a caching systemthat make use of the semantic information. The caching system have several advantages:1) It can use semantic information in the SQL to decide whether the cache data cansatisfy the query. It makes use of the data in the cache as much as possible;2) It can take advantage of the computing power of the multi-process to reduce the timein the query processing;3) It can manage the cache data according to the statistic information of the data queriesand increase the hit rate of the caching system;Our experiments in Chapter5show that the system has a great performance to the queriesthat data are changeless. It can use the cache to reduce the response time of the queryprocessing and use the multi-process to accelerate the query procedure.
Table of contents
Abstract 5-6
Abstract 6-7
catalog 7-10
first chapter 10-15 <br / > 1.1 Background 10
1.2 research questions domestic and foreign research status quo 1.3 10-12
12-14
1.3.1 semantic caching technology research 12-13
1.3.2 operating in parallel database technology 13-14
1.4 thesis structure 14-15
The second chapter describes the relevant technologies 15-29
2.1 database query process 15-16
2.2 MySQL cache structure 16-19
2.2.1 globally shared cache 16-18
2.2.2 threads exclusive cache 18
2.2.3 traditional cache structure analysis 18-19
2.3 semantic caching technology 19-24
2.3.1 semantic cache classification 19-22
2.3.2 query cache replacement policy 22-23
2.3.3 data consistency maintenance 23-24
2.4 data parallel processing technology 24-28
2.4.1 OpenMP technology 25-26
2.4.2 parallel Programming 26-28
2.5 Chapter Summary 28-29
Chapter query caching system design 29-46
3.1 background Project 29- 31
3.1.1 background Project description 29
3.1.2 background Project architecture 29-30
3.1.3 data Access analysis 30-31
3.1.4 query caching system peripherals architecture 31
3.2 query system overall design 31-35
3.2.1 data Query 32-33
3.2.2 data modify select 33-34
3.2.3 cached data 34-35
3.3 query caching system definitions 35-37
3.4 cache entry storage structure 37-39
3.4.1 cache size limit results 38-39
3.5 query matching process 39-42
3.5.1 query Match Type 39-40
3.5.2 query processing 40-42
replacement policy nbsp 3.6 cache entry ; 42-44
3.7 data consistency maintenance 44
3.8 parallel processing strategy 44
3.9 Chapter Summary 44-46
Chapter IV query cache system implementation 46-54
4.1 query caching system architecture 46-48
4.1.1 cache control Module (CacheSystem) 46
4.1.2 cache Manager module (CacheManager) 46-47
4.1.3 SQL statement parsing module (SQLParser) 47
4.1.4 screening module result set (ResultFilter) 47
4.1.5 database management module (DatabaseManager) 47-48
4.2 system data structures 48-49
4.3 The main algorithm 49 -53
4.3.1 SQL query parsing 49-50
4.3.2 cache entries matching lookup 50-51
4.3.3 probing inquiry 51-52
4.3.4 cache entry to replace 52-53
4.4 Summary 53-54
Chapter V system performance testing 54 -64
nbsp 5.1 test environment ; 54-55
5.1.1 hardware environment 54
5.1.2 software environment 54
5.1. three test methods 54-55
5.2 cache hit experiment 55-57
5.2.1 experimental data and testing process 56
5.2.2 results analysis 56-57
5.3 part cache hit experiment 57-58
5.3.1 experimental data and process 57-58
5.3.2 results analysis 58
5.4 data update experiment 58-60
5.4.1 experimental data and process 58-59
5.4.2 analysis 59-60
5.5 parallel query experiment 60-61
5.5.1 experimental data and process 60
5.5.2 analysis 60 -61
5.6 replacement policy experiment 61-63
5.6.1 experimental data and process 61-62
5.6.2 analysis 62- 63
5.7 chapter Summary 63-64
summary and Outlook 64-66
references 66-69
Thanks 69-70
Accessories 70
Related dissertations
- Query Optimization Strategy and Implementation for Semantic Caching in Mobile Computing
- Research on the Technique of Schema-Based XQuery Optimization and Parallel Processing
- Research a Semantic Caching for Data Manipulating Mediator System
- Query Optimization Research of Analysis Database and Its Implementation
- Research on Surface Defects Visual Inspection System for Metal Components
- Research on Acceleration Technology of IPSec VPN Base on GPU
- Application and Research of Complex Event Processing in Centralized Monitoring of the Distributed System
- Approximate String Matching and Optimizition Techniques Using Reversed Filter
- Study on Several Methods for Digital Video/Image Restoration
- Study of Visual Tracking Algorithm Based on CUDA
- 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
- Query Optimization Technique for Distributed Database System Based on Semi-Join Algorithm
- Semantic Cache Strategies for Continuous Nearest Neighbor Query and Mobile Learning
- Research of Wavefront Reconstruction System for Adaptive Optics Based on Multi-core DSP
- TS101 high speed real time parallel signal processing system based on design and research
- Embedded Monitoring Design and Implementation Which Based on the Linux Operating System in Microwave Transmission Equipment SDH