Magic mirror in my hand, which is the best in the land?
Authors:
Open Access
- 1 July 2020
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Proceedings of the VLDB Endowment
- Vol. 13 (12) , 2382-2395
Abstract
Indexes are essential for the efficient processing of database workloads. Proposed solutions for the relevant and challenging index selection problem range from metadata-based simple heuristics, over sophisticated multi-step algorithms, to approaches that yield optimal results. The main challenges are (i) to accurately determine the effect of an index on the workload cost while considering the interaction of indexes and (ii) a large number of possible combinations resulting from workloads containing many queries and massive schemata with possibly thousands of attributes. In this work, we describe and analyze eight index selection algorithms that are based on different concepts and compare them along different dimensions, such as solution quality, runtime, multi-column support, solution granularity, and complexity. In particular, we analyze the solutions of the algorithms for the challenging analytical Join Order, TPC-H, and TPC-DS benchmarks. Afterward, we assess strengths and weaknesses, infer insights for index selection in general and each approach individually, before we give recommendations on when to use which approach.Keywords
This publication has 18 references indexed in Scilit:
- Cost-Model Oblivious Database Tuning with Reinforcement Learning2015
- CoPhyProceedings of the VLDB Endowment, 2011
- Index interactions in physical design tuningProceedings of the VLDB Endowment, 2009
- B-tree indexes for high update ratesACM SIGMOD Record, 2006
- Database Tuning Advisor for Microsoft SQL Server 20052004
- New TPC benchmarks for decision support and web commerceACM SIGMOD Record, 2000
- A branch-and-cut algorithm for a generalization of the Uncapacitated Facility Location ProblemTOP, 1996
- Exact and approximate algorithms for the index selection problem in physical database designIEEE Transactions on Knowledge and Data Engineering, 1995
- The optimal selection of secondary indices is NP-completeACM SIGMOD Record, 1983
- An optimization problem on the selection of secondary keys1971