Study on Structural Index Technology and Query Optimization for XML
- Author
- GuoSongTao
- Advisor
- ZhuZhengYu
- School
- Chongqing University
- Major
- Computer Software and Theory
- Classification
- TP311.1 Programming
- Degree
- Master's thesis
- Year
- 2003
- Downloads
- 268
- Citations
- 2
Abstract
XML query optimization in recent years, people have proposed many indexing techniques and the connection algorithm [12,13,14,15,16,23,24]. The index is mainly based on the edge labels and elements of value. However, it was the index does not contain all the element nodes, thus making the query many paths still need to detect; Some forward or backward traversal generates a lot of redundant data, resulting in the query cost. In addition, in the proposed algorithm, although some algorithms, such as MPMGJN algorithm [23] is superior to the standard RDBMS join algorithm, but the algorithm to match the basic structure of the relationship, especially in the case of a parent-child relationship, perform a large number of not the necessary calculations and takes up a lot of I / O resources; Although some algorithm represents the advanced level of structural join algorithm, such as the Stack-Tree-Desc [24] connection algorithm, but it did not make use of index structure but the order to view the input list . This inevitably wasted I / O resources, the impact speed of the connection. For the above, this article do the work of the following aspects: ① Numbering Schema XML file structure is not easy for elements to update Sparse Numbering Schema method based on improved. Compared with traditional methods, the advantage lies: insert new node does not need to recalculate the start and end values ??of the node tree structure to improve update efficiency; tree created simply traverse the document, further savings achievements overhead; addition, it can provide a relatively durable and stable reference for the index. ② Given the rare Numbering Schema storage method, this paper Sparse Numbering Schema, stored in a relational database. The storage method is not only conducive to fast indexing start value, but it will save storage space. ③ In this paper, a relational database B + Tree indexing technology Sparse Numbering Schema combining a new XML file index structure - B ~ tree structure index, its XML queries in connection operation and the element positioning operation optimization plays an important role. Further, through the introduction of the pointer on the index improvement, B ~ tree structure with Sibling Pointer Index (abbreviated the B ~~-SP). Using such an index can be overcome element lookup defects always start from the root of the tree. (4) B ~-SP-based index, also studied Anc-Desc-B ~-sp join algorithm. ) was significantly reduced, due to | D | ≥ | A |, so | D | | outlist | gt; GT; log | A |. Preliminary experiments show that the algorithm is an effective, fast connection algorithm. (5) XML query affect query time, another important factor is the positioning of the XML data source. In order to solve the problem of rapid positioning of the XML data source, this paper presents a positioning system framework of a distributed XML data sources, collaborative XML search engines (CXSE). CXSE search by site-based selection and to shorten the time of collection of the XML data source meter grading methods to achieve fast XML data source, accurate positioning. In particular, when the XML query involving multiple XML data source, the parallel search technology can play a certain effect.
Table of contents
Of Chinese Abstract 4-6
English Summary the 6-10
1 Introduction the
the 1.1 current domestic and foreign research status quo 10-15 10-12
1.2 technical problems in 12
1.3 thesis topic and its significance 12-13
1. 4 dissertation contents and their organizations are found; 13-15
2 Sparse Numbering Schema 15-20
a 2.1 existing data model and its shortcomings 15 -17
2.2 Sparse Numbering Schema 17-19
2.3 Chapter Summary 19-20
Sparse Numbering Schema storage 20 -30
3.1 XML data stored way 20-21
3.2 relational database storage 21-26
3.2.1 mapping mode selection 21-23
3.2.2 the DTD to the mapping of the object model 23
the 3.2.3 object mode to the database schema mapping 23-26
3.3 Sparse Numbering Schema storage 26-28
3.4 Chapter Summary 28-30
a new B-tree structure index 30-39
4.1 XML document index structure and its lack of 30-31
4.2 ~~ tree structure index 31 - 34
4.2.1 Sparse Numbering Schema B-tree combined 31-32
4.2.2 B ~~ + tree structure of the index to establish 32-33 < br /> 4.2.3 retrieval B ~~ + tree structure index principle 33-34
4.3 with Sibling Pointer B ~ tree structure index (B-sp) 34-37
4.3.1 B ~-sp structure 34-36
4.3.2 B ~-sp update 36-37 <br / > 4.4 Chapter Summary 37-39
connection algorithm based on B-SP the 39-44
of 5.1 existing connection algorithm and its shortcomings nbsp Anc-Desc-B ~-sp B ~-SP-based connection algorithm 39-40
5.2; 40-42
5.2.1 connecting the elements of the basic structure of the relationship of 40-41
5.2.2 connection algorithm based on B-SP 41-42
5.3 Chapter Summary 42-44
6 XML data sources on the Web quickly locate 44-49
6.1 current query and search existing problems 44-45
6.2 a collaborative XML search engine framework 45-47
6.3 CXSE of, search and update process nbsp 47-48
6.3.1 CXSE, search; 47
6. 3.2 CXSE updates 47-48
6.3.3 CXSE, characteristic 48
6.4 Chapter Summary 48-49
7 experimental 49-53
7.1 Experimental ready 49-50
7.2 B ~ + tree structure index and No-index algorithm comparison 50
7.3 B ~~ +-sp and B ~~ + tree structure indexes compare 50-51
7.4 ~~ +-sp, and NoIndex algorithm comparison 51 -52
7.5 Chapter Summary 52-53
8 Summary and Outlook 53-55
8.1 Summary 53-54
8.2 Future work and research direction 54-55
thank the to References 55-56
56-59
Appendix 1. XML document 59-62
Appendix 2 published articles 62
Related dissertations
- A Study of Coding Index Based on Schema
- Case Research on the Production Logistics Management of Dalian PRK Company
- 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
- A Research and Implementation with Improved K-Means Clustering Algorithm to Image Retrieval System Based on Hadoop Platform
- Research and Implementation of Keyword Query Technique in a Seamless Intergrated Relation-XML Database System
- The Design and Implementation of WebDAV Service in XML Database
- Research of Heterogeneous Database Integration Based on Web Service and XML
- Research on Encoding and Query Process Technology for Continuous Uncertain
- Research on XML Data Cube Based on Tree Structure
- XQuery Query Processor Design and Implementation