Index selection for databases: a hardness study and a principled heuristic solution
Index selection for databases: a hardness study and a principled heuristic solution
复制标题
数据库的索引选择:硬度研究和原则启发式解决方案
DOI:
--
复制
发表时间:
2004
影响因子:
8.9
通讯作者:
Vivek R. Narasayya
中科院分区:
文献类型:
--
作者:
S. Chaudhuri;Mayur Datar;Vivek R. Narasayya
We study the index selection problem: Given a workload consisting of SQL statements on a database, and a user-specified storage constraint, recommend a set of indexes that have the maximum benefit for the given workload. We present a formal statement for this problem and show that it is computationally "hard" to solve or even approximate it. We develop a new algorithm for the problem which is based on treating the problem as a knapsack problem. The novelty of our approach lies in an LP (linear programming) based method that assigns benefits to individual indexes. For a slightly modified algorithm, that does more work, we prove that we can give instance specific guarantees about the quality of our solution. We conduct an extensive experimental evaluation of this new heuristic and compare it with previous solutions. Our results demonstrate that our solution is more scalable while achieving comparable quality.