Research on Flash-based Storage Engine of Relational DBMSs
- Author
- XuZuo
- Advisor
- ChenGang , DongJinXiang
- School
- Zhejiang University
- Major
- Computer Science and Technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Doctoral dissertation
- Year
- 2011
- Downloads
- 164
- Citations
- 0
- Relational database management system
- Flash disks
- Storage engine Architecture
- Index
- Concurrent Scans
- Hybrid Storage
Abstract
The relational database management system (RDBMS) is the most prevalent data management software in the modern world. After the development in the past 20 years, RDBMS has become one of the most successful product evolved from the theory in the computer science. As providing the convenient interface of data management to users, the RDBMS also supports the transaction grammar, which encapsulates the data consistency and durability and releases the complexity of the application significantly.In the whole history, the non-volatile storage of the RDBMS architecture is the mag-netic disk from the beginning. Recently, the development of magnetic disk has reach the end, and the flash storage replaces the magnetic device in more and more computer systems. However, the 10 characteristics of flash storage is quite different from the mag-netic storage. First, as a electronic device with no mechanically disk arms, flash storage provides a much higher random access speed than the magnetic devices. Second, as flash chips need to erase a relatively large area before overwrite, the write and read performance of flash chips is asymmetric, specifically write operation is much slower than the read.Deploying the conventional DBMS on the flash disks fails to fully exploit its power. The reason is the structure and algorithm of the conventional DBMS is based on the characteristics of the magnetic disk. For example, the dirty page would be written into the permanent storage directly when evicted, and the large scale scan need to sequentialize the move of the disk arm. The structures and algorithms are unsuitable to the flash disks anymore. Therefore, the re-design of the RDBMS’s storage engine is unavoidable.Under this requirement, we concentrate on the techniques about storage engine on flash disks in this paper, basing on the characteristics of the state-of-art flash disks and the access logics of the RDBMS applications. The main contributions of our work can be summarized as follows:·We present a complete framework called CRL, which is designed towards the charac- teristics of the flash disks in the storage and transactional level. The key techniques of CRL include the customized data compress algorithm, redo-log based version control and later materialization. The prototype of CRL improve the performance significantly on flash disks in the conventional OLTP applications.·We devise an index, named Update-Migration B+ tree(UM-B+ tree), which is tai-lored to the flash disk. The UM-B+ tree relieves the pressure of frequent random overwrites of the standard B+ tree and improves the I/O performance. We also expand the UM-B+ tree into the transaction environment, which is innovative to our knowledge. We improve the availability of the UM-B+ tree by discussing about the access control and the recovery mechanism in a high-concurrent circumstance.·We propose a new framework named Semi-Sharing Scan (S3), which is especially suitable for the large-scale concurrent scans on the disk-resident data. The S3 adapts a novel design which shares the readings between scans of similar speeds to save the bandwidth utilization. Meanwhile, it compensates the faster scans by executing random I/O requests separately, in order to reduce single scan latency. The experi-ment proves that S3 outperforms the conventional schemes in both bandwidth and CPU utilization.·We propose a practical hybrid model. In this model, the storage media of the database consists of both magnetic and flash. The data in the database are deployed on the suitable media according to their access patterns. We maintain a mapping table to translate the visit to the flash media. The page deployment of the system is tuned adaptively according to the physical parameter of the devices and the recent access patterns, which are collected via the sliding windows.
Table of contents
Summary 3-5
Abstract 5-10
illustration directory 10-12
table directory 12-13
Chapter 1 Introduction 13-21
1.1 Research motivation 13-17
1.2 content 17-18
1.2.1 flash-based storage the engine framework 17
1.2.2 update migration of B-tree index parallel scan of huge amounts of data on the flash 17
1.2.3 17-18
the 1.2.4 flash disk hybrid architecture database system 18
1.3 research 18-19
1.4 the dissertation structure of 19-21
first Chapter 2 basics 21-41
2.1 flash memory chips and flash drives the 21-24 2.1.1 flash memory chips
About 21-23 < br /> the 2.1.2 flash drives structure and characteristics 23-24
2.2 database engine architecture and I / O access characteristics outlined 24-28
2.2.1 transactional the storage engine 24-26
2.2.2 database application categories and I / O characteristics 26-28
2.3 flash database research overview 28-34
2.3.1 flash-based database of key technology research the 28-30 2.3.2 database system
direct use of flash drives 30-33
2.3.3 research trends and inadequacies the 33-34
2.4 flash drives performance evaluation the 34-39 2.5 Chapter Summary
39-41
Chapter 3 flash memory storage engine framework 41-69
3.1 Introduction 41
3.2 the flash database storage engine design guidelines 41-44
3.3 CRL the overall architecture 44-47
3.3.1 the physical organization of the data format 45-46
3.3.2 key technology 46-47
3.4 The partial decoding continuous compression algorithm 47-52
the 3.4.1 design objectives and related work the 47-48 3.4.2 algorithm described
48-51 < br /> 3.4.3 CEPD algorithm used in the CRL 51-52
3.5 based on multi-version model and redo log
3.5.1 CRL 52-59 multi-version protocol 52-53
3.5.2 redo log-based multi-version model 53-54
the 3.5.3 data structures and algorithms 54 - delay 59
3.6 group materialized 59-63
3.6.1 materialized operation of functional goals 59-60
3.6.2 delay into combinations and algorithms 60-61
3.6.3 error recovery 61-63
3.7, the current experimental results and performance analysis 63-68
3.7.1 database volume 63-64
3.7.2 access performance estimates 64-68
3.8 Chapter Summary 68-69
Chapter 4 Update Migration tree index 69-89
4.1 Introduction 69-70
4.2 Motivation and related research 70-73
4.2.1 Motivation 70-71
4.2.2 research 71-73
4.3 data structure and key algorithms 73-79
4.3.1 UM-B-tree data structures 73-74
4.3.2 key algorithms the 74-78
4.3.3 Performance Analysis 78-79 concurrent access
4.4 with recovery protocol agreement on
4.4.1 concurrency, 79-83 80-81
4.4.2 recovery protocol 81-83 4.5 Experiments and results nbsp
; 83-87
4.5.1 preparations 83-84 the
the 4.5.2 flash simulator test 84-86
4.5.3 true flash memory on the hard disk test 86-87
4.6 Chapter Summary 87-89
Chapter 5 shared mode parallel scanning 89-107
5.1 Introduction 89-90
5.2 massive data parallel scan nbsp the the 5.2.1 issues raised 90-93
; 90-91
5.2.2 The formal definition of the problem 91-92
5.2.3 existing solutions the shared scan are found in 92-93
5.3 half; 93-102
5.3 .1 overall structural framework 93-94
5.3.2 scan scheduling 94-96
5.3.3 scan group selection and division 96-98 <br / > 5.3.4 I / O scheduling the 98-99 5.3.5 Performance analysis
the 99-102 5.4 Experimental results
102-105
5.4 .1 the experiment prepare 102
5.4.2 two statements to execute concurrently 102-104
5.4.3 multi-query concurrency execution 104-105 <br / > 5.5 Chapter Summary 105-107
Chapter 6 self-regulating complex storage model 107-121
6.1 Introduction 107
6.2 composite storage the nature 107-108
6.3 adaptive composite storage model HY BRID a 108-115 overall structure of
6.3.1 108-110
6.3.2 address mapping table 110-111
6.3.3 Statistics 111-114
the 6.3.4 memory occupied Analysis 114-115
6.3.5 Recovery 115
6.4 experiments and performance assessment the 115-118
6.4.1 experimental preparation 115-116
6.4.2 Experimental results 116-118
6.5 Chapter Summary 118-121
Chapter 7 Conclusions and Outlook 121-125
7.1 summary of the work the 121-124
7.2 further research and outlook 124-125
Ref. 125-132
during the PhD research 132-133 <br / > Acknowledgements 133-134
Related dissertations
- Research on Fiscal Expenditure Performance Evaluation of Dongying City
- Study on the evaluation index system of audit of enterprise internal control in our country
- Research on Construction of Integrated Evaluation System of China Private Equity Fund Manager
- The Research Based on the Balanced Scorecard in the Performance Appraisal System of LM Company
- Research on Urban Public Transport Services Evaluation System
- The Designment on Fuel Management Department Performance Index of Ningxai Datang International Daba Power Generation CO., LTD
- Research and Design of Performance Appraisal System of Inner Mongolia a Fuel Company
- Research on the Risk Early-warning Management Mechanism of International Engineering Projects
- Evaluation of the level of integration of urban and rural logistics development in Shanxi
- Study on the Establishment and Verification for Hunan Food Safety Index
- Research on Intrusion Detection Technology Based on Mutual Information and KNN
- Research on Index Technology of String Approximate Query
- Design and Implementation of Full-text Retrieval System Based on Lucene
- The Establishment of Intelligent Search Engine Platform in Enterprise
- Research on the Index and Queries of Moving Objects
- Research on Large-scale Unstructured Data Processing of Index and Visualization
- The Research of Data Warehouse Performance Optimization Technology Based on the Coupling Index and Materialized View
- Storing Large Scale Semi-structured and Unstructured Data on RDBMS
- Design and implementation of e-mail monitoring system based on Linux
- Analysis and Design of the System of Tax Analysis Reporting Query