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

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

Request the full text

Abstract

This article is divided into two parts , the first part introduces the implementation of online test subsystem in a database online transaction processing evaluation system . The second section describes the working principle of the open source database MySQL 5.0.0 alpha version of the InnoDB engine query processing . The purpose of the work of these two parts are designed to meet the needs of the development of China-made database . The evaluation system of online transaction processing for domestic universal database product design , development , upgrading and improvement process of regression testing , application and promotion are essential tools . The system is designed to achieve mainly based on the TPC-C the TPC Series standard in the international general-purpose computer system performance evaluation standards , technologies from the open source testing tools dbt2 . Online transaction processing evaluation system by the ACID test , data processing , online testing , test results of four subsystems . The online test subsystem RedBase the performance is close to Oracle 7.5 conducted performance evaluation results show that the mainstream commercial database Oracle Enterprise 9i and domestic database RedBase . Analysis of open-source database MySQL InnoDB engine is the basis of accumulated database to achieve technology , to provide the necessary technical support for the development of the domestic database . InnoDB engine is one of the MySQL execution engine , it fully supports transaction processing , and supports four transaction isolation level , row lock , foreign key . InnoDB query processing query compilation , query optimization and execution engine consists of three modules . Study time in the past six months , the authors use the special source code reading tools Source Insight InnoDB query processing all the source code , and the trace debug to use VC6 specific example in the Windows environment . Has been basically clear InnoDB works and ways of working , and analysis of the formation of a large number of technical documents , accumulated to provide the necessary database for future research .

Table of contents

Online test subsystems to achieve the first part of the database online transaction processing evaluation system 8-45 Chapter 1 Introduction 9-12 1.1 Background - 10 1.1.1 TPC Organization Profile to 1.1.2 About TPC-C 9-10 10 1.2 Test status the 1.3 part WORK 10-12 Chapter 2, online transaction processing performance test principle 12-18 2.1 business model and simulation program environment 2.2 database structure relationship 12-13 the 2.3 five kinds Affairs and its brief features 13-14 2.3.1 new orders (New Order) 13 2.3.2 payment operations (Payment) 13-14 2.3.3 Order Status Query (Order-Status) 14 2.3.4 hair goods (Delivery) 14 2.3.5 inventory status inquiries (Stock-Level) 14 the 2.4 five kinds Affairs to meet the time requirements with the proportions and the isolation level 14-15 2.4.1 five kinds of transactions to meet the time requirements 14-15 2.4.2 isolation level requirements 15 2.5 TPC-C test The amount of data 15-16 2.6 ACID test 16 2.7 test network environment and test system framework Figure 16-17 2.7.1 network environment 16 2.7.2 test system framework Figure 16-17 2.8 testing process of 17-18 Chapter 3 online transaction processing evaluation system the program achieve the 18-36 3.1 Needs Analysis 18-19 3.2 ACID test subsystem 19 3.3 data processing subsystem 19 3.4 online test subsystem the 3.4.1 main program module to achieve 19-34 the 19-23 3.4.2 ODBC connection pooling module achieve nbsp the the terminal virtual user module; 23-26 3.4.3 the 26-32 3.4.4 transaction queue module 32 3.4.5 logging module to achieve 32-34 3.5 test results analysis subsystem to achieve 34-36 Chapter 4 online transaction processing performance evaluation process create 36-39 4.1 database 36 4.2 generates test data and import it into the database 36 4.3 creates an execution Affairs stored procedure 36-37 4.4 the run online test sub system test 37 4.5 to use the results of the analysis subsystem test results analysis 37-38 4.6 repeated approximation test 38-39 5 the Chapter survey results 39-44 5.1 ORACLE ENTERPRISE 91 evaluation results 39-41 5.1.1 test results reports 39-40 5.1. 2 per minute statistics of the implementation of the new order of affairs 40-41 5.1.3 new orders transaction response time 41 5.2 REDBASE 7.5 evaluation results 41-43 < br /> 5.2.1 test result reports the 41-42 5.2.2 per minute execution new orders Affairs statistics 42-43 5.2.3 new orders transaction response time 43 the 5.3 evaluation results analysis 43-44 Chapter 6 Conclusion 44-45 second part of query processing INNODB analysis 45-72 Chapter 1 Introduction 46-48 1.1 Background are found; 46 1.2 Research 46-47 1.3 This part of the work 47-48 Chapter 2 the INNODB query processing About 48-51 Chapter 3 the INNODB query processing composition 51-56 3.1 query compiler module 51-53 the 3.1.1 Lex Introduction The 51-52 3.1.2 Yacc Introduction 52-53 3.1.3 InnoDB query compiler module implementations 53 3.2 query optimization module are found; 53-54 3.3 execution engine module 54-56 3.3.1 assess sub- module 54-55 3.3.2 query thread execution sub-module nbsp the; 55-56 Chapter 4 main data structure of the the INNODB query processing 56-58 4.1 symbol node 56 4.2 global symbol table 56-57 4.3 FORK node 57 the 4.4 Query threads node 57 -58 Chapter 5, an example of query processing 58-71 5.1 examples illustrate 58 5.2 example of the implementation process 58-59 5.3 Example To execute SQL statements 59 5.4 the lexical syntax analysis 59-64 5.4.1 create the first table analysis process 60 - 61 5.4.2 create the fourth index analysis process to create 61-62 5.4.3 commit statement 62 5.4.4 stored procedure created 62-64 5.5 query graph execution 64-71 5.5.1 to create the first table of the implementation process 65-67 5.5. 2 Create the implementation process of the fourth index 67-68 5.5.3 sample the rest of execution the 68-69 5.5.4 statement linked list execution 69-71 Chapter 6 Conclusion 71-72 Reference 72-74 summary for 74-77 ABSTRACT 77-80 Acknowledgements 80-81 the tutors Author nbsp a; 81

Related dissertations

  1. The Implementation of ACID Testing Subsystem for Database Transaction Processing Performance Test and the Analysis of InnoDB Transaction Processing
    ZhaoKe ·Jilin University ·2005 ·Master's thesis
  2. The Development and Application of TPC-C Testing Toolkits
    YuTingYang ·Tsinghua University ·2005 ·Master's thesis
  3. The Implementation of Performance Testing Subsystem for Electronic Commerce Performance Test and the Analysis of InnoDB Lock
    ChenZuo ·Jilin University ·2005 ·Master's thesis
  4. 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
  5. XQuery Query Processor Design and Implementation
  6. Design and Implementation of Huishang Bank’s Fund Distribution Automatic Invest Account System
    MaChao ·Dalian University of Technology ·2013 ·Master's thesis
  7. Design and Implementation of the Core System Performance Testing in a Commercial Bank
    ZouZuo ·Jilin University ·2013 ·Master's thesis
  8. Research on Performance Analysis and Measurement Technology for Flexible Gyroscope
    WangJia ·Tianjin University ·2012 ·Master's thesis
  9. Research and Implementation of the AAA Module in IPTV Platform
    LiaoYun ·WRI ·2012 ·Master's thesis
  10. Research on Spatio-temporal Query Processing Techniques in Wireless Sensor Networks
  11. The Research and Design of Private Network Intelligent Managent System
  12. The Testing System of Solar Cell Based on Bluetooth Transmission
  13. Research on the Mix Proportion Design and Construction Technology of Fiber-reinforced Asphalt Chip in Hot and Humid Area of Southern China
    AiZuoShu ·Chang'an University ·2013 ·Master's thesis
  14. Structural Optimization and Signal Detection of MEMS Gyroscope Used in Rotating Bombs
    WangYu ·University of North ·2014 ·Master's thesis
  15. Circuit Design and Realization of High Definition Color CCD Digital Camera
  16. Theoretical Analysis and Experimental Research on the Rollingmill Hgcsystem
    JiangXiangDong ·Shanghai Jiaotong University ·2013 ·Master's thesis
  17. Study on PCL-based Eco-friendly Plasticizer
    WangBo ·Taiyuan University of Technology ·2013 ·Master's thesis
  18. Properties Study and Preparation of Organic Silicon Buffer Clay
    DongYuRong ·University of Jinan ·2013 ·Master's thesis
  19. GP3130R3Gyro Total Station Performance Testing and Data Processing
    ZhaoShiHeng ·Liaoning Technical University ·2013 ·Master's thesis
  20. A Testing on the OAO on the Performance of Hong Kong Stock Issued
    JingYing ·Liaoning University ·2013 ·Master's thesis