Efficiently supporting order in XML query processing

被引:2
|
作者
El-Sayed, M [1 ]
Dimitrova, K
Rundensteiner, EA
机构
[1] Worcester Polytech Inst, Dept Comp Sci, Worcester, MA 01609 USA
[2] Microsoft Corp, Redmond, WA 98052 USA
关键词
XML query; XQuery; order in XML; query algebra; XML data management systems;
D O I
10.1016/j.datak.2004.11.001
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
XML is an ordered data model and XQuery expressions return results that have a well-defined order. However, little work on how order is supported in XML query processing has been done to date. In this paper we study the issues related to handling order in the XML context, namely challenges imposed by the XML data model, the variety of order requirements of the XQuery language, and the need to maintain order in the presence of updates to the XML data. We propose an efficient solution that addresses all these issues. Our solution is based on a key encoding for XML nodes that serves as node identity and at the same time encodes order. We design rules for encoding order of processed XML nodes based on the XML algebraic query execution model and the node key encoding. These rules do not require any actual sorting for intermediate results during execution. Our approach enables efficient order-sensitive incremental view maintenance as it makes most XML algebra operators distributive with respect to bag union. We prove the correctness of our order encoding approach. Our approach is implemented and integrated with Rainbow, an XML data management system developed at WPI. We have tested the efficiency of our approach using queries that have different order requirements. We have also measured the relative cost of different components related to our order solution in different types of queries. In general the overhead of maintaining order in our approach is very small relative to the query processing.: time. (c) 2004 Elsevier B.V. All rights reserved.
引用
收藏
页码:355 / 390
页数:36
相关论文
共 50 条
  • [1] Supporting web query expansion efficiently using multi-granularity indexing and query processing
    Li, WS
    Agrawal, D
    [J]. DATA & KNOWLEDGE ENGINEERING, 2000, 35 (03) : 239 - 257
  • [2] XML query processing
    Florescu, D
    Kossmann, D
    [J]. 20TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, PROCEEDINGS, 2004, : 874 - 874
  • [3] XML query processing and optimization
    Zhang, N
    [J]. CURRENT TRENDS IN DATABASE TECHNOLOGY - EDBT 2004 WORKSHOPS, PROCEEDINGS, 2004, 3268 : 121 - 132
  • [4] Structural XML Query Processing
    Baca, Radim
    Kratky, Michal
    Holubova, Irena
    Necasky, Martin
    Skopal, Tomas
    Svoboda, Martin
    Sakr, Sherif
    [J]. ACM COMPUTING SURVEYS, 2017, 50 (05)
  • [5] Query processing system for XML
    Savnik, Iztok
    [J]. GET THE GOOD CRIS GOING: ENSURING QUALITY OF SERVICE FOR THE USER IN THE ERA, 2008, : 215 - 219
  • [6] Encrypted XML Data Query Processing with Range Query
    Liu, Baolong
    Chen, Hua
    Guo, Yi
    [J]. MECHATRONIC SYSTEMS AND AUTOMATION SYSTEMS, 2011, 65 : 241 - 245
  • [7] Efficient XML query processing in mediators
    Yang, LH
    Tang, S
    Yang, DQ
    Chen, LJ
    [J]. 12TH INTERNATIONAL WORKSHOP ON DATABASE AND EXPERT SYSTEMS APPLICATIONS, PROCEEDINGS, 2001, : 27 - 31
  • [8] Query Processing for Heterogeneous XML Streams
    Yang, Weidong
    Yang, Xiaodong
    Yuan, Bowen
    [J]. 8TH IEEE INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION TECHNOLOGY WORKSHOPS: CIT WORKSHOPS 2008, PROCEEDINGS, 2008, : 139 - 144
  • [9] The importance of algebra for XML query processing
    Paparizos, Stelios
    Jagadish, H. V.
    [J]. CURRENT TRENDS IN DATABASE TECHNOLOGY - EDBT 2006, 2006, 4254 : 126 - 135
  • [10] A Review on XML Keyword Query Processing
    Lambole, Prashant R.
    Chatur, Prashant N.
    [J]. 2017 INTERNATIONAL CONFERENCE ON INNOVATIVE MECHANISMS FOR INDUSTRY APPLICATIONS (ICIMIA), 2017, : 238 - 241