Skip to main content
Log in

Parametric query optimization

  • Published:
The VLDB Journal Aims and scope Submit manuscript

Abstract.

In most database systems, the values of many important run-time parameters of the system, the data, or the query are unknown at query optimization time. Parametric query optimization attempts to identify at compile time several execution plans, each one of which is optimal for a subset of all possible values of the run-time parameters. The goal is that at run time, when the actual parameter values are known, the appropriate plan should be identifiable with essentially no overhead. We present a general formulation of this problem and study it primarily for the buffer size parameter. We adopt randomized algorithms as the main approach to this style of optimization and enhance them with a sideways information passing feature that increases their effectiveness in the new task. Experimental results of these enhanced algorithms show that they optimize queries for large numbers of buffer sizes in the same time needed by their conventional versions for a single buffer size, without much sacrifice in the output quality and with essentially zero run-time overhead.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Edited by S. Zdonik / Received June 1993 / Accepted April 1996

Rights and permissions

Reprints and permissions

About this article

Cite this article

Ioannidis, Y., Ng, R., Shim, K. et al. Parametric query optimization. The VLDB Journal 6, 132–151 (1997). https://doi.org/10.1007/s007780050037

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s007780050037

Keywords

Navigation