Research and Implementation of Several Key Technology in Self-Managed Database System
- Author
- MengBoRong
- Advisor
- HeQingFa
- School
- Second Academy of China Aerospace
- Major
- Applied Computer Technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 22
- Citations
- 0
- self-managed database management system
- index selections
- materialized view
- system statistics
- Shenzhou OSCAR
Abstract
With the fast development of Internet and multimedia technology, the application of database has been widely employed and many techniques have been introduced in the study of advanced database strategies. Due to the increasing complexity and data scale, the cost of managing a complex database system is rising, which calls for the self-managed technology to manage a system actively and automatically. Thus, self-managed technology in database management is becoming a recent hot issue, which is studied to reduce the complexity and cost of the management and to automatically optimize the system performance.In this dissertation, the significance of the research in the self-managed database is described first. Then, the developing of the self-managed database technology is reviewed. After analyzing the defect and deficiency of the recent methods, we introduce a query optimizer’s system framework integrated with index selections, materialized views and automatic system statistics diagnosis. The presented method can automatically generate the index configuration suggestions, create the optimal query plan based on materialized views and self-adaptively adjust the system statistics according to the variety of the hardware platform so to obtain improved system performance.Firstly, the index selections based on the workload and the disk constraint is studied. A framework based on feedback control principle for automatic physical database design is proposed. Then, we investigate the following key points of the models in the framework: the candidate indexes generation, the“what-if”configuration analysis and the optimal configuration searching method based on greedy algorithms and genetic algorithms.Secondly, we study the implementation and application of the materialized views, the main point lies on the realizations of the maintenance and the query rewriting. For this part, the maintenance method and implementation of materialized view is presented first and the key research focus is on the incremental maintenance algorithm: the method based on the subsumption graph to support the materialized views with outer-join, the maintenance algorithm of materialized view with aggregation based on progressive updating and the updating algorithm based on the partial recalculating of materialized view. In the following part, the query rewriting using materialized views is investigated, including the semantically matching condition and algorithm with a view, and then we propose the optimal rewriting plan selection method base on binary search tree.We also study the method and implementation of the automatic system statistics diagnosis and present the realizable mechanism. Then the automatic collection method of the system statistics is proposedFinally, with Shenzhou OSCAR database as the platform, we implement the above key technologies and provide experiments for functional and performance test. The relevant results demonstrate the validity and high effectiveness of the proposed techniques, which can reduce the work load of DBA and optimize the system performance automatically.
Table of contents
Abstract 5-7
Abstract 7-12
Chapter 1 Introduction 12-25
1.1 Introduction 12-13
1.2 research 13-14
1.3 Related Research 14-23
the 1.3.1 database self-management technology development 15-16
1.3.2 database automatically physical design 16-18
1.3.3 materialized view technology 18-22
1.3.3.1 materialized view classified 18-20
1.3.3.2 materialized view maintenance 20-21
1.3.3.3 query rewrite 21-22
1.3.4 system statistics 22-23
1.4 The paper is organized 23-25
Chapter 2 overall design of self-management capabilities 25-29
2.1 index recommended 25-26
2.2 materialized view technology 26-28
2.2.1 materialized view maintenance 27
2.2.2 materialized view query rewrite 27-28
2.3 system statistics automatically diagnose 28
2.4 This chapter Summary 28-29
Chapter 3 index recommended 29-41
3.1 Overview 29-30
3.2 Automatic physical database design framework 30-31
3.3 candidate index space generated 31-35
3.3.1 Algorithm Analysis 32-33
3.3.2 candidate index collected 33-34
3.3.3 Index Merge and compression 34-35
3.4 configuration consideration of estimated 35-37
3.5 optimal configuration search 37-40
3.5.1 existing algorithm analysis 37-38
3.5.2 Genetic algorithm 38-40
3.6 This chapter Summary 40-41
Chapter 4 materialized view maintenance 41-60
4.1 Overview 41-42
4.2 connection materialized view incremental maintenance 42-53
4.2.1 related concepts 42-45
4.2.2 incremental maintenance model 45-47
4.2.3 connection materialized view maintenance algorithm 47-53
4.2.3.1 single-table updates the materialized view maintenance 48-52
4.2.3.2 multi-table update the materialized view maintenance 52-53
4.3 incremental aggregate materialized view maintenance 53-59
4.3.1 incremental maintenance model 53-55
4.3.2 incremental maintenance process 55-59
4.3.2.1 mapping table incremental maintenance 55-57
4.3.2.2 update aggregate functions 57-59
4.4 This chapter Summary 59-60
Chapter 5 materialized view query rewrite 60-72
5.1 Overview 60-62
5.2 Single View rewrite matching 62-68
5.2.1 connection materialized view match 62-63
5.2.2 aggregate materialized view match 63-64
5.2.3 rewrite matching algorithm 64-68
5.2.3.1 predicate derived judgment algorithm 65-67
5.2.3.2 expression computability judgment algorithm 67-68
5.3 approximate optimal rewrite search 68-70
5.4 query replacement algorithm 70-71
5.5 This chapter Summary 71-72
Chapter 6 System statistics automatically diagnose 72-78
6.1 Overview 72
6.2 consideration of the estimated model 72-75
6.3 system statistics collection 75-77
6.4 This chapter Summary 77-78
Chapter 7 Implementation and verification 78-90
7.1 self-management capabilities to achieve 78-79
7.2 Experimental verification 79-89
7.2.1 index recommended 79-81
7.2.2 materialized view maintenance 81-86
7.2.3 materialized view query rewrite 86-88
7.2.4 system statistics automatic diagnosis 88-89
7.3 Chapter Summary 89-90
Summary and Outlook The 90-93
the
References 93-99
the
studying for a master's degree during the academic 99-100
Acknowledgements 100
Related dissertations
- Research on the Incremental Maintenance of Materialized Views Based Enterprise Vertical Search Optimization
- The Research of Data Warehouse Performance Optimization Technology Based on the Coupling Index and Materialized View
- Design and Implementation of Multidimensional Analysis System in Digital Ocean
- Research of View Maintenance Method for Information Integration Application
- The Research and Implementation of Data Integration Based on View Duplication
- Research on Technique and Strategy of Query Optimization on Forest Resources Database
- Research on Techniques of WMS-Oriented Data Consistency Maintenance
- The Research and Implementation of Views Self-Maintenance Methods on the Data Warehousing
- The Research and Implementation of Multiple View Consistency Maintenance Technology in the Warehouse Integration Environment
- Research and Implementation of Query System Based on Materialized Views
- Research of Multi-Dimension Query Optimization Algorithm Based on MDX
- -- materialized views self maintenance sales system optimization research of customer relationship management based on data warehouse
- Research and Implementation of the Overseas Chinese Affairs of data warehouse and its METL tool
- Study of XQuery Optimization Based-on Rewriting Mechanism
- Research and Implementation of the Data Superaddition Technology Based on Data Warehouse
- Data warehouse and OLAP technology research and application
- Views Self-Maintenance Method in Data Warehouse
- Research methods to maintain consistency in the data warehouse materialized view
- Materialized view re- calculation algorithms and implementation
- Research on the Dynamic Selection Strategy of Materialized Views in Data Warehouse