Modeling Database System Performance with Locking Description
- Author
- PangLiYing
- Advisor
- NiuBaoNing
- School
- Taiyuan University of Technology
- Major
- Computer technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 1
- Citations
- 0
Abstract
With the development of information technology, optimizing application performance has become paramount important for enterprises. The optimization of database systems involves dynamic adjusting and tuning parameters and control workloads, which has a significant impact on the performance of application sand occupies the core position in the optimization of application performance. Optimizing the performance of database systems usually needs a model to guide the optimization. Therefore, establishing a precise performance model of database systems has become the key task for optimizing the performance of database systems.Locking as a part of internal of database systems, its impact on the performance of database systems cannot be ignored. At present, the main technology on locking is queuing networks model, but it only describes computer hardware resources, and cannot describe the hierarchical structures and software resources existing modern computer systems, it has influence on the analysis and description the flow of the lock.This thesis uses the layered queuing network model for lock modeling. Layered queuing network model, an extension of queuing network model, is designed to be able to model the software resources, in addition to hardware resources. Layered queuing network model can better describe and analyze the dependence of calls and hierarchical relationships among resources and tasks, making up the deficiency for queuing network model. At the same time, if the row locks are too many the database systems will run out of memory, which will result in the row locks automatically upgraded to table locks, for this account this thesis only models table locks. The main work as follows:1. By analyzing the locking mechanism, a layered queuing network model with locking description is proposed for database systems. The experiment employs TPC-H Benchmark as the data and workloads, and DB2as the target database system.2. The model is solved and analyzed using the method of layered. The model parameters obtained by using the direct and indirect methods. Due to load the concurrent access will cause the lock waiting, however, the competition for resources also cause the lock waiting in actual execution time. Therefore, the experiments use the1-0.5of the proportion of lock waiting time in total time to solving the lock waiting time.3. The model is solved and analyzed using the three sets of load. By comparing with the queuing network model the proposed layered queuing network model is more accurate.
Table of contents
Summary 3-5
ABSTRACT 5-10
first chapter 10-20
1.1 Background and Significance 10 - 11
1.2 Related Research In Motion related modeling studies 11-17
1.2.1 database lock system data described 11-14
1.2.2 performance Modeling research methods 14-15
1.2.3 database systems layered queuing network model related applications main work 15-17
1.3 of this topic 17
1.4 thesis structure 17-18
1.5 Summary theory 18-20
Chapter II database locks 20-26
2.1 lock concept 20-21
2.2 two-phase locking protocol 21-22
2.3 lock Manager 22-24
2.3.1 lock attribute 22
2.3.2 lock mode 22-23
2.3.3 lock escalation 23-24
2.4 Summary 24-26
Chapter layered queuing network model 26-44
3.1 queuing network model 26-31
3.1.1 queuing network model parameters 28-29
3.1.2 queuing network model to solve 29-31
3.2 hierarchical model 31-32
3.3 layered queuing network model 32-43
3.3.1 software server 32-34
3.3.2 basic Concepts 34-35
3.3.3 layered queuing network model 35-36
3.3.4 layered queuing network model parameters 36-37
3.3.5 layered queuing network model for solving 37-43 <br / > 3.4 Summary 43-44
the fourth chapter describes the database system data lock hierarchical queuing network model based 44-52
4.1 query execution in the database system process 44-45
4.2 hierarchical database system lock queuing network model based on data described 45-47
4.3 model parameters to obtain 47-49 <br / > 4.3.1 model input parameters to obtain 47-49
4.3.2 lock wait time to get 49
4.4 model solution 49-50
4.5 Summary 50-52
fifth chapter describes the database system data lock queuing network model based on hierarchical verification 52-62
5.1 experimental environment 52 - 54
5.1.1 describes the experimental environment 52
5.1.2 test environment to build 52
5.1.3 performance monitoring tools 52-54 <br / > 5.2 loads and model parameterization 54-58
5.3 model Description 58-59
5.4 analysis of experimental results 59-61
5.5 summary 61-62
Chapter VI Conclusions and future research prospects 62-64
References 64-68
Thanks 68-70
pursue a Master's thesis papers published during 70
Related dissertations
- Layered Queuing Network Modeling of Database Systems Buffer Pools
- Computer Control System of Beer Filling Production Line
- Design and Implementation of the ICS Server
- Research on the Method of Building Service Chain Based on Performance Model and Its Automation
- Experimental Study on Thermal Contact Resistance between Solid-solid Surfaces and Development on Database Query System
- Macroeconmic of Kunming Integrated Statistical Database System of Design and Implementation
- Design and Implementation of Guoxin Gold Transaction Information Management System
- Non-Taxy Income Information Management System of Suzhou Branch Bank of SPD Bank
- The Design and Implementation of Family Financial Management System Based on ASP.NET
- Design and Implementation of Shanghai Electrical and Mechanical Institute Production Training System
- Engineering Information Management System of Zuocheng Construction Corperation
- Design and Implement of the Human Resource Management System for Primary and Middle School Based on.Net
- Design and Implementation of Nanjing Bank Foreign Concurrency Management System
- Design and Implementation of Baili Company Marketing Information Management System
- Research and Development of Parameterized CAPP System for Panel Dies of Automobile Body
- High-speed Emu Aluminum Elloy Weld Fatigue Life Prediction of Vehicle
- The Research of Performance Evaluation of the National Audit Institutions
- Study on the performance evaluation of China's environmental protection industry listing Corporation
- Simulated Moving Bed Numerical Solution and Optimal Control
- Research on Perforance Model Based on Single-Cpu Firewall