Estimating and bounding aggregations in databases with referential integrity errors

  • Authors:
  • Javier García-García;Carlos Ordonez

  • Affiliations:
  • Universidad Nacional Autónoma de México, Mexico City, Mexico;University of Houston, Houston, TX, USA

  • Venue:
  • Proceedings of the ACM 11th international workshop on Data warehousing and OLAP
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Database integration builds on tables coming from multiple databases by creating a single view of all these data. Each database has different tables, columns with similar content across databases and different referential integrity constraints. Thus, a query in an integrated database is likely to involve tables and columns with referential integrity errors. In a data warehouse environment, even though the ETL processes take care of the referential integrity errors, in many scenarios this is generally done by including 'dummy' records in the dimension tables used to relate to the fact tables with referential errors. When two tables are joined, and aggregations are computed, the tuples with an undefined foreign key value are aggregated in a group marked as undefined effectively discarding potentially valuable information. With that motivation in mind, we extend aggregate functions computed over tables with referential integrity errors on OLAP databases to return complete answer sets in the sense that no tuple is excluded. We associate to each valid reference, the probability that an invalid reference may actually be a certain correct reference. The main idea of our work is that in certain contexts, it is possible to use tuples with invalid references by taking into account the probability that an invalid reference actually be a certain correct reference. This way, improved answer sets are obtained from aggregate queries in settings where a database violates referential integrity constraints.