The Research on Index of XML Supporting Structural Query and Containment Operation

Author
LiuXuePing
Advisor
ZuoWanLi
School
Jilin University
Major
Computer Software and Theory
Classification
TP312.2 Programming language ALGOL
Degree
Master's thesis
Year
2006
Downloads
107
Citations
0

Request the full text

Abstract

In recent years, the eXtensible Markup Language (XML) has become anew standard to data expression and exchange over the World Wide Web withthe fast development of network technology. So people have beenincreasingly interested in it. Now the building of approximate index toimprove the effectiveness of query and to realize the query optimization isbecoming a hot topic with the maturation of XML query language and storingmechanism. XML is a semistructured data. Index for XML is not only the same asindex technique of traditional database, but also different from them. Some ofmature technique of traditional database can be diverted into XML easily. ButXML data has some inherent characteristics which are different fromtraditional database. So research of index for XML data brings some newproblems. Currently querying XML data mostly relies on XPath, and it isdifficult for us to build a general index structure for XML data because of thecomplexity of query. So several index models have been put forward tospeed up the query in recent ten years.In this paper, we analyzed index technique from several aspects based onthe character of XML data, such as data representation, index interface, nodeidentification, index updating and storage. We sorted most indices of XMLdata which had been proposed by the types of query expression that the indexsupported and storing media of indices. We can mainly divide them into twokinds, which include simple query supportable index and regular pathexpressions query supportable index. Each kind is separated into three partsaccording to the storage media, which contains index stored in file system,database system and hybrid media.In this paper, we put forward appropriate index structure to support XPathquery expressions which contain “contains()” operation. Last research didn’tgo deep into the combination of structural query and fulltext query, butconsidered them separately, which led to the low efficiency of queryprocessing of XPath expressions which contain “contains()” function. We tryto combine them effectively. We build dynamic index based on B+-tree forefficient query processing starting at the essential “contains()” function.To do this, we design the node labeling scheme, index construction andquery processing. In node labeling scheme, we increase the content of nodeto get the relationship of parent-child or ancestor-descendant by PSP toimprove the Diezt’s Numbering Schema algorithm. In index construction, webuild two types of indices based on B+-tree to accelerate query. In queryprocessing, we take the simple query, contains query and composite queryinto account individually. Also we put forward the appropriate join algorithmaiming at composite query. Next we will sum up the three aspects.The node labeling scheme plays an important role in the queryprocessing of XML documents. So it is the core how to get the relationshipbetween elements quickly. The conception of Numbering Schema and joinalgorithm grow up rapidly for this. XISS is one of the most respective amongthese. But previous index can’t support both full-text query and structuralquery effectively because they considered the structural message only butignored the content message when they encoded the nodes. In this paper, weincrease Pathid and sibling Dewey to node identifiers to mark the path fromroot node to the node based on the characters of query expressions. We usePSP pairs to identify a node exclusively to get the relationship of parent-childor ancestor-descendant between nodes.We build two kinds of index based on B+-tree to accelerate query in thesystem, content index and structure index. The keywords in the content indexare composed of the pairs including text field and the node’s PSP in thecontent. The index is used to support the XML query expression whichcontains both content and structure. The query keyword in content index isthe attribute and PSP of element. The pointer of query keyword actuallypoints to the disk storing address of the node.We can realize simple path query by traveling the structural index treeduring query processing. We can implement fulltext query containingcontains() function by traversing content index. As the composite queryexpressions which contain one or several conditions, we can first decomposethe query expressions into several basic query, then deal with every basic unitto get middle result, finally use the join algorithm to get the final query result.We experiment on the index size of STB-tree and COB-tree, average timeconsumed to execute contains() and other query based on some length of queryexpressions aiming at different size of data source, also the execution time of somequery expressions on a special database. According to the experiment result, the systemcan accelerate the query which contain contains() function. Based on this, the system cangrow to support both structural query and fulltext query. There would have somepractical value.

Table of contents

The first chapter the 7-12 1.1 topics of significance 1.2 the research status quo 7-10 1.3 papers The main research content and structure of the arrangement 10-12 Chapter II of XML-related technologies 12-25 2.1 semistructured data 12-14 2.1.1 The concept and characteristics of semi-structured data 12-13 2.1.2 semistructured data description 13-14 2.2 an XML Overview 14 -22 2.2.1 XML language generation and development the 14-15 2.2.2 an XML features 15-16 the 2.2.3 XML document and norms 16-18 2.2.4 XML application the relationship between 2.2.5 XML language and semi-structured data 18-19 19-20 2.2 a .6 XML query language the 20-22 2.3 XML indexing technology 22-25 2.3.1 the concept of indexing 22-23 2.3. 2 index structure 23 2.3.3 index interface 23-24 2.3.4 node identification 24 2.3.5 index update 24 2.3.6 index storage and update time 24-25 Chapter XML index structure and algorithm the index strategy nbsp 25-41 3.1 ; 25 3.2 XML index structure classification 25-26 3.3 XML index structure - supports simple query classes are found; 26-35 3.3.1 index stored in the file system 26-32 3.3.2 relational database to store data the 32-34 3.3.3 Hybrid Storage 34-35 3.4 XML index structure - supports regular query class 35-39 XML index structure 3.5 summarizes 39-41 Chapter support structured query and indexing algorithm contains the operating Design 41-49 4.1 Introduction 41 4.2 node encoding mechanism 41-43 4.3 index organization 43-45 4.4 query processing the 45-49 Chapter experiment part 49-56 5.1 system module and function 49-51 5.2 index evaluation indicators the 51-52 5.3 Experimental data and conclusions 52-56 Chapter conclusions and outlook 56-57 References 57-61 Chinese Abstract 61-63 ABSTRACT 63-66 Acknowledgements 66-67 mentor About the author 67

Related dissertations

  1. Research on Fiscal Expenditure Performance Evaluation of Dongying City
    FanWeiWei ·Shandong University ·2013 ·Master's thesis
  2. Study on the evaluation index system of audit of enterprise internal control in our country
  3. Research on Construction of Integrated Evaluation System of China Private Equity Fund Manager
    ShuChang ·Liaoning University ·2012 ·Master's thesis
  4. The Research Based on the Balanced Scorecard in the Performance Appraisal System of LM Company
    CaoFengYong ·Liaoning University ·2012 ·Master's thesis
  5. Research on Urban Public Transport Services Evaluation System
    DengJianRen ·Chang'an University ·2013 ·Master's thesis
  6. The Designment on Fuel Management Department Performance Index of Ningxai Datang International Daba Power Generation CO., LTD
    HuZhi ·Ningxia University ·2012 ·Master's thesis
  7. Research and Design of Performance Appraisal System of Inner Mongolia a Fuel Company
    WangYan ·Ningxia University ·2014 ·Master's thesis
  8. Research on the Risk Early-warning Management Mechanism of International Engineering Projects
    ZhengZuoNing ·Shandong University ·2013 ·Master's thesis
  9. Evaluation of the level of integration of urban and rural logistics development in Shanxi
  10. Study on the Establishment and Verification for Hunan Food Safety Index
    WangJinZuo ·Central South University ·2013 ·Master's thesis
  11. Research on Intrusion Detection Technology Based on Mutual Information and KNN
  12. Research on Index Technology of String Approximate Query
    ZuoXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  13. Design and Implementation of Full-text Retrieval System Based on Lucene
  14. The Establishment of Intelligent Search Engine Platform in Enterprise
    WangMuPo ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  15. Research on the Index and Queries of Moving Objects
  16. Research on Large-scale Unstructured Data Processing of Index and Visualization
    CaoLei ·Tianjin University ·2012 ·Master's thesis
  17. The Research of Data Warehouse Performance Optimization Technology Based on the Coupling Index and Materialized View
    MaYingYing ·Hunan University ·2013 ·Master's thesis
  18. Storing Large Scale Semi-structured and Unstructured Data on RDBMS
  19. Design and implementation of e-mail monitoring system based on Linux
    HanZuo ·Heilongjiang University ·2013 ·Master's thesis
  20. Analysis and Design of the System of Tax Analysis Reporting Query
    LinShiYi ·Xiamen University ·2014 ·Master's thesis