Elsevier

Information Sciences

Volume 50, Issue 3, April 1990, Pages 219-240
Information Sciences

Adaptive selection of query execution strategies by learning automata

https://doi.org/10.1016/0020-0255(90)90012-YGet rights and content

Abstract

The traditional approach to evaluate query execution strategies using approximate cost models may be inadequate for particular environments. For instance, if the environment does not satisfy the assumptions made by the cost model, the cost estimates can be so distorted that expensive strategies will be chosen. We propose a new approach for choosing execution strategies based on the actual cost history of query execution under various strategies, rather than on assumption-loaded estimates of these costs. Adaptive selection automatically changes the strategies selected, tracking cost variations caused by changes in the database state and query load. Furthermore, it does not require any assumptions about internal database structures, data characteristics, or distribution of queries. Queries are divided into query classes, where all queries in a class share the same execution strategies. A learning automaton is then used for each class to infer over time which are the current best strategies, based on actual query execution costs. We show the results of running the adaptive selector using real query loads for an existing database.

References (30)

  • S. Christodoulakis

    Estimating block selectivities

    Inform. Systems

    (1984)
  • S. Christodoulakis

    Estimating record selectivities

    Inform. Systems

    (1983)
  • S.E. Clausen

    Optimizing the evaluation of calculus expressions in a relational database system

    Inform. Systems

    (1980)
  • D.A. Berry et al.

    Bandit Problems

    (1985)
  • R.G. Brown

    Smoothing, Forecasting and Prediction of Discrete Time Series

    (1962)
  • I.R. Casas-Raposo

    Prophet: A Layered Analytical Model for Performance Prediction of Database Systems

  • S. Christodoulakis

    Implications of certain assumptions in database performance evaluation

    ACM Trans. Database Systems

    (1984)
  • U. Dayal et al.

    Query optimization for codasyl database systems

  • R. Demolombe

    Estimation of the number of tuples satisfying a query expressed in predicate calculus language

  • G. Graefe et al.

    The exodus optimizer generator

  • R.E. Griswold et al.

    The Icon Programming Language

    (1983)
  • M. Hammer et al.

    Index selection in a self-adaptive data base management system

  • J.I. Icaza

    Adaptive Selection of Query Execution Strategies

  • N. Kamel et al.

    A model of data distribution based on texture analysis

  • G.C. Magalhaes

    Improving the Performance of Database Systems

  • Cited by (0)

    Current address: Division de Graduados e Investigacion, Instituto Tecnologico de Monterrey, Monterrey N.L., Mexico.

    View full text