The XML Transaction Model and Concurrency Control

Author
WangYuan
Advisor
DongJinXiang , ChenGang
School
Zhejiang University
Major
Applied Computer Technology
Classification
TP312.2 Programming language ALGOL
Degree
Doctoral dissertation
Year
2006
Downloads
377
Citations
4

Request the full text

Abstract

XML has gained great popularity in recent years and emerged as a new standard for data representation and exchange under, especially, by the promotion of W3C and leading computer companies. XML is being used in more and more areas. With the rapid adoption of XML, the Internet has be turned into a gigantic database gradually.With the increase of the amount of data available in XML, information management techniques for XML data become especially demanding. Today most relational, object-oriented or object-relational DBMS has provided extensions for XML. And at the same time, the database tailored for XML, namely XML native database, gains more and more attention of both researchers and producers. However, from a database point of view, all native XML databases today are far from perfect. Among all of the deficiencies, transaction management and concurrency control technique is one of the biggest ones. In this situation, it’s of great importance that we investigate the transaction model and concurrency control technique for XML.First, we propose a general XML transaction model. In contrast to other transaction models, the model we presented treats XML document and path indices in the same way, and we proposed a unified operation model which can describe several access methods, such as DOM, XPath and searching via path indices. We then give a thorough analysis of the complexity with different characteristic of operations. Based on the result, we then propose a concise core operation model, which can be implemented easily and guarantees high concurrency as well. We also distinguish between weak serializability and strong serializability, for order insensitive and order sensitive applications respectively.Based on the transaction model we proposed, we designed two concurrency control protocols, namely MSPX-w and MSPX-s. MSPX-w is for weak serializ-abitily and MSPX-s is for strong serializability. We integrated the strongpoint of multiversioning and semantic concurrency control into these two protocols. Withthe employment of several notable features such as path lock and range lock, the MSPX series of protocols can guarantee good concurrency, without bring too much complexity and burden to the system.Finally, we propose the adaptive lock granularity scheduler, which is a innovative technique that can reduce lock operations and the memory used for maintaining lock objects. First, we designed a concrete lock protocol based on subtree locking. And secondly, we give the formal theory of adaptive lock granularity scheduler, which extends this technique into its general form.We also conducted plenty of evaluations. The result shows that the MSPX series of protocols we proposed can reduce transaction rollbacks and increase system throughput. It also shows the power of the adaptive lock granularity scheduler in case of typical XML environment that the data is hierarchical.

Table of contents

Abstract 2-4 Abstract 4-6 directory 6-13 Chapter Introduction 13-19 <br / > 1.1 Research purpose and significance 13-14 1.2 XML basics and related standards 14-15 1.3 XML data management 15 - The paper is organized 17 1.4 17-19 second concurrency control theory and XML concurrency control 19-31 2.1 traditional concurrency control theory 19-24 2.1.1 concurrency control theory foundation 19 2.1.2 single-version concurrency control 19-20 2. 130 multi-version concurrency control 20-21 2.1.4 classic concurrency control protocol summarize 21-22 2.1.5 relational database concurrency control technology 22-23 2.1.6 semantics-based concurrency control 23-24 2.1.7 concurrency control protocol in a relational database products 24 2.2 XML concurrency control to 24-29 concurrent 2.2.1 XML instance locking control 24-27 2.2. path index-based XML concurrency control the other 27-28 2.2.3 XML concurrency control strategy 28-29 2.2.4 XML native database products concurrency control technology 29 2.3 Summary 29-31 Chapter semantic-oriented XML transaction model 31-57 .1 XML transaction data model 32-34 3.2 XML common operating model the 34-35 3.2.1 to access the operating model 34 < br /> 3.2.2 update operation model the 34-35 3.3 transaction model 35-36 3.4 an XML transaction serializability 36-40 3.4.1 XML Affairs weak serializability a 37-39 strong 3.4.2 XML transaction serializability 39-40 3.5 conflict detection 40-49 3.5.1 the order of independent operations conflict detection 43-47 3.5.2 order related operations conflict detect 47-49 3.6 the XML core operating model the 49-53 3.6.1 access to the operating model 50-52 .6.2 simplify the processing of location conditions 52-53 3.7 index retrieval 53-54 3.8 Related work 54-55 3.9 Summary are found; 55-57 Chapter MSPX: semantics of multi-version concurrency control agreement 57-89 4.1 preparations 58 - 59 4.2 MSPX agreement 59-71 4.2.1 read-only transaction agreement the 59-60 the 4.2.2 MSPX-w: weakly serialization agreement the 60-66 4.2.3 MSPX-s: strong serialization protocol 66-71 4.3 other implementation details the 71-72 4.4 Experimental 72-86 4.4.1 experimental environment 72-75 4.4.2 MPX: multi-version concurrency control protocol 75-78 4.4.3 protocol variants 78 4.4.4 weak serializability experimental results 78 -83 4.4.5 strong to serializability experimental results are found; the 83-86 4.4.6 Experimental results outlined 86 4.5 86-87 4.6 Chapter Summary 87-89 Chapter adaptive granularity locking scheduler 89-121 5. Based subtree lock \the tree lock subtree intention Lock 93-94 5.1.3 subtree lock \.4 Affairs Local lock and implementation issues 100-101 5.2 Self-learning - reduce relegated overhead 101-104 5.2.1 Algorithm run the sample 103-104 5.3 Universal the demand lock relegated theoretical model and algorithm 104-112 5.3.1 contains relationship nbsp the; 106-107 < br /> 5.3.2 lock object to determine the relationship of conflict 107-108 5.3.3-demand lock downgrading \the .3.4 level relations with intent lock the 111-112 5.3.5-demand lock stoop \ the 5.4.1 experimental environment 112-117 112-113 5.4.2 configure a experimental results 113-115 .4.3 other configuration experimental results 115-117 5.4.4 Experimental results outlined 117 5.5 Related work 117-118 5.6 Summary 118-121 Chapter 6 Conclusions and future work 121-137 6.1 This work 121-123 6.1.1 establish the generic XML transaction model and XML scheduler complexity analysis 121 6.1.2 multiple versions semantic concurrency control protocol 121-122 <br / > 6.1.3 Adaptive granularity locking scheduler 122-123 6.2 Future Work Looking 123-137 paper describes 137-139 < br /> Acknowledgements 139-140

Related dissertations

  1. Design and Completion of Early Warning System Based on the Complex Data Processing and Analysis of the Agriculture Products Processing Industry
  2. Research of Concurrency Control and Recovery in a Client/Server DBMS
  3. Concurrency Control in Mobile Real-time Database Systems
    LiuYuFang ·Guangdong University of Technology ·2006 ·Master's thesis
  4. The Study of Concurrency Control for Distributed Database
  5. Concurrency Control Mechanism Based on User-Level Lock for Business Objects
  6. Research on Concurrency Control Technology of Native XML Database
    SunHuaGuo ·China University of Petroleum ·2009 ·Master's thesis
  7. Buyout Fund’s Role in Chinese Merge and Acquisition Transactions
    LiuYiTao ·Shanghai Jiaotong University ·2013 ·Master's thesis
  8. Research on Anhui Private Economy Developmen Environment from the Perspective of Transaction Costs
    LuoYaDong ·Anhui University of Finance ·2014 ·Master's thesis
  9. Private Stone Gambling with Agents’ Heterogeneous Risk Preferences
  10. Design and Implementation of the XProc Processor Based on.NET
  11. Design and Implementation of the XML Document Processing System Based on Xproc
  12. Research of Web Information Extraction Based on XML
    ZhengBangXi ·Dalian Jiaotong University ·2013 ·Master's thesis
  13. Research of Information Extraction from Web Documents Based on Tree Automaton
    YangFan ·East China Jiaotong University ·2013 ·Master's thesis
  14. Research and Application of Information Retrieval Based on XML Document
    HuZuoZuo ·Shandong University ·2013 ·Master's thesis
  15. Research of Keyword Query Processing on XML Data
    ZhaoXingMin ·Yanshan University ·2013 ·Master's thesis
  16. Research on Subtree Results Generation of XML Keyword Search
    WangBo ·Yanshan University ·2013 ·Master's thesis
  17. Results Diversification for XML Keyword Search Based on Semantics
    SongYuLing ·Beijing Jiaotong University ·2014 ·Master's thesis
  18. Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
  19. Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
    HeZhenLei ·Zhejiang University ·2013 ·Master's thesis
  20. Power Electronic Remote Experiment Under Virtual and Reality Combination Framework
    ShenZhangBiao ·Zhejiang University ·2014 ·Master's thesis