Evaluation of queries in independent database schemes

  • Authors:
  • Yehoshua Sagiv

  • Affiliations:
  • Hebrew Univ., Jerusalem, Israel

  • Venue:
  • Journal of the ACM (JACM)
  • Year:
  • 1991

Quantified Score

Hi-index 0.01

Visualization

Abstract

A simple characterization of independent database schemes is proved. An algorithm is given for translating a tableau T, posed as a query on a representative instance, to a union of tableaux that is equivalent to T, but can be applied directly to database relations. The algorithm may take exponential time (in the size of T and the database scheme), and it is applicable only to independent database schemes. If T is a just a projection of a representative instance, then the algorithm has a simpler form (which is still exponential in the worst case) and is polynomial in some cases.