Implementation and Improvement of Database Index Concurrency Control
- Author
- SuBin
- Advisor
- ChenGang
- School
- Zhejiang University
- Major
- Applied Computer Technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 125
- Citations
- 0
Abstract
Has played an increasingly important role in the use of relational databases in real life , people every day , either directly or indirectly , to deal with the database system . The database uses in order to meet the performance , correctness needs parallel database is particularly important . Database data manipulation process , the index has played a good role as a bridge , it makes more efficient query data , under the multi-user concurrent access to the scene , the index naturally become the database system data access bottleneck . How to improve the degree of concurrency of the index concurrent access and guarantee the correctness is the thrust of the article discusses . Index concurrency locking protocol as well as on the basis of the combined general practice database index concurrency to achieve concrete realization of several improvements and optimization , to achieve a set of index system . Improvements in this article involves mainly the following points : 1) improved access to data items locked agreement , the lock mode and to optimize a specific lock mode , making the index of concurrent access capability has been improved . 2 ) the index structure modification operations have been optimized so that the structural modifications have higher serial . 3 ) of index three main operation to do a specific optimization , improved performance and concurrency makes the index access . Introduce protocols and to optimize the process , but also carried out some demonstration of the feasibility of improved optimization . Finally, this paper also discusses the protocols and improved on the basis of this paper , the index in terms of recovery and deadlock can guarantee correctness .
Table of contents
Abstract 3-4
Abstract 4-10
Chapter 1 Introduction 10-13
1.1 database system concept 10 - 11
1.1.1 relational database generation 10
1.1.2 relational database development and use the 10-11 1.2 database system structure
1.3 database system index 11-12
1.4 This article discusses 1.5 Chapter Summary 12
12-13
first Chapter 2 Technical Background the concurrency control
2.1 Overview 13-21 13-18
2.1.1 transaction concept 13-14
2.1.2 database concurrency control 14-18
2.2 index concurrency control Research 18-19
2.3 herein do to improve 19-20
2.4 Chapter Summary 20-21
Chapter 3 index concurrency control protocol 21-49
3.1 This article the index related concepts defined 21-30
3.1 the .1 index structure defined 21-23
3.1.2 index access operation 23-25 ??
3.1.3 latch and lock 25-27
3.1.4 key range locking 27-28
3.1.5 index key lock locking 28-30
3.2 Latch concurrent protocol 30 - concurrent agreement between the 34
3.2.1 Latch 30-33
the concurrent agreement nbsp 3.2.2 Latch and lock; 33-34
3.3 index concurrency plus the locking protocol the 34-46
3.3.1 index query 34-37
3.3.2 index insert 37-39
3.3.3 the index delete 39-41
3.3.4 summary of discussion and further improvements 41-46
3.4 index structure modifying operations (SMO) 46-48
3.5 Chapter Summary 48-49
Chapter 4 index to achieve optimization the 49-64
the 4.1 index queries realize 49-54
4.1.1 query requirements 49
4.1.2 optimization discussion involving 49-51
4.1.3 Latch optimization 51-52
4.1.4 index query flowchart the 52-54
4.2 index inserted to achieve 54-59
4.2.1 insertion 54-55
4.2.2 inserted improvement the 55-56
4.2.3 index insert relevant flowchart 56-59
4.3 index delete realize 59-63
4.3.1 delete requirements 59
4.3.2 delete improvement 59-61
4.3.3 index delete flowchart 61 - 63
4.4 Chapter Summary 63-64
Chapter 5 recovery, deadlock and test results the discussion 64-71
5.1 Restoration 64 - 66
5.1.1 inserted restore 64-65
5.1.2 delete the recovery 65
5.1.3 SMO restore 65-66 the
5.2 The Deadlock discussion, 66
5.3 System test results the 66-70 the 5.3.1 test environments
67
5.3.2 concurrency test results 67
5.3.3 Performance test results 67-70
5.4 Chapter Summary 70-71
Chapter 6 Summary and Outlook the 71-73
6.1 This paper summarizes 71
6.2 Looking to the future work to References 71-73
73-75 < br /> Acknowledgements 75
Related dissertations
- Analysis and Design of the OCS System Memory Data Management System
- A Research of Database System Concurrency Control and Self-optimization Based on MySQL
- Memory database accounting background
- Research on Fiscal Expenditure Performance Evaluation of Dongying City
- Study on the evaluation index system of audit of enterprise internal control in our country
- Research on Construction of Integrated Evaluation System of China Private Equity Fund Manager
- The Research Based on the Balanced Scorecard in the Performance Appraisal System of LM Company
- Research on Urban Public Transport Services Evaluation System
- The Designment on Fuel Management Department Performance Index of Ningxai Datang International Daba Power Generation CO., LTD
- Research and Design of Performance Appraisal System of Inner Mongolia a Fuel Company
- Study on the Construction of Agricultural Information Service System
- Study on the Integration and Application of the Second Land Survey Data
- Study on Database Construction and Application Research of Township Overall Land Use Planning
- Research on the Risk Early-warning Management Mechanism of International Engineering Projects
- Evaluation of the level of integration of urban and rural logistics development in Shanxi
- Study on the Establishment and Verification for Hunan Food Safety Index
- Countermeasure Research on the Development of Digital Library Integrated Retrieval System in China
- The Design and Development of Unattended Remote Measurement and Monitoring System in Steel Business
- Design and Implementation on Three-dimensional Monitoring System of Data Center
- Large Network Monitoring System Based on ARM