Cardinality estimation done right: Index-based join sampling

Viktor Leis, Bernhard Radke, Andrey Gubichev, Alfons Kemper, Thomas Neumann

Research output: Contribution to conferencePaperpeer-review

95 Scopus citations

Abstract

After four decades of research, today’s database systems still suffer from poor query execution plans. Bad plans are usually caused by poor cardinality estimates, which have been called the “Achilles Heel” of modern query optimizers. In this work we propose index-based join sampling, a novel cardinality estimation technique for main-memory databases that relies on sampling and existing index structures to obtain accurate estimates. Results on a real-world data set show that this approach significantly improves estimation as well as overall plan quality. The additional sampling effort is quite low and can be configured to match the desired application profile. The technique can be easily integrated into most systems.

Original languageEnglish
StatePublished - 2017
Event8th Biennial Conference on Innovative Data Systems Research, CIDR 2017 - Santa Cruz, United States
Duration: 8 Jan 201711 Jan 2017

Conference

Conference8th Biennial Conference on Innovative Data Systems Research, CIDR 2017
Country/TerritoryUnited States
CitySanta Cruz
Period8/01/1711/01/17

Fingerprint

Dive into the research topics of 'Cardinality estimation done right: Index-based join sampling'. Together they form a unique fingerprint.

Cite this