Study of the Performance Optimization of E-Commerce Database on Flash Hybrid Storage
- Author
- DuMing
- Advisor
- LeJiaJin
- School
- Donghua University
- Major
- Management Science and Engineering
- Classification
- TP311.13 Database theory and systems
- Degree
- Doctoral dissertation
- Year
- 2013
- Downloads
- 173
- Citations
- 0
- E-commerce database
- Flash database
- hybrid storage system
- differentiated storage model
- Performance optimization of database
Abstract
The current development trend of e-commerce is in full swing. The increasing scale of e-commerce transactions result in a massive e-commerce data, witch makes the performance improvement of e-commerce database to read and write, update and query more and more difficult. The main solutions have been close to the limit of the performance optimization of database systems. However, flash storage technology development to bring new opportunities to solve the above problem. The I/O performance of flash is100times over disks, which is a way to break through the above bottleneck. This thesis intends to start from the underlying storage technology research, taking into account the upper software algorithms to enhance the performance of e-commerce database running in the massive data environment.The study found that the speed of sequential read and write, random read of flash chip is much faster than the disk, but the random write and update performance of flash are lower than disks, and the price of flash chip is much higher. So, this thesis proposes to use a hybrid storage system of flash and disk. Witch comprehensively utilizes of the advantages of both, and also takes into account the cost of equipment prices. But there is no system study on database deployment scheme based on hybrid storage systems. This thesis explores the performance optimization of e-commerce database based on hybrid storage system. The research results enrich the content of existing e-commerce database, and based on the development of e-commerce enterprises run by the e-commerce database. And the research has important practical significance for the development of e-commerce businesses based on the e-commerce database.The main contents of the thesis consist of following four aspects:(1) To build differentiated storage model based on hybrid storage system.From the point of view of e-commerce enterprise applications, the thesis creates differentiated storage model from two levels of data tables and data attributes, designes the threshold algorithm to determine the reading and writing sensitivity and hot or cold characteristic for table and attribute, realizes the analysis the reading and writing sensitivity and hot or cold characteristic for table and attribute and proposes migration storage solutions.(2) The study of query performance optimization of the differentiated storage model on the hybrid storage systems.Using e-commerce platform, consumers need to execute a large number of database query operations. To ensure and improve the e-commerce database query performance is essential to ensure the operational quality of the e-commerce businesses. Firstly, the thesis designed to study the HS-Join algorithm, used to improve the join query performance of the multi-table stored in different storage media which storage unit is table. Secondly, the thesis design to study the PHS-Join algorithm to establish a child connection table on flash and then reconstruct to generate the overall connection table based on the child table. The experiments show that the HS-Join and PHS-Join algorithm can significantly improve database query performance.(3) The study of transaction processing performance optimization of the differentiated storage model on the hybrid storage systems.The performance of e-commerce database transaction processing is an important technical foundation for e-commerce enterprises to improve their ability to respond, to maintain more number of consumers, and to meet the individual needs of each consumer at the same time. Taking Oracle database as an example, the thesis firstly analyzes the reading and writing sensitivity and hot or cold characteristic for the data of temporary table and log file, and migrate these two types of file to the flash device. Secondly, based on the rapid growth of the log file, when the flash lack for space, the thesis proposes Dynamic Logging method, logging dispersed stored in the flash space. The experiments show that the management method can significantly improve the performance of transaction concurrency of the e-commerce database.(4) The study of performance optimization of the data warehouse on the differentiated storage model on the hybrid storage systems.Optimize the query analysis performance of e-commerce data warehouse is the important technical foundation for e-commerce business to make businesses decisions more quickly and accurately. The thesis proposes the column migration storage algorithm on using column storage solution, which improved query efficiency of the decision-making attribute data. In addition, this thesis presents the hybrid storage of row and column method to reduce connection cost by solidifying associated attributes in advance. Finally, this thesis proposes differentiated data compression scheme, witch not only protects the data query efficiency, but also takes effectively use of the disk space.The innovative points and the main contributions of this paper are:(1) Considering from the economic feasibility and technical feasibility of the e-commerce enterprises, the thesis proposed to use hybrid storage system of flash and disk for the e-commerce database and build differentiated storage model from the data table and attribute granularity level, which is not only conducive to achieve the application of e-commerce businesses, but also to meet the response speed requirements by the user.(2) The thesis proposed the HS-Join circulation algorithm and PHS-Join algorithm suitable for query join of large-scale e-commerce database, which takes full advantage of the random read performance of flash, improves the query performance of the system。 Through reasonable deployment of the database file in a hybrid storage system, the study greatly improves the performance of concurrent transaction processing of the database and enhanced the business processing capabilities of the e-commerce business, and makes it possible that e-commerce enterprises quickly and easily applying the flash device and directly using of existed disk-based database management systems.(3) The thesis proposes to use hybrid storage technology of row and column for performance optimization of the e-commerce data warehouse, to solidify associated attributes of high connection frequency in advance, which improves the speed and efficiency of the decision-making analysis. Additionally, utilization differentiated data compression scheme according on hybrid storage model. The compression scheme not only improves the storage efficiency of two types of storage devices, but also to ensure the query speed of data warehouse.
Table of contents
Summary 5-7
Abstract 7-10
directory 10-13
first chapter 13-42 <br / > 1.1 Background and questions raised difference 13-21
1.1.1 e-commerce services and traditional business services 13-14
1.1.2 E-commerce challenges facing businesses 14-16
1.1.3 storage technology to e-commerce application development opportunities brought proposed 16-18
1.1.4 issues and research significance 18 - 21
1.2 Research Status and Review 21-34
1.3 research 34-37
1.4 experimental Methods 37-40
1.5 the main innovation 40-41
1.6 full text structure arrangement 41-42
difference hybrid storage model Chapter II storage system to build e-commerce 42-67
2.1 Introduction 42-43
2.2 e-commerce structure and performance analysis of hybrid storage systems 43-52
2.2.1 E-commerce hybrid storage system architecture analysis 44-46
2.2.2 E-commerce hybrid storage system performance analysis 46-52
difference 2.3 e-commerce store model to build hybrid storage systems 52-60
construction principle 2.3.1 DST difference storage model 53-54
2.3.2 TDST difference storage model construction 54-57
2.3.3 ADST difference storage model build 57-60
2.4 experimental evaluation 60-65
performance test nbsp 2.4.1 TDST model ; 60-64
2.4.2 ADST model performance test 64-65
2.5 Summary 65-67
Chapter III of e-commerce database query performance optimization 67-80
3.1 Introduction 67-68
3.2 related research 68-69
3.3 e-commerce query performance optimization hybrid storage systems 69-74
3.3.1 based HS-Join algorithm TDST model 69-71
3.3.2 based on PHS-Join algorithm TDST model 71-73
3.3.3 HS-Join algorithm ADST model applications 73-74
3.4 experimental evaluation 74-78
3.4.1 HS-Join query algorithm performance test 74-75
3.4 .2 PHS-Join query algorithm performance test 75-78
3.5 Summary 78-80
Chapter IV of e-commerce transaction processing database performance optimization 80 - 104
4.1 Introduction 80-81
4.2 related research 81-85
4.2.1 of Flash -based FTL transaction recovery 81-82 <br 4.3 based on DST 84-85
; /> 4.2.2 transaction recovery method based on separation log 82-84
4.2.3 IBM DB2 SSDs low latency storage solutions strategy nbsp the deployment of e-commerce solutions research database 85-96
4.3.1 OLTP system architecture based TDST of 86-87
4.3.2 based TDST temporary table space management 87-90
4.3.3 TDST based log management 90-92
4.3.4 Dynamic Logging dynamic logging methods 92-95
4.3.5 ADST -based thermal data management 95-96
4.4 experimental evaluation 96-102
4.4.1 TDST temporary table space -based experiments 96-98 <br / > 4.4.2 TDST log management experiment 98-101
4.4.3 Dynamic Logging dynamic log experiment 101-102
4.5 Summary 102 - Chapter 104
e-commerce data warehouse performance optimization 104-129
5.1 Introduction 104-105
5.2 related research 105-107 <br / > Performance 5.3 e-commerce store data warehouse optimization 107-119
5.3.1 ADST column based storage migration algorithm 108-110
5.3.2 based ADST ranks hybrid storage method 110-114
5.3.3 compression method based on the difference ADST 114-117
5.3.4 the CS-SubJoin ADST -based query optimization algorithms 117-119
5.4 experimental evaluation 119-127
5.4.1 ADST column based storage migration algorithm performance test 119-122
5.4.2 experimental ranks based hybrid storage method ADST 122-124
5.4.3 compression method based on the difference ADST experiment 124-125
5.4.4 ADST -based algorithm for CS-SubJoin performance test 125-127
5.5 summary 127-129
Chapter VI Conclusion and Outlook 129-134
6.1 This work summarizes 129-132
6.2 future Work Prospects 132-134
References 134-146
Appendix TPC-C test standards -based transaction execution participate during 146-155
Ph.D. study research published and hiring period 155-156
Ph.D. study papers 156-158
Thanks 158
Related dissertations
- Design and Implementation of a File System Called Trinityfs for a Hybrid Storage Device
- Research on Implementation and Optimization of Flashcache
- Design and Implementation of Hybrid Storage Scheme Based on Flashcache
- The Research and Implementation of Adaptive Storage Strategy in Hybrid Storage System
- Energy-Efficient Join Algorithms in Multi-Memory Hierarchies
- Implementation of Storage Management Strategy for Hybrid System Based on PCRAM
- Design and Implementation of Hybrid Storage Systems for Key-Value Database
- Research on Several Issues about Microgrid Generntion Technology