And implementation of multi buffer pool adaptive configuration design based on PostgreSQL

Author
ZhangMeiRu
Advisor
XuJian
School
Nanjing University of Technology and Engineering
Major
Applied Computer Technology
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2011
Downloads
13
Citations
0

Request the full text

Abstract

An autonomic database management system is a self tuning, self optimizing, self-healing and self protecting database management system(DBMS). Since expert database administrators(DBAs)are scarce, introducing a DBMS that is self tuning will decrease the total cost of ownership of the system. In this thesis we present a first step to incorporating self tuning capabilities in the PostgreSQL DBMS.The buffer area is the main memory management area of the DBMS. Effective use of this area ensures efficiency of the DBMS. Some DBMSs split the buffer area into multiple buffer pools and this has led to performance increases in some cases.Once multiple buffer pools are supported it is up to the DBA to size them based on each of their needs. Optimal sizing leads to good performance, therefore, as the workload changes the DBA has to adjust the sizes of the buffer pools.We extend PostgreSQL to support multiple buffer pools. We remove the dependency on the DBA and automatically adjust the sizes of the buffer pools to changes in the environment. In this paper, first we introduced the related knowledge about autonomic compute; self-configuring of database management system, and introduce more knowledge about Multiple Buffer Pools in this paper; we also analysis the possibilities of using PostgreSQL. We studied and design many algorithms about multiple buffer pool. Then we used the sizing algorithm and design and implementation for integration of multiple buffer pools in PostgreSQL. And design of dynamic resizing of buffer pools in PostgreSQL; Finally, we run the TPC-B workload comparing the original version of PostgreSQL with modified PostgreSQL by the specific experiment, observe the changes of throughput, to validate our result.

Table of contents

Summary 3-4 Abstract 4-5 directory 5-7 1 Introduction 7-10 1.1 background arrange 7-9 1.2 article 9-10 2 related work and research status 10-19 2.1 autonomic computing 10-11 2.2 database management system self-configuration 11-12 buffer Management 2.3 database management system 12-15 2.4 multi-buffer pool relevant knowledge 15-17 2.4.1 buffer pool data object clustering 16-17 2.4.2 to calculate the size of the buffer pool best 17 2.5 feasibility Analysis using the PostgreSQL 17-19 3 PostgreSQL multiple buffer pool design 19-29 3.1 PostgreSQL internal composition 19-20 3.2 PostgreSQL memory management 20-24 3.2.1 kernel buffer file storage 21 3.2.2 pool division requirements 21-22 3.2.3 PostgreSQL buffer pool 22-24 3.3 PostgreSQL multiple buffer pool design 24-29 3.3.1 data structure definitions 24 - 26 3.3.2 buffer pool initialization algorithm 26-27 3.3.3 Find descriptions algorithm 27-28 3.3.4 algorithm Analysis 28-29 4 PostgreSQL buffer pools dynamically adjusted based 29-40 4.1 buffer pool partitioning algorithm 29-33 4.1.1 configure multiple buffer pools 29 4.1.2 Tian division algorithm 29-31 4.1.3 estimating performance standards 31-33 4.2 nbsp collection of statistical data ; 33-34 4.2.1 PostgreSQL statistics collector 33-34 4.2.2 to calculate the buffer pool statistics algorithm 34 4.3 PostgreSQL and buffer pool partitioning algorithm fusion 34-40 4.3.1 sample collection and enforcement statistics division algorithm 34-35 4.3.2 reallocate buffer page 35 - 38 4.3.3 adjust the buffer size to determine the time 38-40 5 experiments and results analysis 40-56 5.1 experimental methods 40 - 44 5.1.1 TPC-B workload 41-42 5.1.2 select the appropriate load 42-43 5.1.3 extended single load 43-44 5.2 use change two pools throughput relations 44-47 5.3 DAT and throughput 47-48 5.4 monitoring DAT and hit rate 48-50 5.4.1 open statistics collector overhead under 48 5.4.2 analysis of different configurations statistics collector 48 - 50 5.5 initialize the buffer pool size 50-52 5.6 re- adjust the buffer pool sizes 52-56 5.6.1 generated by dividing the buffer pool overhead 55-56 6 summary and Outlook 56-58 6.1 thesis contribution 56 6.2 Conclusion 56-57 6.3 prospects 57-58 Thanks 58-59 References 59-61

Related dissertations

  1. Research on Enhancement Technology of Proxy Cluster Dependability Based on Autonomic Computing
    WangJian ·Harbin Institute of Technology ·2012 ·Master's thesis
  2. Research on Self-optimization Method of System Depen-Dability Based on Autonomic Computing
  3. Research on Network Security Situation Assessment Based on Autonomic Computing
  4. Foshan Lightning Proof Business System Based on BS Model Design and Implementation
  5. The Design of System Management Software for Autonomic-computing-oriented High-availability Server
    LiuShaoFeng ·Harbin Institute of Technology ·2012 ·Master's thesis
  6. Design and Implement of Failure Management Borad for High-availablity Server
    LinCheng ·Harbin Institute of Technology ·2012 ·Master's thesis
  7. Research on the Proactive Intrusion Detection Based on Autonomic Computing
  8. Research on Model and Evaluation Strategy of Autonomic Intrusion Tolerance
  9. The Research and Application on the Self-optimization Model in the Database
    LiXiaoLi ·Taiyuan University of Technology ·2012 ·Master's thesis
  10. Research on Rice Diseases and Pests Comprehensive Management System Based on GRASS
    XueJie ·Zhejiang Sci-Tech University ·2012 ·Master's thesis
  11. The Design and Realization of the Information System of Operation and Management at the Early Stage of Radiotherapy
  12. Research and Implementation on the Methods of Changing PostgreSQL Storage Engine to Mutil-threads Structure
  13. Design and Implementation of Battery Testing and Network Data Management System
    LaiShaoQiang ·Dalian University of Technology ·2013 ·Master's thesis
  14. Study of Shanghai city public cultural facilities spatial pattern measurement model based on the extended SQL
    TianDongDi ·Shanghai Normal University ·2012 ·Master's thesis
  15. Research and Design Traffic Information Service Platform Based on WebGIS
  16. Research on Autonomic Multi-agent Service Cooperation System Based on Norm and Policy
    PengYanBin ·Zhejiang University ·2008 ·Doctoral dissertation
  17. Research on Autonomic Computing Oriented Automated Service Negotiation
    ChengZuo ·Zhejiang University ·2008 ·Doctoral dissertation
  18. Research on Key Techniques of Privacy Preservation in Personalized Search
    ZuoZuo ·Zhejiang University ·2008 ·Doctoral dissertation
  19. Research on Agent-Based Autonomic Computing
    ZhangHaiJun ·Institute of Computing Technology ·2005 ·Doctoral dissertation
  20. Research on the Autonomic Database Systems: Theories and Approaches
    HuTianLei ·Zhejiang University ·2006 ·Doctoral dissertation