Research on Concurrency Control Technology of Native XML Database
- Author
- SunHuaGuo
- Advisor
- WeiDongPing
- School
- China University of Petroleum
- Major
- Applied Computer Technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 60
- Citations
- 0
Abstract
With the development of Internet, XML has gained great popularity in recent years andemerged as a new standard for data representation and exchange. XML is being used in moreand more areas. With the rapid adoption of XML, the Internet has been turned into a giganticdatabase gradually. The occurrence of the XML documents that are based on the applicationof Internet or Web, especially, the advent of Native XML Databases (NXD), arises anunprecedented challenge to traditional database field.Concurrency control is the most important mechanism of improving the transactioncapability of database system. And it is also a difficulty in the field of NXD. The researches ofXML transaction processing today are far from perfect. On the problem of how to solveconcurrency control of XML data, a universal perspective suggests that the XML documentcan be projected into traditional databases so that the perfect transaction mechanism oftraditional databases can be used to ensure the multi-users concurrency of XML. But in fact,because of the conflict between the inborn complanation of traditional databases and thehierarchy of the XML document data, the concurrency mechanism based on the perspectivehereinbefore can’t control the concurrency access of multi-users to single document higheffectively. On the other hand, in the field of NXD the research concerning the transaction andthe concurrency control mechanism is initiated not long ago. Currently, although many ofNXD claim to support the transaction management, they can’t effectively support theconcurrency of multi-users since the granularity of the lock is generally big, that is, it fits thewhole document, not the fragment document.In this paper, we defined an XML transaction model by combining the characteristic ofXML document and simplifying the standard XPath data model. On the base of that, wedesigned a new XPath-based locking protocol and discussed its operational process andalgorithms, detecting and handling methods of dead lock and ways of rollback or abort of atransaction in detail. Then we put forward an extensible encoding schema which can supportXML transaction model, besides, we also made a demonstration of the protocol’sserializability. At last, we proposed a read-only XMLmulti-version protocol by integrating the characteristic of XML applications. It applies multi-version concurrency control of traditionalrelation database to NXD. Because of the read-only transaction never blocks with theupdating transaction each other and doesn’t also need any locks, it can increase concurrencyof transactions. Moreover, we made a demonstration of its serializability in the end.In order to validate the effectivity of the protocols and algorithms we proposed in thispaper, we conducted plenty of experiments. The result shows that the protocols we proposedcan reduce transaction rollbacks, increase system throughput and improve performanceeffectively. They also have important significance for future studies and practical applications.
Table of contents
Abstract 4-5
Abstract 5-9
first chapter 9-20
1.1 Background and Significance topics 9 - 11
1.2 XML concurrency Control research 11-14
1.2.1 traditional concurrency control 11-12
1.2.2 XML concurrency control 12 -14
1.3 XML related standards and features 14-16
1.4 XML database 16-18
1.4.1 XML database classification 16-18
1.4.2 XML database functionality compared 18
1.5 thesis organization 18-20
Chapter transaction-related theories and XML transaction model 20 -31
2.1 transaction basic theory 20-21
2.2 XML transaction model 21-25
2.2.1 XML data model 23-24 < br /> 2.2.2 XML operational model 24
2.2.3 XML transaction model 24-25
2.3 supports XML transaction model scalable coding scheme 25 -30
2.3.1 existing XML document encoding 25-27
2.3.2 XML document scalable coding 27-30
2.4 Summary 30-31
Chapter XPath-based NativeXML database concurrency control protocol 31-47
3.1 locking protocol and lock management model 31-34
3.1.1 locking protocol model 31-33
3.1.2 locking protocol rules 33
3.1.3 lock management data model 33-34
3.2 deadlock 34-38
3.2.1 deadlock concept 34-35
3.2.2 deadlock detection 35-38
3.2.3 deadlock handling 38
3.3 XML concurrency control protocol 38-44
3.3.1 XML concurrency control operational processes 38-39
3.3. 2 XML concurrency control locking and unlocking algorithm 39-42
3.3.3 XML concurrency control operation algorithm 42-44
3.3.4 revocation and suspension of affairs 44
3.4 XML concurrency control protocol analysis 44-45
3.4.1 serializability analysis 44-45
3.4.2 performance Analysis 45
3.5 Summary 45-47
Chapter version NativeXML database technology in the application of 47-54
4.1 version of the traditional protocol nbsp read more ; 47-49
4.2 multi-version XML transaction model 49
4.3 multi-version read-only XML protocol 49-52
4.3.1 read-only transaction agreement 50
4.3.2 update transaction agreement 50-51
4.3.3 transaction commit and rollback 51
4.4.4 other implementation details 51-52
4.4 multi-version read-only XML protocol analysis 52-53
4.5 Summary 53-54
Chapter XML concurrency control protocol experimental 54-58
5.1 experimental environment and configuration 54-55
5.2 experimental results and analysis 55-56
5.3 typical environmental testing 56-58
Conclusion 58-60
References 60-64
master's degree during the academic achievements 64-65 < br /> Thanks 65
Related dissertations
- Design and Completion of Early Warning System Based on the Complex Data Processing and Analysis of the Agriculture Products Processing Industry
- The XML Transaction Model and Concurrency Control
- Research of Concurrency Control and Recovery in a Client/Server DBMS
- Concurrency Control in Mobile Real-time Database Systems
- The Study of Concurrency Control for Distributed Database
- Concurrency Control Mechanism Based on User-Level Lock for Business Objects
- Buyout Fund’s Role in Chinese Merge and Acquisition Transactions
- Research on Anhui Private Economy Developmen Environment from the Perspective of Transaction Costs
- Private Stone Gambling with Agents’ Heterogeneous Risk Preferences
- Design and Implementation of the XProc Processor Based on.NET
- Design and Implementation of the XML Document Processing System Based on Xproc
- Research of Web Information Extraction Based on XML
- Research of Information Extraction from Web Documents Based on Tree Automaton
- Research and Application of Information Retrieval Based on XML Document
- Research of Keyword Query Processing on XML Data
- Research on Subtree Results Generation of XML Keyword Search
- Results Diversification for XML Keyword Search Based on Semantics
- Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
- Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
- Power Electronic Remote Experiment Under Virtual and Reality Combination Framework