On the complexity of approximate query optimization

  • Authors:
  • S. Chatterji;S. S. K. Evani;S. Ganguly;M. D. Yemmanuru

  • Affiliations:
  • University of California, Berkeley, CA;Sun Microsystems, Bangalore, India;Bell Labs, Lucent Technologies;Sun Microsystems, Bangalore, India

  • Venue:
  • Proceedings of the twenty-first ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this work, we study the complexity of the problem of approximate query optimization. We show that, for any δ 0, the problem of finding a join order sequence whose cost is within a factor 2Θ(log1-δ(K)) of K, where K is the cost of the optimal join order sequence is NP-Hard. The complexity gap remains if the number of edges in the query graph is constrained to be a given function e(n) of the number of vertices n of the query graph, where n(n - 1)/2 - Θ(nτ) ≥ e(n) ≥ n + Θ(nτ) and τ is any constant between 0 and 1. These results show that, unless P=NP, the query optimization problem cannot be approximately solved by an algorithm that runs in polynomial time and has a competitive ratio that is within some polylogarithmic factor of the optimal cost.