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
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
- Reverse logistics network of waste household appliances planning of Huaian City
- The Design and Implementation of Police Corps Command Cooperation System
- The Design of Cinema Ticketing System by Mobile Terminal on Android
- Research on Mild Hyperbaric Chamber Influence on Short-distance Racing Student's Recovery after30s Maximum Power Cycling
- Study on Recovery of Property Involved in the Criminal Procedure
- The Research of "to Seek Illegitimate Interests" of Crime of Offering Bribes
- Study on Chinese System of Social Salvation Fund in Road Traffic Accident
- The Study on George in Tinkers under the Theory of Trauma
- Recovery from the Trauma
- Trauma and Recovery: Decoding Slaughterhouse-five from the Perspective of Trauma Theory
- Trauma and Recovery:Singer's Enemies:a Love Story
- Study on Molecular Structure and Friction of Doublenetwork Hydrogels
- Comprehensive Psychological Nursing Intervention on Quality of Life of Patients with Stroke Recovery
- Toxic Effects of Endosulfan to Mocrobrochium Rosenbergii
- Effects of Exogenous Ala on Carbohydrate Metabolism in Tall Fescue during Drought Stress and Post-Drought Recovery
- Vitrification in in Vitro Culture of Strawberry and Its Recovery Technology Research
- Research on UUV Real-time Path-planning before Recovery by Stinger-principle
- Study on Recovery of Irregular Flights and Passengers Itinerary
- Research on Parameter Measurement System of Cylinder Head Gasket
- Experimental and Mechanism Research on Phosphorus Recovery in Wastewater Using Waterworks Sludge