Research on the Technique of Schema-Based XQuery Optimization and Parallel Processing

Author
ShiZhong
Advisor
YuGe
School
Northeastern University
Major
Applied Computer Technology
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2010
Downloads
12
Citations
0

Request the full text

Abstract

With the repaid development of Web techniques and Web applications, XML is emerging as a standard data format for data presentation and exchange on the Web. It is widely applied in many important areas, such as electronic data exchange, science data, e-commerce and search engines, and there are a large number of XML documents existing on the Web. However, XML data is a kind of semi-structured data which has features from both text and structured data, which takes challenges on querying XML data. Though a language XQuery has been proposed by W3C organization to satisfy the requirement of querying XML data, the feature of semi-structured data and the complexity of XQuery make that traditional technique of query optimization in database is hardly satisfied for the performance requirement of XQuery processing.To improve the efficiency of query processing on XML data, this paper mainly researches on the technique of query optimization for XQuery and the technique of parallel processing on XML data. For query optimization, this paper proposes a kind of schema-based XML index, SBDI, which supports dynamic update and use paths in XML schema to improve the query efficiency of path expression in XQuery. Firstly, XML Schema firstly is mapped as a tree. We encode both XML Schema and XML document with the DDE encoding. The document index and schema index is created based on the encoding information, and the schema encoding information is also integrated into the document index. The advantage of this index is there is no encode vacuum reserved for update, which helps the index supports data update without reconstructed. Furthermore, this paper proposes the strategy of query processing based on SBDI index, which includes two optimizing strategies for processing path expression and three rewriting rules for FLWOR expression.To address the efficiency problem of querying on large XML document, this paper researches on the technique of parallel processing in Native XML Database System based on the architecture of pureXBase system. By analyzing the parallel processing mechanism for XML data and PSPIB parallel partitioning strategies, based on XMark benchmark, this paper proposes two strategies of query decomposition for path with "//" expression and FLWOR expression, and three stra(?)egies of results merg(?)g for eliminating redundancies, type conversion and sequence scan.The experimental results show that the index and optimizing strategies we proposed has higher performance on query processing than existing methods, and the cost of update operation is less than existing index structure. The experiments on parallel processing verified that strategies of query decomposition and strategies of results merging can improve the performance of processing large XML documents on processing time and speedup ratio. The research work of this paper will be helpful to improve the performance of processing XML data in database system.

Table of contents

Summary 5-6 Abstract 6-10 Chapter 1 Introduction 10-18 1.1 subject background 10-12 1.2 domestic and foreign research status 12-15 1.3 content of this research 15-16 1.4 This article organizational structure 16-18 Chapter 2 related concepts and technologies 18-32 2.1 XML Introduction 18-19 Features 2.1.1 XML data 18 2.1. 2 XML document 18-19 2.2 XML Schema 19-20 2.3 XML query language 20-23 2.3.1 XPath 20-22 2.3.2 XQuery 22-23 2.4 XMark introduced 23-30 2.5 Summary 30-32 <br / > Chapter 3 index structure based on XML SCHEMA is 32-44 Definition 3.1 issues 32-33 3.2 SBDI index creation 33-39 3.2.1 XML data preprocessing 33-35 3.2.2 XML Schema pretreatment 35-36 3.2.3 XML and XML Schema encoding 36 - 39 3.3 SBDI index structure 39-42 3.3.1 XML Schema index 39-40 3.3.2 XML index 40-42 3.4 SBDI index management 42 3.5 Summary 42-44 Chapter 4 of XQUERY based SBDI query optimization strategies 44-58 4.1 XQuery processing 44-45 4.2 path expression query optimization 45-51 4.2.1 simple Path path expression optimization strategy 48 - 49 4.2.2 Twig query optimization strategy 49-51 4.3 FLWOR expression query optimization 51-53 4.4 experiments and performance analysis 53 -56 nbsp 4.4.1 experimental environment ; 53 4.4.2 indexing performance tests 53-54 4.4.3 maintenance cost index test 54 -55 4.4.4 query optimizer performance test 55-56 4.5 Summary 56-58 Chapter 5, based on parallel query strategy nbsp PUREXBASE of ; architecture 58-71 5.1 pureXBase of 58-59 Definition 5.2 issues 59-60 5.3 XML parallel processing strategy 60-66 5.3.1 XML parallel execution processes 60-61 5.3.2 query decomposition strategy 61-63 5.3.3 result of the merger strategy 63 -66 5.4 experiments and performance analysis 66-69 5.4.1 parallel database system performance testing standards 66 5.4.2 test environment and datasets 66-67 5.4.3 query response time test 67-68 5.4.4 speedup and zoom ratio test 68-69 5.5 chapter Summary 69-71 Chapter 6 Conclusion 71-73 the main contribution of this paper and conclusions 6.1 71 6.2 further work 71-73 References 73-77 Thanks participated in the attack during a 77-79 master projects and published papers 79

Related dissertations

  1. XQuery Query Processor Design and Implementation
  2. The Research on Optimization of Parallel Data Query Based on Multi-processor
  3. Research on XML-Based Middleware for Data Integration
    HongZuoZuo ·Hohai University ·2003 ·Master's thesis
  4. Study on XQuery Language
    ZhuHongTao ·Central China Normal University ·2005 ·Master's thesis
  5. Research and Implementation of XML query processing techniques
    WangZhaoYue ·Zhejiang University ·2002 ·Master's thesis
  6. Research on Query Optimization Technologies in XML Database
    ZhangGangGang ·Harbin Engineering University ·2008 ·Master's thesis
  7. Application in Practical Project Based on Index of XQuery Optimization Algorithm
  8. Query Optimization Research of Analysis Database and Its Implementation
    LiRui ·Jilin University ·2009 ·Master's thesis
  9. Optimization of XQuery query language
  10. Research and Application of XBRL Optimized Query Processing Base on XQuery
    WangWenTao ·Dalian University of Technology ·2011 ·Master's thesis
  11. Research on Surface Defects Visual Inspection System for Metal Components
    NieZhenYu ·Central South University ·2013 ·Master's thesis
  12. Research on Acceleration Technology of IPSec VPN Base on GPU
  13. Application and Research of Complex Event Processing in Centralized Monitoring of the Distributed System
    CaoBin ·Donghua University ·2014 ·Master's thesis
  14. Approximate String Matching and Optimizition Techniques Using Reversed Filter
    PeiTao ·Northeastern University ·2013 ·Master's thesis
  15. Study on Several Methods for Digital Video/Image Restoration
    HuoXing ·Hefei University of Technology ·2013 ·Doctoral dissertation
  16. Study of Visual Tracking Algorithm Based on CUDA
    ZhangPing ·Beijing Jiaotong University ·2014 ·Master's thesis
  17. Research on Query Estimation Techniques on Dirty Database Management System
    YangLong ·Harbin Institute of Technology ·2012 ·Master's thesis
  18. Database Query Optimization Program Research and Implementation on PAR Platform
    TangQin ·Jiangxi Normal University ·2013 ·Master's thesis
  19. Research on XML Data Cube Based on Tree Structure
  20. Research of Selectivity Estimation Algorithm for String Predicates Based on Modiifed PST
    ZhangQiXu ·South China University of Technology ·2013 ·Master's thesis