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
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
- Warehouse Management System
- Study on the HD News Storage System of HEBTV
- Design and Implementation of Cache Replacement Algorithm under Faulty Mode
- Design and Implementation of a Snapshot Storage System Based on a Redirection Framework
- Evaluate the Performance of Storage System by Mathematical Modeling Methods
- Design and Implementation of Hangzhou Culture Group Digital Audio and Video Data Storage System
- The Research on Architecture of Storage System Based on Internet of Things
- Design and implementation of DCS storage system based on ACE
- A University Campus Card System Upgrade Program Design
- Intelligent Storage Automated Testing System Design
- Application and Research of Software Architecture Based on Cloud Computing
- The Realization of Digital Library Based on IP-SAN
- Research of Hard Disk Storage Technology of Multi-beam Bathymetry System
- Design and Implement of Network Storage System
- Research on RDF data storage system based on attribute table
- Research on Key Technologies of Energy Conservation or Disk-based Storage Systems
- Research on Applications of LDPC Codes in Storage and Wireless Communication Systems
- Research of Energy Storage Charge and Discharge Control with Hybrid Cascade Multilevel Converter
- The Modern City Residential Space That Defend Bath Receive System Design Research
- Design and Implementation of Network Monitoring Device for Ship Navigation System