Supporting fine-grained database lineage tracking
by Zhang, Mingwu, Ph.D., PURDUE UNIVERSITY, 2008, 128 pages; 3330583

Abstract:

Lineage, which records the origin of the data and the process by which the data are derived, is critical for many applications. This dissertation addresses several shortcomings of databases for supporting fine-grained lineage. First, frequent updates complicate lineage tracing. Since the data derivation may be expensive, changes in base data are not always propagated to the derived data immediately. This leads to an inconsistent state in the data and to stale lineage. We propose tracing lineage with multiple versions of data. Maintaining multiple versions of the data and their fine-grained lineage ensures that the lineage is always correct. Moreover, current methods trace lineage backward at users' requests and the lineage then, is not stored. To enable ad hoc queries over lineage, we advocate tracing lineage for all data and storing lineage in databases. Unfortunately, the current backward tracing approach is not efficient for tracing lineage for all data. To address this problem, we formally define forward lineage and prove its properties. We propose new query rewriting algorithms for Selection-Projection-Join (SPJ) and Aggregation-Selection-Projection (ASPJ) queries. In addition, our technique handles bag semantics, aggregations and nested sub-queries efficiently. Further, most current techniques focus on tracing internal fine-grained lineage where data is produced by a set of well-defined relational operators. As data is often processed outside databases, tracing lineage of the data produced by a black box function is inherently difficult. We propose a novel approach that instruments the binary code to enable external lineage tracing. This method is superior to prior work in that it is automatic and does not require any domain knowledge. We have implemented our techniques based on PostgreSQL and established the validity of the methods by testing with real data: We support new queries through materialized lineage; the forward method for tracing internal lineage incurs a low overhead for tracing all data lineage; the external lineage tracing technique has been used in a real scientific application and was found to be highly beneficial to our collaborators. Our techniques have broadened the scope of lineage, improved the quality of lineage, and enhanced the efficiency of tracing lineage.

 
AdvisersSunil Prabhakar; Xiangyu Zhang
SchoolPURDUE UNIVERSITY
SourceDAI/B 69-10, p. , Jan 2009
Source TypeDissertation
SubjectsComputer science
Publication Number3330583
Adobe PDF Access the complete dissertation:
 

» Find an electronic copy at your library.
  Use the link below to access a full citation record of this graduate work:
  http://gateway.proquest.com/openurl%3furl_ver=Z39.88-2004%26res_dat=xri:pqdiss%26rft_val_fmt=info:ofi/fmt:kev:mtx:dissertation%26rft_dat=xri:pqdiss:3330583
  If your library subscribes to the ProQuest Dissertations & Theses (PQDT) database, you may be entitled to a free electronic version of this graduate work. If not, you will have the option to purchase one, and access a 24 page preview for free (if available).

About ProQuest Dissertations & Theses
With over 2.3 million records, the ProQuest Dissertations & Theses (PQDT) database is the most comprehensive collection of dissertations and theses in the world. It is the database of record for graduate research.

The database includes citations of graduate works ranging from the first U.S. dissertation, accepted in 1861, to those accepted as recently as last semester. Of the 2.3 million graduate works included in the database, ProQuest offers more than 1.9 million in full text formats. Of those, over 860,000 are available in PDF format. More than 60,000 dissertations and theses are added to the database each year.

If you have questions, please feel free to visit the ProQuest Web site - http://www.proquest.com - or call ProQuest Hotline Customer Support at 1-800-521-3042.