Research and Implementation of Relational Database Storage Subsystem

Author
ZuoWei
Advisor
YeXiaoJun
School
Tsinghua University
Major
Software Engineering
Classification
TP311.132.3 Relational database
Degree
Master's thesis
Year
2005
Downloads
367
Citations
3

Request the full text

Abstract

DBMS’s storage subsystem is responsible for the disk and the main memory control, which contacts with the file system or the original equipment alternately, dispatches data moving between disk and main memory, translates different DDL and DML statement to the lower level file system command or the device operation command and completes data storage, select and update in the database.The design and implementation of storage subsystem has very important influence to the database performance. The paper is based on opensource database Postgresql,uses tablespace mode to implement data storage subsystem strategy, the main achievement and conclusions are: (1)Obtained the PostgreSQL system structure based on the PostgreSQL development documents and source code, then proposed SMS and DMS coexistence tablespace storage strategy to make DBA choose appropriate storage structure based on actual application environment conveniently. (2) Designed and implemented the DMS tablespace storage strategy, satisfied the requirements: store data in multiple disks, layout database metadata and data storage location reasonably and enhanced disk I/O efficiency. (3) Has profited from the Oracle automated segment space management mode, used bitmap to manage segment space, could manage free block and extend segment rapidly and efficiently. (4)Integrated DMS tablespace storage strategy into the original PostgreSQL system, modified the data dictionary,buffer pool management and transaction log and so on to guarantee the system run normally, and implemented shared mode data dictionary cache buffer to reduce main memory usage and reduce process communication burden. (5)Implemented dynamic performance view by virtue of PostgreSQL original function to collect statistical information to make DBA optimize storage structure conveniently.

Table of contents

The first chapter 7-11 1.1 paper background 7 significance 1.2 storage management studies 7-9 1.3 thesis work content 9-10 1.4 thesis structure 10 1.5 Summary 10-11 Chapter II data storage strategy 11-27 <br / > 2.1 disk structure 11-13 2.1.1 disk physical characteristics 11 2.2.2 disk performance metrics 11-12 2.2.3 optimized disk access 12-13 disk management strategies nbsp 2.2 file system ; 13-15 2.2.1 traditional UNIX file system 13 2.2.2 fast File System 13 2.2.3 fast File System combines I / O aggregation 13-14 2.2.4 journaled file system 14-15 2.2.5 other file systems 15 data storage strategy nbsp 2.3 of mainstream commercial DBMS ; 15-21 2.3.1 Oracle data storage strategy 15-20 2.3.2 DB2 data storage strategy 20-21 2.3.3 SQL Server data storage strategy 21 2.4 open source database data storage strategy 21-25 2.4.1 PostgreSQL data storage strategy 22-23 2.4.2 Mysql data storage strategy 23-25 ?? 2.5 Summary design and implementation of Chapter 25-27 table space data storage strategy 27-60 3.1 overall design 27-34 <br / > 3.1.1 PostgreSQL7.4.3 architecture 27-32 3.1.2 table space architecture PostgreSQL architecture reconstruction 32-33 3.1.3 tablespace way to achieve achieve 33-34 3.2 meter spatial data storage strategy achieve 34-59 3.2.1 DMS table space 35-44 3.2.2 data Dictionary - table space-related 44-47 3.2.3 data dictionary cache - table space-related 47-49 3.2.4 SQL statement parsing 49-51 3.2.5 data buffer pool management 51-53 3.2.6 data access Control 53-54 3.2.7 data Sheet management 54-56 3.2.8 database initialization 56-57 3.2.9 statistical information collected 57-59 3.3 Summary 59-60 Chapter IV system testing 60-66 4.1 OLTP test 60-62 4.2 OLAP test 62-65 <br / > 4.3 Conclusion 65-66 Chapter summary and Outlook 66-68 References 68-70 Thanks 70 statement 70-71 my resume 71 studying for a master's degree during the academic papers published 71

Related dissertations

  1. Warehouse Management System
  2. Study on the HD News Storage System of HEBTV
    ZhangDa ·North China Electric Power University ·2011 ·Master's thesis
  3. Design and Implementation of Cache Replacement Algorithm under Faulty Mode
  4. Design and Implementation of a Snapshot Storage System Based on a Redirection Framework
  5. Evaluate the Performance of Storage System by Mathematical Modeling Methods
    DiaoYing ·Harbin Engineering University ·2013 ·Doctoral dissertation
  6. Design and Implementation of Hangzhou Culture Group Digital Audio and Video Data Storage System
  7. The Research on Architecture of Storage System Based on Internet of Things
    ZhangRenBin ·Zhengzhou University ·2012 ·Master's thesis
  8. Design and implementation of DCS storage system based on ACE
    ZhuJianHeng ·Fudan University ·2011 ·Master's thesis
  9. A University Campus Card System Upgrade Program Design
  10. Intelligent Storage Automated Testing System Design
  11. Application and Research of Software Architecture Based on Cloud Computing
    ZhangJun ·Northeast Normal University ·2012 ·Master's thesis
  12. The Realization of Digital Library Based on IP-SAN
    ZhangXiaTian ·Nanchang University ·2012 ·Master's thesis
  13. Research of Hard Disk Storage Technology of Multi-beam Bathymetry System
    ChenJie ·Harbin Engineering University ·2012 ·Master's thesis
  14. Design and Implement of Network Storage System
  15. Research on RDF data storage system based on attribute table
    TaoChengZuo ·Nanjing University ·2013 ·Master's thesis
  16. Research on Key Technologies of Energy Conservation or Disk-based Storage Systems
    XieXiaoLing ·South China University of Technology ·2012 ·Doctoral dissertation
  17. Research on Applications of LDPC Codes in Storage and Wireless Communication Systems
    LiJinTao ·Shanghai Jiaotong University ·2013 ·Master's thesis
  18. Research of Energy Storage Charge and Discharge Control with Hybrid Cascade Multilevel Converter
    KangJiuHui ·Tohoku Electric Power University ·2013 ·Master's thesis
  19. The Modern City Residential Space That Defend Bath Receive System Design Research
  20. Design and Implementation of Network Monitoring Device for Ship Navigation System
    HanHuaJin ·Harbin Engineering University ·2012 ·Master's thesis