The Implementation of Data Processing Subsystem for Database Online Transaction Processing Performance Test and the Analysis of InnoDB Recovery Management
- Author
- LiHui
- Advisor
- CuiWeiLi
- School
- Jilin University
- Major
- Applied Computer Technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 102
- Citations
- 0
Abstract
Product development in the domestic database upgrades , regression testing and application promotion process , database performance evaluation system is essential . The analysis of the implementation of the open-source database technology , you can complete the transition from the database theory to practice , to lay a solid foundation for the domestic development of the database design . This article is divided into two parts, the first part of the implementation of online transaction processing data processing subsystem of the evaluation system ; second part describes the working principle of the recovery of the open source database MySQL InnoDB engine management system . Online transaction processing evaluation system is mainly used for testing complex operating environments of online transaction processing database system performance . Its design and implementation is mainly based on the the international universal computer system performance test TPC series standard TPC-C standard . The system can be stable running on the Windows platform , test support mainstream commercial database products Oracle Enterprise 9i and the domestic database products Nanda General RedBase , 7.5 . The author is responsible for the data processing subsystem implementation . This paper describes the concrete realization of online transaction processing performance testing , test database model implementation, test data generation and data loading . InnoDB engine is technically a full database system on MySQL backend . Of special source code reading tools Source Insight analysis of all the source code of the the InnoDB Recovery Manager section , and to trace debug VC6 specific example used in the Windows environment . Will introduces InnoDB recovery management system works and implementation mechanisms . The InnoDB Recovery Manager parts of the system to achieve state-of-the-art ARIES recovery algorithm , higher efficiency , but from media failure , catastrophic failure recovery by the MySQL database program . From the system point of view , the technology is a bit thin .
Table of contents
The realization of the first part of the database online transaction processing evaluation system in data processing subsystem 8-43
Chapter 1 Introduction 9-11
1.1 Background 9 < br /> 1.2 Online Transaction Processing Performance Test Status nbsp 9-10
1.3 in this work; 10-11
Chapter 2 online transaction processing evaluation system principle 11 - 19
System 2.1 Overview 11
2.2 system consisting 11-13
2.2.1 ACID test subsystem 12
2.2.2 data processing subsystem 12
2.2.3 online test subsystem 12
2.2.4 results analysis subsystem 12-13
2.3 Test System framework map 13
2.4 testing process 13-14
2.5 data generation principle 14-19
2.5.1 Business model and simulation program 14-15
2.5.2 database structure relationship; nbsp 15-16
of 2.5.3 the five Affairs and its brief features 16-17
2.5.4 TPC-C test data volume 17-19
Chapter 3 data processing subsystem implementation 19-42
3.1 demand analysis 20 < br /> 3.2 create a database 20
3.3 create table 20-21
3.4 data generated 21-32
the 3.4.1 data generation program parameter setting 21
3.4.2 generated sample data 21-22
3.4.3 data generated implementation 22-23
3.4.4 test database table specification [12] 23-32
3.5 data loading 32-41
3.5.1 loading tool loading method 32
3.5 .2 ODBC loading method 32-40
3.5.3 Test Results: The loading method comparison 40-41
3.6 to create an index 41 <br / > 3.7 to create a stored procedure 41-42
Chapter 4 Conclusion 42-43
second part of the the InnoDB Recovery Manager analysis 43-82
first 1 Introduction 44-46
1.1 Research Background 44
1.2 database Research <br 44-45 /> In this paper, 1.3 45-46
Chapter 2 INNODB engine 46-48
2.1 MYSQL database 46
2.2 MySQL database data engine 46-47 < br /> 2.3 InnoDB data engine 47-48
Chapter 3 the InnoDB Recovery Manager System Overview 48-54
3.1 InnoDB recovery management system; nbsp 48-51 < br /> 3.1.1 InnoDB recovery management system features the InnoDB 3.1.2 48-49
recovery management system source code statistics 49
3.1.3 InnoDB recovery management system building blocks 49-51
3.2 InnoDB log settings 51-54
3.2.1 InnoDB log enabled 51
3.2.2 InnoDB log the structure of the record 51-52
3.2.3 Overview of Aries algorithm 52-54
Chapter 4 mini Affairs Overview 54-57
4.1 micro- Affairs introduced 54
4.2 micro-transaction structure 54-56
4.2.1 mtr_struct structure 54-55
4.2.2 latch 55-56
4.3 start timing of the micro-transaction 56-57
Chapter 5 log-structured 57-63
5.1 InnoDB log parameters set 58-59 the
log 5.2 The group 59-60
5.3 log file structure 60-61
5.4 log block structure 61-63
Chapter 6 log create and restore the 63-71
6.1 log The initialization 63
6.2 log The buffer free space check 63-64 <br / > 6.2.1 free space check the work done nbsp 63-64
6.2.2 running log buffer free space check timing; 64
6.3 log write disk 64-67
6.3.1 log write disk 65-66
6.3.2 log disk write time is 66
6.3.3 write to disk and refresh the timing of the disk buffer 66-67
6.4 checkpoint nbsp 67-69
6.4.1 checkpoint structure; 67-68
6.4.2 the checkpoint create 68-69
6.4.3 create a checkpoint timing 69
6.5 recovery 69-71
Chapter 7 Conclusion 71-72
References 72-74
Summary 74-77 the
ABSTRACT 77-81
Acknowledgements to 81-82 the
mentor and of introduction 82
Related dissertations
- The Implementation of Online Testing Subsystem for Database Transaction Processing Performance Test and the Analysis of InnoDB Query Processing
- The Implementation of ACID Testing Subsystem for Database Transaction Processing Performance Test and the Analysis of InnoDB Transaction Processing
- Research of Emulsion Pump Performance Test System
- Research and Design of Intelligent Prosthetic Knee Ankle Coordinated Control System
- Research on Paramenters Identification and Experimental Platform of Large-scale Space Manipulator Joints
- Design and Implementation of Website Security Protection System
- Research on Performance Testing of IPv6Transition Technology
- Analysis and Research of the Key Test Technologies of the Ultra-high Frequency Radio Frequency Identification Systems
- Design and Implementation of Huishang Bank’s Fund Distribution Automatic Invest Account System
- Numerical Calculation Model and Simulation Optimization of a Effective Speece Cone for Recirculating Aquaculture System
- Research of2BQ-12Airflow First-order Centralized Metering Seeder
- Study on the Key Technology of the Shanghai Nanhui Flexible HVDC Demonstration Project
- Research of HTS Cable Termination Prefabricated Stress Cone
- Design and Study on Furnace and Grate of4t/h Biomass Briquette Mechanical Boiler
- Design and Research on Thermal Impact Test Facility for Nuclear ClassⅡ Pumps
- Study on the Performance and Microstructure of Carbon Fiber Enhanced Viscosity Time-varying Pulp Material
- Safety Technical Requirement and Performance Detecting Research for City Bus
- CNG Engine and Vehicle Performance Development Research
- Thermalperformance of Automotive Seatingfabrics and Integration Finishing of Flame-Retardant and Light Fastness
- Design of Gear Compressor Commissioning Set Control System