A Research of Database System Concurrency Control and Self-optimization Based on MySQL

Author
LiXueQiang
Advisor
LuoShengXian
School
Chengdu University of Technology
Major
Applied Computer Technology
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2007
Downloads
424
Citations
3

Request the full text

Abstract

Database Management System is one of the most complex software systems.Inorder to support the ACID (Atomicity, Consistency, Isolation, Durability) ofconcurrency transactions, high concurrency and high performance, DBMS mustmaintain the serializability of transactions by using a kind of concurrency control.Thedispatcher is in charge of it.Generally speaking, there are three dispatchers and they arelock based, timeatarnp based and validation based respectively. As a relation DBMSsupporting transaction completely, IrmoDB data engine of MySQL uses the dispatcherbased on lock. InnoDB lock system has the traditional two-phase locking policy systemand can make row level read-write lock. This paper makes an in-depth study on thelock-based concurrency control mechanism of InnoDB data engine of MySQL,including lock type, lock model and lock stucture, which lays good foundation for therealization of MySQL self-optimization, especially for the realization of concurrencycontrol self-optimization.Abstract Selfmanagement is a currently critical problem of database managementsystem. The key solution to selfmanagement is to make database system manage itselfand use its resources effectively. This paper realizes two self-optimization DBMSmodels in the perspectives of concurrency control and memory resource respectively. Theformer will make your database system more intelligent powerful and costless bypredicting and controlling the dam conflict ratio. The later can adjust system parametersautomatically to achieve good performance. In addition, both the two models haverealized obvious optimizing effects by means of experiment testing.

Table of contents

Abstract 4-5 ABSTRACT 5-8 Chapter 1 Introduction 8-12 1.1 Background 1.2 research and development status at home and abroad 8-10 1.3 of this paper work 10-12 Chapter 2, concurrency control and lock 12-19 2.1 Summary of concurrency control 12-14 2.1.1 Affairs and scheduler 12-13 the classification nbsp 2.1.2 concurrency control; 13-14 2.2 serial implementation 14-15 2.2.1 two-phase locking protocol 15 2.2.2 Tree Protocol 15 2.3 lock mode 15-19 2.3.1 lock type 16 2.3.2 lock granularity 16-17 2.3.3 manually lock 17 2.3.4 lock table space management 17-19 Chapter 3 MySQL concurrency control to achieve 19-31 the MySQL 3.1 basic structure 19-20 3.2 lock mode 20-29 3.2.1 Basic lock mode 21-22 3.2.2 accurate lock mode 22-25 3.2.3 table-level locks 25-27 3.2.4 row-level locking 27-29 3.3 lock structure 29-31 Chapter 4 Database System Self-optimization to achieve 31-58 4.1 database since optimization to technical 31-36 4.1.1 database self-optimizing Summary 31 4.1.2 database performance optimize classification 31-32 4.1.3 database self-optimizing technology 32-36 4.2 database optimization 36-40 4.2.1 logical structure optimization 37-39 4.2.2 physical structure optimization 39-40 4.2.3 Summary 40 4.3 concurrency control and optimization 40-46 4.3.1 NDACC About 41-42 4.3.2 concurrency control self-optimization to achieve 42-43 4.3.3 concurrency control liberalization model experiments 43-46 4.4 memory resources configured to self-optimize 46-55 4.4.1 dynamic resource self-optimization of the overall design of the model 46-47 the 4.4.2 memory resources configuration self-optimization model 47-53 4.4.3 Memory allocation of resources from to optimize experimental 53-55 4.5 database self-optimizing future research directions to 55-58 4.5.1 database self-optimizing autonomic computing 55-56 4.5.2 future research directions 56-58 the conclusions and recommendations 58-60 Acknowledgements 60-61 the References 61-64

Related dissertations

  1. Implementation and Improvement of Database Index Concurrency Control
    SuBin ·Zhejiang University ·2007 ·Master's thesis
  2. Study on the Construction of Agricultural Information Service System
    YangBoZuo ·Hunan Agricultural University ·2013 ·Master's thesis
  3. Study on the Integration and Application of the Second Land Survey Data
    WanKai ·Inner Mongolia Normal ·2012 ·Master's thesis
  4. Study on Database Construction and Application Research of Township Overall Land Use Planning
    LiRongLin ·Jiangxi Agricultural University, ·2012 ·Master's thesis
  5. Countermeasure Research on the Development of Digital Library Integrated Retrieval System in China
    WangXu ·Xiangtan University ·2013 ·Master's thesis
  6. The Design and Development of Unattended Remote Measurement and Monitoring System in Steel Business
    HanXiao ·Yanshan University ·2012 ·Master's thesis
  7. Design and Implementation on Three-dimensional Monitoring System of Data Center
    WangZhenYong ·Yanshan University ·2012 ·Master's thesis
  8. Large Network Monitoring System Based on ARM
    LiZuoZuo ·Nanjing Agricultural College ·2013 ·Master's thesis
  9. The Research on Fire-fighting Based on Image Processing in Large Space
    XuTieBing ·East China Jiaotong University ·2013 ·Master's thesis
  10. Design and Application of the Distributed Monitoring System Based on Embedded Web
  11. Excogitation and Implementation of Monitor System for the Greenhouse’s Host Machine
    LuYan ·Ningxia University ·2014 ·Master's thesis
  12. Design of Circuit Testing System of Vehicle Fuse Box Based on LabVIEW
  13. Battery Sorting Detect System Design and Application
  14. The Reliable Data Transmission System in the Maternal and Child Health Information Platform
    YangLei ·Guangxi University ·2012 ·Master's thesis
  15. The Development of Configuration Software for Monitoring and Controlling Based on C#
    WangGuang ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. Research on the Digital Controller and PID Parameter Tuning of the Proportional Valve
    ZhangZuoZuo ·Zhejiang University ·2014 ·Master's thesis
  17. Fractional order control algorithm research and application in the permanent magnet AC servo system.
  18. Design and Implementation of Finance Forum Web System
  19. Design and Implementation of Teaching Website Based on JAVA
    LiuHui ·Northeastern University ·2012 ·Master's thesis
  20. The development of government website based on ASP