Provenance for Nested Subqueries (bibtex)
by Boris Glavic, Gustavo Alonso
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.
Reference:
Provenance for Nested Subqueries (Boris Glavic, Gustavo Alonso), In Proceedings of the 12th International Conference on Extending Database Technology (EDBT), 2009.
Bibtex Entry:
@inproceedings{GA09a,
	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. },
	Author = {Boris Glavic and Gustavo Alonso},
	Booktitle = {Proceedings of the 12th International Conference on Extending Database Technology (EDBT)},
	Date-Added = {2012-12-14 18:55:49 +0000},
	Date-Modified = {2012-12-14 18:55:49 +0000},
	Keywords = {Provenance; Perm},
	Pages = {982-993},
	Slideurl = {http://www.slideshare.net/lordPretzel/edbt-2009-provenance-for-nested-subqueries},
	Title = {{Provenance for Nested Subqueries}},
	Url = {http://cs.iit.edu/%7edbgroup/pdfpubls/GA09a.pdf},
	Venueshort = {EDBT},
	Year = {2009},
	Bdsk-Url-1 = {http://cs.iit.edu/%7edbgroup/pdfpubls/GA09a.pdf}}
Powered by bibtexbrowser