IIT Database Group

header bar

Provenance for Nested Subqueries

Authors

Materials

Abstract

Data provenance is essential in applications such as scientific computing, curated databases, and data warehouses. Several systems have been developed that provide provenance functionality for the relational data model. These systems support only a subset of SQL, a severe limitation in practice since most of the application domains that benefit from provenance information use complex queries. Such queries typically involve nested subqueries, aggregation and/or user defined functions. Without support for these constructs, a provenance management system is of limited use. In this paper we address this limitation by exploring the problem of provenance derivation when complex queries are involved. More precisely, we demonstrate that the widely used definition of Why-provenance fails in the presence of nested subqueries, and show how the definition can be modified to produce meaningful results for nested subqueries. We further present query rewrite rules to transform an SQL query into a query propagating provenance. The solution introduced in this paper allows us to track provenance information for a far wider subset of SQL than any of the existing approaches. We have incorporated these ideas into the Perm provenance management system engine and used it to evaluate the feasibility and performance of our approach.

bibtex

@inproceedings{GA09a,
  author = {Glavic, Boris and Alonso, Gustavo},
  booktitle = {Proceedings of the 12th International Conference on Extending Database Technology},
  date-added = {2012-12-14 18:55:49 +0000},
  date-modified = {2012-12-14 18:55:49 +0000},
  keywords = {Provenance; Perm},
  pages = {982-993},
  pdfurl = {http://cs.iit.edu/%7edbgroup/assets/pdfpubls/GA09a.pdf},
  projects = {Perm},
  slideurl = {http://www.slideshare.net/lordPretzel/edbt-2009-provenance-for-nested-subqueries},
  title = {{Provenance for Nested Subqueries}},
  venueshort = {EDBT},
  year = {2009},
  bdsk-url-1 = {http://cs.iit.edu/%7edbgroup/assets/pdfpubls/GA09a.pdf}
}

Reference

Provenance for Nested Subqueries Boris Glavic and Gustavo Alonso Proceedings of the 12th International Conference on Extending Database Technology (2009), pp. 982–993.