The Implementation of ACID Testing Subsystem for Database Transaction Processing Performance Test and the Analysis of InnoDB Transaction Processing

Author
ZhaoKe
Advisor
CuiWeiLi
School
Jilin University
Major
Computer System Architecture
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2005
Downloads
98
Citations
1

Request the full text

Abstract

The development and promotion of independent intellectual property rights of the database management system is the direction of the national information technology development , the domestic database products have a pressing defense and e-government applications demand . The in domestic database product development process , a complete set of practical general-purpose database performance evaluation tool for the entire product design , development , upgrading and improvements have important significance for regression testing , application and promotion . And the analysis of the existing open-source database , can we grasp the architecture of the database management system to provide effective help and the application of mature database theory , and can provide a reference for the development of the database . Database online transaction processing performance evaluation system the ACID test part of the analysis , and transaction processing system MySQL5.0 alpha engine InnoDB 4.01 . The database online transaction processing performance testing is mainly based on the the international generic computer system performance evaluation TPC series standard TPC-C standard . The standard gives the evaluation criteria of the ACID properties database database online transaction processing performance evaluation , the current for the characteristics of the open-source testing tools . This article , based on the evaluation criteria , designed and implemented a database online transaction processing performance evaluation system ACID test tool and use the tool the RedBase7.5 and Oracle9i ACID test part of online transaction processing performance testing . The MySQL5.0 alpha InnoDB 4.01 engine transaction processing system source code are mainly located in the \\ mysql \\ innobase \\ trx folder of 19 c file , about 1.5 million lines of code . The main content of this part of the transaction processing system architecture , file space after the management of the affairs and undo logging mode and transaction recovery mechanism . A more detailed analysis of these three parts , and summed up the lessons of this three-part realization .

Table of contents

ACID subsystem to achieve in the first part of the database online transaction processing evaluation system 9-31 Chapter 1 Introduction 10-12 1.1 Background 1.2 Overview of Working Group 10 1.3 This work 10-12 Chapter 2, background knowledge 12-16 2.1 online transaction processing performance test 12-13 2.2 ACID test 13-16 1.1.1 atomic 14 1.1.2 consistency 14 1.1.3 Isolation a persistent 14-15 1.1.4 15-16 Chapter 3 test tool needs analysis 16-19 3.1 atomic test 16 3.2 Conformance Test 16-17 3.3 Isolation test 17-18 3.4 persistence test 18-19 Chapter 4 test tools designed 19-27 4.1 test tool structure 19 4.2 atomic test 19-20 4.3 Conformance Test 20-23 4.3.1 consistent state 20 4.3.2 consistency status 20 4.3.3 consistent state 3 20 4.3.4 consistency status 20-21 4.3.5 consistency status 21 4.3.6 consistent state 6 21 4.3.7 consistent state 21 4.3.8 consistent state 21-22 4.3.9 consistent state 9 22 4.3.10 consistent state 10 22 4.3.11 consistent state 22-23 the the 4.3.12 consistency state 12 23 4.4 isolation test 23-26 4.4.1 Isolation Test 23 <br / > 4.4.2 isolation test 23-24 4.4.3 Isolation Test 3 24 4.4.4 Isolation Test 4 24 <br / > 4.4.5 Isolation Test 5 24 4.4.6 Isolation Test 24 4.4.7 Isolation Test 7 24-25 <br / > 4.4.8 isolation test 25-26 4.4.9 Isolation Test 26 4.5 persistence test 26-27 Chapter 5 Assessment Results 27-30 5.1 atomic test 27 5.2 Conformance Test 27 5.3 isolation test 27-29 5.4 persistence test 29-30 of 6th Conclusion 30-31 The second part of the the INNODB transaction analysis 31 - 61 Chapter 1 Introduction 32-33 1.1 Background 32 1.2 This work 32-33 Chapter 2 INNODB The structure of the transaction processing system 33-42 2.1 Overview 33-34 2.2 the structure of the transaction system 34-35 2.2.1 transactional systems file structure 34 2.2.2 Service system memory structure the 2.3 rollback segments 34-35 structures 35-37 2.3. a rollback file structure 36 2.3.2 rollback segment memory structure 36-37 2.4 UNDO segment structure 37-42 2.4.1 undo segments file structure the 37-38 2.4.2 the undo segment memory structures 38-39 2.4.3 undo logging structure 39-42 Chapter 3 the INNODB transaction processing system to achieve 42-52 3.1 Overview 42 3.2 Affairs 42-44 < br /> 3.2.1 Create Affairs the 42-43 3.2.2 start Affairs 43 the 3.2.3 end nbsp Affairs; 43 3.2.4 release Affairs 43-44 3.3 signal 44-46 the 3.3.1 signal type and structure 44-45 3.3.2 signal Send 45-46 3.3.3 signal processing 46 3.3.4 signals reply 46 3.3.5 signal delete 46 3.4 INNODB the UNDO segment of Management 46-52 3.4.1 Overview 46-47 3.4.2 Use the undo log segment growth 47 3.4.3 the undo segments reuse undo log segment 47-48 3.4.4 release 48-49 3.4.5 Use the undo, redo log the 49-50 3.4.6 rollback pointer rolled back 50 3.4.7 How to take the log records are found; 50-52 4th Chapter INNODB the file space recycling the 52-60 4.1 Overview 52 4.2 the PURGE SYS 52-54 growth of 4.3 history linked lists 54 of 4.4 the PURGE execution 54-55 4.4.1 do not need to the purge log record 54-55 4.4.2 physically remove a 55 4.5 the PURGE how log records are found; 55-58 4.5.1 Select a purge logging 56-57 4.5.2 take the next purge Logging 57-58 4.6 Clear history linked list 58-60 4.6.1 Clear timing 58-59 4.6 nbsp .2 removal process; 59 4.6.3 Clear history linked list example 59-60 Chapter 5 Conclusion 60-61 Reference 61-63 Summary 63-66 ABSTRACT 66-69 Acknowledgements 69-70 the tutor and author 70

Related dissertations

  1. The Implementation of Online Testing Subsystem for Database Transaction Processing Performance Test and the Analysis of InnoDB Query Processing
    LiMing ·Jilin University ·2005 ·Master's thesis
  2. The Implementation of Data Processing Subsystem for Database Online Transaction Processing Performance Test and the Analysis of InnoDB Recovery Management
    LiHui ·Jilin University ·2005 ·Master's thesis
  3. Design and Implementation of Scientific Research Data Importing Module
  4. Research on Transaction Processing in Broadcast Environment
  5. Design and Implementation of Guoxin Gold Transaction Information Management System
    LiXiaoMin ·Dalian University of Technology ·2013 ·Master's thesis
  6. The Design and Implementation of Future Business Management-Aid System
    YeLiang ·Dalian University of Technology ·2013 ·Master's thesis
  7. The Design and Implementation of Baotou Commercial Bank International Business Management System
    PanTianMing ·Dalian University of Technology ·2013 ·Master's thesis
  8. Design and Implementation of Huishang Bank’s Fund Distribution Automatic Invest Account System
    MaChao ·Dalian University of Technology ·2013 ·Master's thesis
  9. Analysis and design of management system of students' comprehensive quality evaluation based on WEB
    ZhengXiaoLi ·Yunnan University ·2012 ·Master's thesis
  10. Research on Web Service Worklfow Transaction Model
  11. Research on Key Technologies of Mobile Database Systems
    DingZhiMing ·Institute of Computing Technology ·2002 ·Doctoral dissertation
  12. Algorithm Study on Short Time Series Mining
    LuoKeDong ·Tsinghua University ·2004 ·Doctoral dissertation
  13. Memory Optimization on Chip Multi-core Processors
  14. Design and Implementation of Debit Card Service System
  15. Design and Realization of Personal Financing Plan Analysis System
    LiuWeiHeng ·Jilin University ·2007 ·Master's thesis
  16. The Design and Implementation of TPC-C Benchmark on Kylin
  17. Design and Realize E-government Workflow System Based on J2EE
  18. Research and Implementing of Middleware Supporting Reliable Composition of Web Service
    ChuBin ·Shanghai Jiaotong University ·2008 ·Master's thesis
  19. The Research and Design of Real Time Database Based on OPC
    ZhaoWenJie ·Taiyuan University of Technology ·2007 ·Master's thesis
  20. Design and Realization of Medical Multimedia On-line Test System