Journal of Computer Science and Technology

, Volume 23, Issue 4, pp 516–537

Updating Recursive XML Views of Relations

  • Byron Choi
  • Gao Cong
  • Wenfei Fan
  • Stratis D. Viglas
Regular Paper

DOI: 10.1007/s11390-008-9150-y

Cite this article as:
Choi, B., Cong, G., Fan, W. et al. J. Comput. Sci. Technol. (2008) 23: 516. doi:10.1007/s11390-008-9150-y

Abstract

This paper investigates the view update problem for XML views published from relational data. We consider XML views defined in terms of mappings directed by possibly recursive DTDs compressed into DAGs and stored in relations. We provide new techniques to efficiently support XML view updates specified in terms of XPath expressions with recursion and complex filters. The interaction between XPath recursion and DAG compression of XML views makes the analysis of the XML view update problem rather intriguing. Furthermore, many issues are still open even for relational view updates, and need to be explored. In response to these, on the XML side, we revise the notion of side effects and update semantics based on the semantics of XML views, and present effecient algorithms to translate XML updates to relational view updates. On the relational side, we propose a mild condition on SPJ views, and show that under this condition the analysis of deletions on relational views becomes PTIME while the insertion analysis is NP-complete. We develop an efficient algorithm to process relational view deletions, and a heuristic algorithm to handle view insertions. Finally, we present an experimental study to verify the effectiveness of our techniques.

Keywords

XML XML publishing XML views view update 

Supplementary material

11390_2008_9150_MOESM1_ESM.pdf (132 kb)
(PDF 132 kb)

Copyright information

© Springer 2008

Authors and Affiliations

  • Byron Choi
    • 1
    • 4
  • Gao Cong
    • 2
    • 4
  • Wenfei Fan
    • 3
    • 4
  • Stratis D. Viglas
    • 4
  1. 1.Division of Information System, School of Computer EngineeringNanyang Technological UniversitySingaporeSingapore
  2. 2.Microsoft Research AsiaBeijingChina
  3. 3.Bell LaboratoriesMurray HillU.S.A.
  4. 4.University of EdinburghEdinburghU.K.