Skip to main navigation Skip to search Skip to main content

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

  • Barbara Catania*
  • , Wenqiang Wang
  • , Beng Chin Ooi
  • , Xiaoling Wang
  • *Corresponding author for this work
  • University of Genoa
  • National University of Singapore
  • Fudan University

Research output: Contribution to journalConference articlepeer-review

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.

Original languageEnglish
Pages (from-to)515-526
Number of pages12
JournalProceedings of the ACM SIGMOD International Conference on Management of Data
DOIs
StatePublished - 2005
Externally publishedYes
EventSIGMOD 2005: ACM SIGMOD International Conference on Management of Data - Baltimore, MD, United States
Duration: 14 Jun 200516 Jun 2005

Fingerprint

Dive into the research topics of 'Lazy XML updates: Laziness as a virtue of update and structural join efficiency'. Together they form a unique fingerprint.

Cite this