• DocumentCode
    754229
  • Title

    On the Selection of an Optimal Set of Indexes

  • Author

    Ip, Maggie Y L ; Saxton, L.V. ; Raghavan, Vijay V.

  • Author_Institution
    Datatron Processing & Systems Ltd.
  • Issue
    2
  • fYear
    1983
  • fDate
    3/1/1983 12:00:00 AM
  • Firstpage
    135
  • Lastpage
    143
  • Abstract
    A problem of considerable interest in the design of a database is the selection of indexes. In this paper, we present a probabilistic model of transactions (queries, updates, insertions, and deletions) to a file. An evaluation function, which is based on the cost saving (in terms of the number of page accesses) attributable to the use of an index set, is then developed. The maximization of this function would yield an optimal set of indexes. Unfortunately, algorithms known to solve this maximization problem require an order of time exponential in the total number of attributes in the file. Consequently, we develop the theoretical basis which leads to an algorithm that obtains a near optimal solution to the index selection problem in polynomial time. The theoretical result consists of showing that the index selection problem can be solved by solving a properly chosen instance of the knapsack problem. A theoretical bound for the amount by which the solution obtained by this algorithm deviates from the true optimum is provided. This result is then interpreted in the light of evidence gathered through experiments.
  • Keywords
    Approximation algorithm; attribute selection; complexity; index selection; knapsack problem; secondary index; Computer science; Context modeling; Cost function; Councils; Database systems; Degradation; Indexes; Polynomials; Software algorithms; Transaction databases; Approximation algorithm; attribute selection; complexity; index selection; knapsack problem; secondary index;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.1983.236458
  • Filename
    1703030