Research on Transaction Concurrent Dispatch Strategy for XML Databases

Author
WuLei
Advisor
BaiSiXue , YiCongPing
School
Nanchang University
Major
Computer technology
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2009
Downloads
26
Citations
1

Request the full text

Abstract

Along with the arrival of internet times, large-scale network computing is replacing models of PC application, the access of database also changes. The old technology of data processing is outdated when Internet/Web and NXD are used extensively. Now it appears some new theory and technology of data processing.We generally make use of mature technology and transaction mechanism of relationship’s database to guarantee correctness of concurrent access after mapping XML’s document to relationship database. But there are some problems. Firstly, the inherent and simple two-dimension of relationship’s database is conflict with hierarchy of XML’s data and document; Secondly, this access’s concurrency is weak because locked object is whole document and lock granularity of multi-transaction’ operation is very large during visiting NXD, even though it has more safety. So we find it’s our further research direction that both efficiency and data’s consistency can be guaranteed while accessing XML’s database concurrently.The paper discusses a kind of Xpath’s pattern of management and control of multi-transaction concurrence of NDX, then defines concurrent operating mechanism of XML’s database based on transaction’ model. The specific measures are as follows: According to characteristics of XML document’s structure and same object operations in the meantime about multi-transaction, it proposes relative query mode for extend type of Xpath’s document; and it explains locking mechanism and shows executing steps of applied action, upgraded action and released action while model is locked; Finally, it expounds Xlock’s mechanism can ultimately make sure that multi-user smoothly operate same object in the meantime in the NXD’s environment.

Table of contents

Abstract 3-4 ABSTRACT 4-7 Chapter 1 Introduction 7-16 1.1 XML database concurrency control research significance and background of 7-10 1.2 XML database concurrency research necessity 10 1.3 XML database concurrency research status 10-14 1.3.1 traditional XML database concurrency limitations 10-12 1.3.2 current XML technologies and database concurrency problems faced 12-14 1.4 thesis and the significance 14-16 Chapter 2 XML Database Fundamentals 16-23 2.1 XML Overview 16-17 2.2 XML database describes 17-19 2.2.1 XML database type 17-18 2.2.2 XML database functionality compared 18-19 2.3 Xpath document query language 19 - 22 2.3.1 XPath model structure 19-21 2.3.2 address path and positioning step 21-22 2.4 Summary 22 - 23 Chapter 3 Services and concurrency control, the basic principles of 23-29 3.1 transaction concepts 23-25 ?? 3.2 concurrency control 25-28 3.2.1 serializable scheduling 26 3.2.2 two -phase locking 26-28 3.3 chapter Summary 28-29 < br /> Chapter 4 XML document tree Xpath query 29-34 4.1 documents based on Xpath query expansion mode 29-31 4.1.1 extensible document tree 29-30 4.1.2 XPath path expression query 30-31 4.1.3 optimal path query expression 31 4.2 transactional operations 31-33 4.3 Chapter Summary 33-34 Chapter 5 XML concurrency control 34-45 5.1 XML document tree constrained concurrent operation 34-35 5.2 XLock locking protocol definitions and model 35-37 5.3 XLock locking protocol mechanisms 37-40 5.3.1 locking protocol rules 37-38 5.3.2 lock transaction management 38-39 5.3.3 transaction scheduling processing 39-40 5.4 concurrency Control deadlock 40-43 5.4.1 deadlock 40 5.4.2 deadlock diagnosis 40-43 5.4.3 deadlock handling 43 5.5 Chapter Summary 43-45 Chapter 6 Conclusion and Outlook 45-46 6.1 Conclusion 45 6.2 Looking 45-46 Thanks 46-47 References 47-48