Implementing Federated Databases Systems by Compiling SchemaSQL

  • Authors:
  • Francois Barbancon;Daniel P. Miranker

  • Affiliations:
  • -;-

  • Venue:
  • IDEAS '02 Proceedings of the 2002 International Symposium on Database Engineering & Applications
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

Federated systems integrating data from multiple sources must cope with semantic heterogeneity by reasoning over both the data and meta-data of their sources. SchemaSQL is one of a number of related higher-order languages, which have been proposed for succinctly expressing integrated views over heterogeneous sources.We define a method for compiling SchemaSQL into standard SQL. We show that the output of the compilation algorithm is of size O(m+p) where m is the size of the catalogs and p the size of input queries. The resulting code may be executed by existing conventional SQL query engines without modification. We extend our basic compilation method by including type driven optimizations which, empirical evaluation shows, yield an effective execution by native query engines. Prior efforts do not provide feasible guarantees on the size of the compiled programs or require the development of new query engines encompassing higher-order queryoperators.