Optimizing Twig Query Pattern Based on XML Schema

Author
LiHui
Advisor
LiaoHuSheng
School
Beijing University of Technology
Major
Computer Science and Technology
Classification
TP312.1
Degree
Master's thesis
Year
2013
Downloads
9
Citations
0

Request the full text

Abstract

With the rapid development of information technology, XML data is used moreand more widely. XML is applied in many aspects of Web development, commonlyused to simplify data storage and sharing. In order to promote the standardization ofXML data query and processing, the World Wide Web Consortium develops theXQuery language for describing XML data query. XQuery language uses XPathexpression to locate data and its function for XML is similar to SQL for the relationdatabase. Due to the characteristics of semi-structured of XML data, the expense ofXML data query is large. So the study of optimization techniques of XML data query,especially the optimization techniques of the core operation for XML dataquery tree pattern query causes the attention of many scholars.Twig query is also called as tree pattern query. XQuery query put forward byusers often contains redundant query. The containment relationships between thesubqueries may simplify the tree pattern query in order to reduce the amount ofcomputation of tree pattern query and improve the query speed of XML data. Becausea lot of XML datas use XML Schema to describe the data model, many tree querypatterns can be simplified according to specific data model information. This paperanalyes the current situation and shortcomings of the existing methods of queryoptimization, and focuses on the optimization methods of tree pattern which haslogical node AND and OR, proposes an effective method of optimizating tree patternwhich has logical node AND and OR based on the structural constraint relationshipsRPC(Required Parent-Child) and RAD(Required Ancestor-Descendant) extractedfrom XML Schema, deleting the unnecessary branches in the tree pattern. Because thetree pattern having logical node AND and OR preferably satisfies the requirements ofXQuery language to describe the data query, the query optimization method in thispaper supports the high-performance implementation of XQuery better. The paperincludes the design and realization of algorithm of extracting RPC and RADrelationships from XML Schema and algorithm of optimizating the query nodes andlogical nodes in tree pattern based on RPC and RAD relationships. The realizationand test of the algorithms above illustrate that this kind of optimization method iseffective and practical.

Table of contents

Abstract 4-5 Abstract 5-8 Chapter 1 Introduction 8-14 1.1 subject background 8 <br / > 1.2 Significance 8-10 1.3 background 10-12 1.4 topics sources research 12 1.5 and the main contribution of this paper 12 1.6 This article organizational structure 12-14 Chapter 2 Twig query tree pattern minimization example 14-20 2.1 Twig query tree mode optimize 14-16 2.2 tree model example 16-18 2.3 Chapter Summary 18-20 Chapter 3 extracted from XMLSchema in algorithm nbsp RPC and RAD 's ; 20-26 3.1 PRC RAD extract and analyze problems 20-21 3.2 RPC and RAD relations extracted from the XML Schema algorithm 21-24 3.2.1 RPC relations extracted from the XML Schema algorithm 21-23 3.2.2 RAD relations from XML Schema extraction algorithm 23-24 3.3 Chapter Summary 24-26 Chapter 4 tree pattern minimization 26-32 4.1 optimization process of concept definition 26 4.2 tree pattern minimization algorithm 26-30 4.2.1 tree pattern optimization sequence optimization rules 26-27 4.2.2 tree pattern 27-30 4.3 Chapter Summary 30-32 Chapter 5 of OR and aND logic node optimization algorithm 32-42 optimization algorithm 5.1 pairs OR node 32-38 5.2 logical node aND optimization algorithm 38-41 5.3 Chapter Summary 41-42 Chapter 6 experiments and analysis 42-46 6.1 test Data 42-43 6.2 analysis of test results 43 6.3 chapter Summary 43-46 Conclusion 46-48 references 48-52 papers published during the study for a degree 52-54 Thanks 54

Related dissertations

  1. Research on XML Data Cube Based on Tree Structure
  2. XQuery Query Processor Design and Implementation
  3. Dynamic Geometry Construction Language Based on XML
    ZhangRuiZuo ·Liaoning Normal University ·2013 ·Master's thesis
  4. A Study of Coding Index Based on Schema
  5. Research and Implementation of the Full-text Retrieval System in XML Databases
    GuoXiaoLei ·Northeastern University ·2011 ·Master's thesis
  6. Scheduling Algorithm in Parallelizarion of Xquery Programs
    WangLei ·Beijing University of Technology ·2012 ·Master's thesis
  7. Research of XML Schema-Based Optimization for Middleware of Heterogeneous Database
  8. Study and Implementation of a Heterogeneous Data Integration System Based on XML
  9. Research on XML Stream Data Processing
    DengZiQiang ·Beijing University of Technology ·2012 ·Master's thesis
  10. Research on Data Integration Technology for E-commerce in the Web Environment
  11. Design and Realization of Heterogeneous Database Conversion and Integration
    WuYan ·Southwest Jiaotong University ·2012 ·Master's thesis
  12. Identification and Query Algorithm of Extended XML Tree Pattern for XQuery Programs
    ChenJunPeng ·Beijing University of Technology ·2013 ·Master's thesis
  13. A Twig Query Oriented XML Type Inference
    LuoQing ·Beijing University of Technology ·2013 ·Master's thesis
  14. A Design and Implementation of the Foreign Trade Goods Inventory Management System Based on XML Date Storage Techonlogy
    LiuYiYue ·Jilin University ·2013 ·Master's thesis
  15. Study on Native XML Database Based on Product Life Cycle Data
    LiangPing ·Hefei University of Technology ·2006 ·Doctoral dissertation
  16. Research on the Semantics of XML Family Languages
    YangHongLi ·Northwestern University ·2003 ·Doctoral dissertation
  17. XML-based data integration research and application
    YanMeiJuan ·Central South University ·2004 ·Master's thesis
  18. Research on Key Technology of XML-based Data Integration Platform
    ZhangXueJie ·Hohai University ·2004 ·Master's thesis
  19. Book metadata XML-based system
  20. XML technology in research and application of information technology examination system
    LiYaWei ·Shandong Normal University ·2004 ·Master's thesis