Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/1066157.1066216acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
Article

Lazy XML updates: laziness as a virtue, of update and structural join efficiency

Published: 14 June 2005 Publication History

Abstract

XML documents are normally stored as plain text files. Hence, the natural and most convenient way to update XML documents is to simply edit the text files. But efficient query evaluation algorithms require XML documents to be indexed. Every element is given a unique identifier based on its location in the document or its preorder-traversal order, and this identifier is later used as (part of) the key in the index. Reassigning orders of possibly a large number of elements is therefore necessary when the original XML documents are updated. Immutable dynamic labeling schemes have been proposed to solve this problem, that, however, require very long labels and may decrease query performance. If we consider a real-world scenario, we note that many relatively small ad-hoc XML segments are inserted/deleted into/from an existing XML database. In this paper, we start from this consideration and we propose a new lazy approach to handle XML updates that also improves query performance. The lazy approach: (i) completely avoids reassigning existing element orders after updates; (ii) improves query processing by taking advantages from segments. Experimental results show that our approach is much more efficient in handling updates than using immutable labeling and, at the same time, it also improves the performance of recently defined structural join algorithms.

References

[1]
S. Al-Khalifa et al. Structural Joins: A Primitive for Efficient XML Query Pattern Matching. In Proc. of Int. Conf. on Data Engineering, page 141--152, 2002.
[2]
N. Bruno, N. Koudas, and D. Srivastava. Holistic Twig Joins: Optimal XML Pattern Matching. In Proc. of the ACM SIGMOD Int. Conf. on Management of Data, pages 310--321, 2002.
[3]
S. Y. Chien et al. Efficient Structural Join on Indexed XML Documents. In Proc. of the Int. Conf. on Very Large Data Bases, pages 263--274, 2002.
[4]
E. Cohen, H. Kaplan, and T. Milo. Labeling Dynamic XML Tree, In Proc. of the ACM Int. Symp. on Principles of Database Systems, pages 271--281, 2002.
[5]
H. Jiang, H. Lu, W. Wang, and B. C. Ooi. XR-Tree: Indexing XML Data for Efficient Structural Joins. In Proc. of the Int. Conf. on Data Engineering, pages 253--263, 2003.
[6]
R. Kaushik, P. Bohannon, J. F. Naughton, and P. Shenoy. Updates for Structure Indexes. In Proc. of the Int. Conf. on Very Large Data Bases, pages 239--250, 2002.
[7]
Q. Li and B. Moon. Indexing and Querying XML Data for Regular Path Expressions. In Proc. of the Int. Conf. on Very Large Data Bases, pages 361--370, 2001.
[8]
P. E. O'Neil et al. ORDPATHs: Insert-Friendly XML Node Labels. In Proc. of the ACM SIGMOD Int. Conf. on Management of Data, pages 903--908, 2004.
[9]
A. Silberstein, H. He, K. Yi, and J. Yang. BOXes: Efficient Maintenance of Order-Based Labeling for Dynamic XML Data. In Proc. of the Int. Conf. on Data Engineering, 2005. To appear.
[10]
I. Tatarinov, Z. G. Ives, A. Y. Halevy, and D. S. Weld. Updating XML. In Proc. of the ACM SIGMOD Int. Conf. on Management of Data, 2001.
[11]
I. Tatarinov et al. Storing and Querying Ordered XML Using a Relational Database System. In Proc. of the ACM SIGMOD Int. Conf. on Management of Data, pages 204--215, 2002.
[12]
X. Wu, M. L. Lee, and W. Hsu. A Prime Number Labeling Scheme for Dynamic Ordered XML Trees. In Proc. of the Int. Conf. on Data Engineering, pages 66--78, 2004.
[13]
K. Yi, H. He, I. Stanoi, and J. Yang. Incremental Maintenance of XML Structural Indexes. In Proc. of the ACM SIGMOD Int. Conf. on Management of Data, pages 491--502, 2004.
[14]
C. Zhang et al. On Supporting Containment Queries in Relational Database Management Systems. In Proc. of the ACM SIGMOD Int. Conf. on Management of Data, pages 425--436, 2001.
[15]
IBM Alpha Works XML Generator. http://www.alphaworks.ibm.com/tech/xmlgeneratorhp
[16]
The XML Benchmark Project. http://www.xml-benchmark.org

Cited By

View all
  • (2020)Exploring XML Index Structures and Evaluating C-Tree Index-based Algorithm2020 3rd International Conference on Intelligent Sustainable Systems (ICISS)10.1109/ICISS49785.2020.9316052(212-218)Online publication date: 3-Dec-2020
  • (2016)Dynamic labeling scheme for XML updatesKnowledge-Based Systems10.1016/j.knosys.2016.05.039106:C(135-149)Online publication date: 15-Aug-2016
  • (2014)A scalable XML indexing method using MapReduceFourth edition of the International Conference on the Innovative Computing Technology (INTECH 2014)10.1109/INTECH.2014.6927757(81-86)Online publication date: Aug-2014
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGMOD '05: Proceedings of the 2005 ACM SIGMOD international conference on Management of data
June 2005
990 pages
ISBN:1595930604
DOI:10.1145/1066157
  • Conference Chair:
  • Fatma Ozcan
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 14 June 2005

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

SIGMOD/PODS05
Sponsor:

Acceptance Rates

Overall Acceptance Rate 785 of 4,003 submissions, 20%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)4
  • Downloads (Last 6 weeks)0
Reflects downloads up to 18 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2020)Exploring XML Index Structures and Evaluating C-Tree Index-based Algorithm2020 3rd International Conference on Intelligent Sustainable Systems (ICISS)10.1109/ICISS49785.2020.9316052(212-218)Online publication date: 3-Dec-2020
  • (2016)Dynamic labeling scheme for XML updatesKnowledge-Based Systems10.1016/j.knosys.2016.05.039106:C(135-149)Online publication date: 15-Aug-2016
  • (2014)A scalable XML indexing method using MapReduceFourth edition of the International Conference on the Innovative Computing Technology (INTECH 2014)10.1109/INTECH.2014.6927757(81-86)Online publication date: Aug-2014
  • (2014)Dynamically querying possibilistic XML dataInformation Sciences: an International Journal10.1016/j.ins.2013.11.011261(70-88)Online publication date: 1-Mar-2014
  • (2013)Efficient labeling scheme for dynamic XML treesInformation Sciences: an International Journal10.1016/j.ins.2012.09.036221(338-354)Online publication date: 1-Feb-2013
  • (2010)An Efficient Indexing and Compressing Scheme for XML Query ProcessingNetworked Digital Technologies10.1007/978-3-642-14292-5_8(70-84)Online publication date: 2010
  • (2008)How to edit gigabyte XML files on a mobile phone with XAS, RefTrees, and RAXSProceedings of the 5th Annual International Conference on Mobile and Ubiquitous Systems: Computing, Networking, and Services10.4108/ICST.MOBIQUITOUS2008.3556(1-10)Online publication date: 21-Jul-2008
  • (2008)Dynamic interval-based labeling scheme for efficient XML query and update processingJournal of Systems and Software10.1016/j.jss.2007.05.03481:1(56-70)Online publication date: 1-Jan-2008
  • (2008)Efficient updates in dynamic XML dataThe VLDB Journal — The International Journal on Very Large Data Bases10.1007/s00778-006-0021-217:3(573-601)Online publication date: 1-May-2008
  • (2008)Dynamic Labelling Scheme for XML Data ProcessingProceedings of the OTM 2008 Confederated International Conferences, CoopIS, DOA, GADA, IS, and ODBASE 2008. Part II on On the Move to Meaningful Internet Systems10.1007/978-3-540-88873-4_19(1183-1199)Online publication date: 9-Nov-2008
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media