Research on Recovery Mechanisms in DM Embedded DBMS

Author
HuJin
Advisor
FengYuCai
School
Huazhong University of Science and Technology
Major
Computer Software and Theory
Classification
TP368.1 Microprocessor
Degree
Master's thesis
Year
2012
Downloads
8
Citations
0

Request the full text

Abstract

With the development of embedded technology, embedded database has been used moreand more widely. Embedded environment has many characteristics and limitations, suchas mobility, network instability and power supply ability, reliability and performance ofthe embedded database has put forward higher requirements and challenges, a strongrecovery subsystem is an important part of the embedded database’s component. Throughthe systematic research on the database recovery technology, we study and improve therecovery subsystem in DM embedded Database Management System, to improve thesystem reliability and availability.In order to adapt to the embedded environment, system design follows the simple rules.The rollback segment is designed and improved, it is integrated into the data file. Whensystem restoring, only searches the reserved rollback segment, it saves the recovery time;at the same time the log file is designed into a single log file form, using transactionconsistency checkpoint to shorten the recovery process when needs to scan the log volumeduring system startup.When system needs restore, we design and put the selective-redo into implementation toavoid to redo all the Redo logs. For those records which have written to the database file,according to page LSN(Log Sequence Number) and log LSN’s judgment, decides whetherto redo the log record, rather than blindly. Then, we analyze the premise condition whenusing the selective-redo method. The method saves system buffer, reduces the I/Ooverloads and embodies the micro kernel requirements of embedded database.In order to make full use of the operating system’s multiprogramming design thoughtand the special transaction model that the system uses, system restore uses multiplethreads to redo log records. The use of a log distribution thread multiple redo thread model,synchronization between thread to complete cooperation historical operation, achievesrapid reconstruction of the system state when system crashes.Tests show that, the improved recovery subsystem not only can handle transaction failure, system failure and media failure, which may occurs during system processing, butalso can shorten the time of recovery.

Table of contents

Summary 4-5 Abstract 5-9 1 Introduction 9-18 1.1 subject background 9-10 <br / > 1.2 domestic and international research profile 10-16 1.3 main research topics 16-18 2 recovery subsystem overall design 18-29 2.1 overall recovery subsystem design goals 18-19 2.2 embedded database transaction characteristics of dream analysis 19-20 2.3 restore basic strategy analysis 20 - 25 2.4 recovery program 25-27 2.5 overall structure of the system 27-28 2.6 Summary 28-29 3 achieve recovery subsystem achieve 29-51 3.1 Service failure recovery achieve 29-34 3.2 system Recovery is 34-48 3.3 medium to achieve fault recovery 48-50 3.4 Summary 50-51 4 system testing and analysis 51-57 4.1 test environment 51 4.2 recovery subsystem correctness test 51-52 4.3 recovery subsystem performance test 52-56 4.4 Summary 56-57 5 summary and Outlook 57-59 5.1 Full Summary 57-58 5.2 Prospects 58-59 Thanks 59-60 References 60-63

Related dissertations

  1. Reverse logistics network of waste household appliances planning of Huaian City
  2. The Design and Implementation of Police Corps Command Cooperation System
    WuLinMing ·Tianjin University ·2012 ·Master's thesis
  3. The Design of Cinema Ticketing System by Mobile Terminal on Android
    QiuJunJu ·South China University of Technology ·2013 ·Master's thesis
  4. Research on Mild Hyperbaric Chamber Influence on Short-distance Racing Student's Recovery after30s Maximum Power Cycling
    XuMin ·Capital Institute of Physical Education ·2014 ·Master's thesis
  5. Study on Recovery of Property Involved in the Criminal Procedure
    OuYangZuo ·Central South University ·2012 ·Master's thesis
  6. The Research of "to Seek Illegitimate Interests" of Crime of Offering Bribes
    LuoZuoYan ·Shanghai Jiaotong University ·2013 ·Master's thesis
  7. Study on Chinese System of Social Salvation Fund in Road Traffic Accident
    ChenHui ·Dalian Maritime University ·2013 ·Master's thesis
  8. The Study on George in Tinkers under the Theory of Trauma
    JiaZuoQun ·Hebei Normal ·2013 ·Master's thesis
  9. Recovery from the Trauma
    WangLiLi ·Shanghai International Studies University ·2014 ·Doctoral dissertation
  10. Trauma and Recovery: Decoding Slaughterhouse-five from the Perspective of Trauma Theory
    BianZuoZuo ·Shenyang Normal ·2014 ·Master's thesis
  11. Trauma and Recovery:Singer's Enemies:a Love Story
    HuangLiLi ·Anhui University ·2014 ·Master's thesis
  12. Study on Molecular Structure and Friction of Doublenetwork Hydrogels
    WuChu ·Hubei University of Technology ·2014 ·Master's thesis
  13. Comprehensive Psychological Nursing Intervention on Quality of Life of Patients with Stroke Recovery
  14. Toxic Effects of Endosulfan to Mocrobrochium Rosenbergii
    XiongZhaoZuo ·Shanghai Ocean University, ·2013 ·Master's thesis
  15. Effects of Exogenous Ala on Carbohydrate Metabolism in Tall Fescue during Drought Stress and Post-Drought Recovery
    DaiYun ·Nanjing Agricultural College ·2013 ·Master's thesis
  16. Vitrification in in Vitro Culture of Strawberry and Its Recovery Technology Research
    ZhouShuLi ·Sichuan Agricultural University ·2013 ·Master's thesis
  17. Research on UUV Real-time Path-planning before Recovery by Stinger-principle
    SunHaiTao ·Harbin Engineering University ·2013 ·Master's thesis
  18. Study on Recovery of Irregular Flights and Passengers Itinerary
  19. Research on Parameter Measurement System of Cylinder Head Gasket
  20. Experimental and Mechanism Research on Phosphorus Recovery in Wastewater Using Waterworks Sludge
    FangZuo ·Hefei University of Technology ·2013 ·Master's thesis