Research on the Integrated Testing Method of DBMS Locking Mechanism

Author
TanLinTao
Advisor
XieXiaoDong
School
Huazhong University of Science and Technology
Major
Computer Software and Theory
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2011
Downloads
22
Citations
0

Request the full text

Abstract

Database manage system (DBMS) plays key role in most huge application systems. The correctness and reliability of DBMS is the most important factor for those application systems running stably. Locking mechanism is an important part of DBMS, which supports the DBMS to process transactions concurrently, whose correctness and reliability would affect DBMS deeply. Thus, it is necessary to study integrated testing method of locking mechanism.The modules of locking mechanism couple other modules tightly. There are so many function-callings between them that it is hard to depart them. More ever, locking table, the key data structure of locking mechanism is very complex, there is concurrently processing in locking mechanism and the state of locking table is keeping changing when whole system is running. All of those things make it a hard work to hold a integrated testing on locking mechanism.A new integrated testing of locking mechanism is presented in this paper, which is based on the analysis of source code of a DBMS. The detail of the data structure, function list and the calling relationship with other modules are obtained. According to those information, the module of locking mechanism is departed from whole system. The stable fuctions are programmed to simulate some functions, which are called by functions in locking mechanism. Thus, the integrated testing won’t be affected by the faults outside locking mechanism.Three kinds of test methods are applied to generate testing sequences, which include random testing method, prefix-based testing method and state machine based testing method. When random testing method is used, the“smoking testing”method should be used to verify the testing results. The prefix-based testing method generates a function calling sequence, which would make locking table transform to a certain state. According to the state, the sequences are generated based on the sensitive operators. Those sequences are executed and the states of locking table is monitored to aware whether the testing results are correct. Besides, the finite state machines can be drawn from the properties of locking mechanism, based on which the test cases can be generated. A semi-automatic testing framework is implemented, which uses all above methods. The experiment is hold and the result shows all those methods really work.

Table of contents

Abstract 4-5 Abstract 5-9 1 Introduction 9-14 1.1 research background and significance 9-10 < br /> 1.2 research status 10-12 1.3 research 12 1.4 papers organizational structure 12-14 2 database Management system lock mechanism 14-20 2.1 Introduction locking mechanism 14 2.2 lock manager module Introduction 14-16 2.3 lock Manager the core data structure 16-19 2.4 Summary 19-20 3 locking mechanism function module separation and integration 20-29 3.1 test object separation 20-25 3.2 test scenarios to achieve 25-27 3.3 chapter Summary 27-29 4 test case generation 29-49 4.1 test model design 29-32 4.2 smoke testing method based on random 32-36 4.3 prefix based on the same sequence test 36-41 4.4 state machine model based test 41-47 4.5 chapter Summary 47-49 5 test Framework design and Implementation 49-62 5.1 overall system architecture 49-59 5.2 experimental 59-61 5.3 chapter Summary 61-62 < br /> 6 Summary and Outlook 62-64 6.1 paper summarizes 62 6.2 job Outlook 62-64 Thanks 64 -65 References 65-68

Related dissertations

  1. The User Database Resource Management System Based on WEB Design and Implementation
  2. Design and Implementation for Run Jincheng Industry Co., Ltd. Human Resources Information Management System
  3. The Information Management System of Moral Education in Secondary Vocational Schools
  4. Design and Optimization of the LCD Monitor Mounts
    LiuWenBin ·South China University of Technology ·2013 ·Master's thesis
  5. Design of automatic test system for metro vehicle electrical control cabinet system
  6. The Design and Optimization Research About Locking Mechanism of Space Manipulator
    LiangLe ·Northeastern University ·2012 ·Master's thesis
  7. Study of High Stiffness Rotary Hinge Locking Mechanism Based on Preload Spring
    WangJin ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Study on the Test Method of Solar Array Drive Assembly Torque Characteristics
    YuFangYu ·Tianjin University ·2012 ·Master's thesis
  9. Qiqihar Hezhong Business Science and Technology Limited Company Gateway Website Design
    MengYunFei ·Jilin University ·2012 ·Master's thesis
  10. Layered Queuing Network Modeling of Database Systems Buffer Pools
    XueYaYan ·Taiyuan University of Technology ·2012 ·Master's thesis
  11. Research and Implementation on XML Data Index in Relation-XML Dual Engine Database Management System CoSQLRX
    QiuZeLing ·Northeastern University ·2010 ·Master's thesis
  12. Research and Optimization on the Buffer Management of Flight Inforamtion Database
    LiangPeng ·Zhejiang University ·2013 ·Master's thesis
  13. Research and Application of Embedded Database
    MaJian ·Xinjiang Agricultural University ·2012 ·Master's thesis
  14. Design and Implementation of Automatic Protocol Testing System
  15. Research and Realization of Automatic Test System Based on Android Operation System
  16. The Design and Implementation of Auxiliary Testing System TestDDI Aiming at DDI
    YouLei ·Nanjing University ·2013 ·Master's thesis
  17. Design and Implementation of Testing Tools for DBMS Based on TETware
  18. Analysis and Development of an Automated Conversion and Testing Tool Based on Datastage
  19. The Design and Implementation of Stored Procedure for Information for Teacher Management System
  20. Research on Embedded Software Testing and Evaluation Technology for Electrical Products
    WangPingPing ·China Jiliang University ·2013 ·Master's thesis