Research and Implementation of Column-Store in DWMS
- Author
- PengQingSong
- Advisor
- DingXiangWu
- School
- Donghua University
- Major
- Computer Software and Theory
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 93
- Citations
- 1
Abstract
As an analytical data warehouse data environment, more and more people's attention. Data warehouse and operational database environment phase separation. Relative to the operational environment, the analysis is based on data query speed environment of a higher requirement. Relative to the line of storage, the column is stored in the read priority analytical environment has obvious advantages. To this end more than a year before the start of the laboratory where the column-based storage of data warehouse management system development work. This combined with the actual development of the project to study the database and data warehouse data storage technology, the existing relational database management systems and data warehouse management system-related technologies, especially out storage technology, design and implementation of column stores the data warehouse storage structure and management functions, including external storage and caching. In the cache management is proposed based on adaptive management chain double page replacement algorithm - HA algorithm (Hybrid Adaptive Algorithm). First, we study the traditional RDBMS and row stores DWMS data storage, a more detailed study of the rows and columns of memory storage DB implementation, analysis and summary of two special open-source database PostgreSQL and C-Store data storage technology. Analysis of the existing relational database is stored, based on the data stored in column-based data storage warehouse conducted in-depth research, the outline of the DWMS designed in column stores the overall structure and function module, described in detail in the document management DWMS device, buffer manager and access methods to manage the three-part design and implementation. DWMS Data storage is divided into two areas: the logical hierarchy and the physical hierarchy. File Manager uses hierarchical management ideas will be divided into an operating system file management, virtual file management and file management DWMS three parts. Virtual File Manager out of file handles using LRU algorithm, hash algorithm to find the file. Buffer Manager is the core of the entire system and data flow hub. In this paper, a common buffer management algorithm is proposed based on the dual management chain based adaptive page replacement algorithm - HA algorithm, which is a DMC (2c) algorithm, which introduces the dynamic displacement points, while determined based on the number of page faults fail algorithm works chains and page access sequence according to local feature selection more efficient page replacement policy. Experimental results show that the algorithm is improved compared to previous page rate can be reduced nearly 30%. B-tree index access method is an important index managed way. This paper describes the structure of the index, create, find and update operations. Finally, this paper analyzes the performance of the storage manager DWMS and made it cost evaluation model. Assessment in conjunction with the consideration of the specific model and system implementation, from the perspective of data storage optimization presents two aspects: storage structure optimization and data buffer management optimization. Specific optimization methods are: the ROWID data items stored in the data block header information, save storage space; stolen block set operation is included in the block management, to avoid loss of data; area contained within the segment information is saved in segment control block, the data segment is conducive to scan; hash chain is doubly linked list structure, saves the hash lookup time and ease of update operations; the data buffer status is set to reduce the bulk data import data buffer management costs.
Table of contents
Abstract 5-7
Abstract 7-13
Chapter 1 Introduction 13-18
1.1 Background and Significance 13 - 15
1.2 research status 15-16
1.3 research content 16-17
1.4 The paper is organized 17-18 < br /> Chapter 2 relational database storage research 18-34
2.1 Physical Storage Overview 18-21
2.1.1 Memory Hierarchy 18-20 < br /> 2.1.2 disk structure and characteristics of 20-21
2.2 traditional RDBMS data storage 21-23
2.2.1 traditional RDBMS Storage Manager Overview 21-22
2.2.2 line store concept 22
2.2.3 rows stored data organization 22-23
2.3 Overview nbsp row storage DWMS ; 23-26
2.3.1 DWMS concept 23-24
2.3.2 DWMS structure 24-26
2.4 column storage technology 26-30
2.4.1 column storage concept 26
2.4.2 column storage implementations 26-28
2.4.3 column stores with line store comparison 28-30
2.5 PostgreSQL data storage 30-32
2.6 C-Store data storage 32-33
2.7 Chapter Summary 33-34
listed in Chapter 3 DWMS store design 34-76
3.1 DWMS in column stores the overall design 34-42
3.1.1 DWMS comparison with the DBMS storage 34-36
3.1.2 DWMS in column stores the overall structure 36-39
3.1.3 DWMS column storage capabilities module 39-42
3.2 DWMS data storage hierarchy 42-54
3.2.1 memory hierarchy 42-44
3.2.2 Block 44-50
3.2.3 District 50-51
3.2.4 paragraph 51-52
3.2.5 File 52 -53
3.2.6 file group 53-54
3.3 File Manager is designed 54-57
3.3.1 table or index with file mapping 55
3.3.2 operating system file management 55-56
3.3.3 Virtual File Manager 56
3.3.4 DWMS document management 56-57
3.4 buffer manager designed 57-68
3.4.1 Buffer management approach 57-58
3.4.2 Buffer Manager management structure 58-62
3.4.3 Buffer Manager Interface Design 62-63
3.4.4 Improved adaptive page replacement algorithm 63-66
3.4.5 Experimental results and conclusions 66-68
3.5 B-tree index is designed 68-75
3.5.1 B tree Index Structure 68-69
3.5.2 B-tree index creation 69-72
3.5.3 B-tree index lookup 72-74
3.5.4 B-tree index update 74-75
3.7 Chapter Summary 75-76
Chapter 4 DWMS in column stores the realization 76 - 89
4.1 file manager implementation 76-80
4.1.1 operating system file management 76-77
4.1.2 Virtual File Manager 77-78
4.1.3 Dynamic Document Management 78-79
4.1.4 DWMS document management 79-80
4.2 buffer manager implementation 80-84
4.2.1 blocks transferred 80-81
4.2.2 allocate a new block 81-82
4.2.3 hash lookup 82-83
4.2.4 data dictionary object oriented 83-84
4.3 B-tree index implementation 84-88
4.3.1 Fixed-length single B-tree construction 84
4.3.2 B tree search 84-87
4.3.3 B tree lookup subsequent processing 87
4.3.4 B-tree index data update 87-88
4.4 Summary 88-89
Chapter 5 DWMS in column storage optimization studies 89-94
5.1 Storage Manager cost evaluation model 89-90
5.2 storage structure optimization 90-92
5.2.1 Data Block Structure 90-91
5.2.2 dirty block settings 91
5.2.3 Segment Management 91-92
5.3 data buffer management optimization 92-93
5.3.1 data buffer hash chain structure 92
5.3.2 data buffer write control 92-93
5.4 of this chapter Summary 93-94
Chapter 6 Summary and Outlook 94-96
6.1 Summary 94-95
6.2 Prospects 95 - 96
References 96-99
During the research study for a degree directory 99-100
Thanks 100
Related dissertations
- Research and Implementation of Relevant Technology in Colleges and Universities Teaching Administration System
- Research on Power Optimization of Cache Architecture Design
- Research of Image Data Caching and Processing in Monitoring System
- Design and Implement of Agricultural Resource Management System in Fangshan District
- Design and Verification of DSP Data Cache
- Data Cache Research Based on Base Address Register Mapping
- A Study of Router-based Distributed Storage Technology
- The Research of Distributed Cache System Based on Cloud Computing
- Research on Some Key Technologies for Column-stores
- The Research on Distributed Virtual Geographical Information System
- Architectural Level Leakage Power Optimization for Cache Memory in Microprocessors
- Design of the Data Cache SRAMS
- The Research and Application of Data Preprocessing in XML Data Warehouse
- Research on Simulation and Performance Evaluation of Data Communication Based Network Architecture
- Caching Techniques in Mobile Real-time Computing Environments
- Web-OLAP System Based on Object Pool and Data Cache Technique
- The Design and Implementation of PDA Wireless Communication
- Cache design of 32-bit embedded processor
- Design and Realization of Target Image Database
- Study on Local Design Optimization of High Performance DSP’s On-Chip Storage System