Skip to main navigation Skip to search Skip to main content

An XML-based approach to publishing and querying the history of databases

  • University of California at Los Angeles

Research output: Contribution to journalArticlepeer-review

20 Scopus citations

Abstract

There is much current interest in publishing and viewing databases as XML documents. The general benefits of this approach follow from the popularity of XML and the tool set available for visualizing and processing information encoded in this universal standard. In this paper, we explore the additional and unique benefits achieved by this approach on temporal database applications. We show that XML with XQuery can provide surprisingly effective solutions to the problem of supporting historical queries on past content of database relations and their evolution. Indeed, using XML, the histories of database relations can be naturally represented by temporally grouped data models. Thus, we identify mappings from relations to XML that are most conducive to modeling and querying database histories, and show that temporal queries that would be difficult to express in SQL can be easily expressed in standard XQuery. This approach is very general, insofar as it can be used to store the version history of arbitrary documents and, for relational databases, it also supports queries on the evolution of their schema. Then, we turn to the problem of supporting efficiently the storage and the querying of relational table histories. We present an experimental study of the pros and cons of using native XML databases, versus using traditional databases, where the XML-represented histories are supported as views on the historical tables.

Original languageEnglish
Pages (from-to)233-259
Number of pages27
JournalWorld Wide Web
Volume8
Issue number3
DOIs
StatePublished - Sep 2005

Keywords

  • Data archiving
  • Relational database history
  • Temporal databases
  • Temporal queries
  • XML publishing
  • XQuery

Fingerprint

Dive into the research topics of 'An XML-based approach to publishing and querying the history of databases'. Together they form a unique fingerprint.

Cite this