Buffer Pool-Based DBMS Modeling with Layered Queuing Networks
- Author
- ZhaoJie
- Advisor
- NiuBaoNing
- School
- Taiyuan University of Technology
- Major
- Computer Science and Technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 1
- Citations
- 0
Abstract
As the workloads of database management systems(DBMS) becoming more and more diverse and complex, the performance of DBMSs matters. As the backend support system for applications, DBMSs’performance determines the performance of applications. It is an important task to manage performance of DBMSs. A performance model is required to guide DBMSs’performance management usually, therefore it becomes a core mission to create a model of performance for DBMSs.The configuration of buffer pools has a huge impact on the performance of a DBMS. It is impossible to build a performance model of DBMSs without the description of the buffer pools. The buffer pool is a part of main memory, used to temporarily read and update data pages. The data operations of applications are carried out in buffer pools. The reason why buffer pools are necessary in DBMSs is that data access from the main memory is much fast than from the hard disks. Buffer pools can significantly improve the performance of DBMSs by reducing the number of access to hard disks. Therefore, it is necessary to build a performance model for DBMSs with buffer pool description.In this thesis, the method for building performance model is layered queuing network model. Queuing network model describes hardware resources as the service centers, and computer systems are modeled as network of service centers. Layered queuing network model is an extension of queuing network model models both software and hardware resources as the tasks. By analyzing the relationship of the nested call between tasks, the performance bottlenecks can be found. The use of buffer pools involves the query process, the buffer pool management, main memory, hard drives, and other hardware and software resources, which forms a hierarchical relationship. It is difficult to use queuing network model with only single-layer to describe such a system. LQNM is able to describe complex layered systems. LQNM’s nodes can request services to the other nodes as a customer, and provide services for other nodes as a server, while QNM’s node can only provide service for requests. Layered queuing network model is more appealing.Based on the above facts, we propose a DBMS layered queuing network model based on buffer pool description by analyzing of the mechanism of the buffer pool. It is a four-layer model and consists of seven tasks:three software tasks (the query process, the logical read, the physical read) and four hardware tasks (THINK, CPU, the memory, hard disk).Using method of layered the performance model is divided into software and hardware contention model, describing the models’input and output parameters, setting up experimental environment. In the experiments, the target DBMS is DB2i, populated with1G TPC-H benchmark data, and TPC-H queries server as the workloads. Under different buffer pool size, model’s input parameters are acquired by the snapshot monitors of DB2database, and model’s output parameters are acquired by method of layered. The model’s output parameters are the predicted response times. In order to prove the validity of the model, we compare the response time predicted by layered queuing network model and queuing network model, and the actual response time. The experimental results demonstrate that the response time of the predicted value of layered queuing network model is closer to the actual value than the predictive value of queuing network model, which illustrates the rationality and effectiveness of the layered queuing network model.
Table of contents
Summary 3-5
ABSTRACT 5-11
first chapter 11-19
1.1 research background and significance 11 Situation -12
1.2 research topic DBMS modeling studies based on the status quo 12-17
1.2.1 pool described 12-14
1.2.2 points application layer queuing network model major research topic 14-17
1.3 17
1.4 article organizational structure 17-18
1.5 chapter Summary 18-19
Chapter II performance modeling 19-31
2.1 performance modeling methods described 19-20
2.2 queuing network model 20-30
2.2.1 an open queuing network model 21-25
2.2.2 closed queuing network model 25-30
2.3 Summary 30-31
Chapter layered queuing network model 31-45
3.1 layered queuing network model concepts 31-38 <br / > 3.1.1 software server concept 31-33
3.1.2 layered queuing concept 33-34
3.1.3 mission concept description 34-35
3.1.4 invocation 35-36
3.1.5 performance indicators 36-37
3.1.6 layered queuing network model 37-38
3.2 stratification method for solving queuing network model 38-44
3.2.1 Introduction layered approach 38-40
3.2.2 stratification algorithm 40-44
3.3 Summary 44-45
Chapter queuing network model based on hierarchical DBMS buffer pool described 45-55
4.1 DBMS query execution process 45-47
4.2 DBMS hierarchical queuing network model based buffer pool described 47-53
4.2.1 model decomposition 48 - 49
4.2.2 model parameter Description 49-52
4.2.3 parameter acquisition method 52-53
4.3 Summary 53-55
The fifth chapter experimental part 55-67
5.1 describes the experimental environment 55-58
5.1.1 DB2 database description 55-56 <br / > 5.1.2 load and database description 56-58
5.2 test procedure described 58-59
5.3 experimental data analysis 59-66
5.3 .1 model parameterization 59-61
5.3.2 load characteristic data analysis 61-64
5.3.3 model validation data analysis 64-66 <br / > 5.4 summary 66-67
Chapter VI summary and Outlook 67-69
References 69-73
Thanks published 73-75
during the academic master's thesis 75
Related dissertations
- Research on the Performance of National Audit Results Announcement and Its Influencing Factors
- " Jinsui" Farmers Benefitial Card and Farmer Credit Loan Business Development Research
- Research on the Performance of Property Insurance Lines in China
- Study on Chinese Agricultural Futures Hedging Performance of Low Level
- Study of China’s Securities Industry Based on SCP Paradigm
- The Liquidity Effect on the Relationship between the Size and the Performance of the Equity Open-ended Fund
- An Empirical Study on the Performance of Chinese Mutual Funds
- The Study on the Development of Socially Responsible Investment Funds in China
- The Performance Analysis on the City Commercial Banks in China before and after the Listing
- Research on Performance Evaluation and Innovation of New-type Rural Financial Institutions
- Analysis on Village Banks’Performance and Factors
- Research on the ownership structure of China's small and medium-sized commercial banks influence on its performance
- A Study on the Effectiveness of Performance Evaluation System of A Bank Shaanxi Branch
- Study on Internal Governance and Product Design for Rural Credit Union Funds Performance Influencing
- Research on the diversification of commercial bank China
- The Performance Evaluation of Listed Banks in China an Empirical Study on Lnfluencing Factors
- Evaluation and Empirical Study of China’s Listed Banks Operating Performance
- Research about Impact of Financial Openness on Commercial Bank Performance in China
- Research on Performance Evaluation Index System of Listed Commercial Banks
- A Research on Chinese Commercial Banks Outbound M&A Performance