Back to Search Start Over

On the Selection of an Optimal Set of Indexes.

Authors :
Ip, Maggie Y. L.
Saxton, L. V.
Raghavan, Vijay V.
Source :
IEEE Transactions on Software Engineering. Mar83, Vol. 9 Issue 2, p135-143. 9p. 3 Charts.
Publication Year :
1983

Abstract

-c_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. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
00985589
Volume :
9
Issue :
2
Database :
Academic Search Index
Journal :
IEEE Transactions on Software Engineering
Publication Type :
Academic Journal
Accession number :
14379665