PAPER DIGEST
Most Influential SIGMOD 2002 Paper · 2026-03 edition

Storing And Querying Ordered XML Using A Relational Database System

Igor Tatarinov, Stratis D. Viglas, Kevin Beyer, Jayavel Shanmugasundaram, Eugene Shekita, Chun Zhang

Venue
ACM SIGMOD Conference (SIGMOD) 2002
Recognition
Most Influential SIGMOD 2002 Paper (Rank No. 1)
Edition
2026-03
Impact factor
9
Certificate ID
7257790309643c1c

Abstract

XML is quickly becoming the <i>de facto</i> standard for data exchange over the Internet. This is creating a new set of data management requirements involving XML, such as the need to store and query XML documents. Researchers have proposed using relational database systems to satisfy these requirements by devising ways to "shred" XML documents into relations, and translate XML queries into SQL queries over these relations. However, a key issue with such an approach, which has largely been ignored in the research literature, is how (and whether) the <i>ordered</i> XML data model can be efficiently supported by the unordered relational data model. This paper shows that XML's ordered data model can indeed be efficiently supported by a relational database system. This is accomplished by encoding order as a data value. We propose three <i>order encoding methods</i> that can be used to represent XML order in the relational data model, and also propose algorithms for translating ordered XPath expressions into SQL using these encoding methods. Finally, we report the results of an experimental study that investigates the performance of the proposed order encoding methods on a workload of ordered XML queries and updates.

Download PDF certificate