2022 IEEE 38th International Conference on Data Engineering (ICDE) · 2022 · 33 citations · 34 references
ComputingComputer EngineeringComputer ScienceData StructuresDatabasesInformation RetrievalQuery OptimizationQuery ProcessingDynamic IndexingIncremental Index UpdateIncremental IndexingIndex ManagementIndexesIndexingMonte Carlo Tree SearchWorkload
Indexes are vital to enhance the lookup on single or multiple columns, and building proper indexes can significantly improve the database performance. Existing works focus on adding new indexes that can benefit the read queries, but they have several limitations. First, real-world workloads may have numerous queries and it is tricky to analyze their index requirements and find the most beneficial indexes within resource limit. Second, they fail to consider the update of existing indexes, which may be redundant or even have negative effects to current workload. Third, they cannot estimate the index maintenance costs, which are affected by multiple index utilization factors and can significantly affect the index benefits, especially for high-write-ratio workloads. To address those challenges, we propose an incremental index management system Autoindex for dynamic workloads. First, to support incremental index management, we map the incoming queries into query templates and efficiently generate promising candidate indexes from matched templates. And then we propose to utilize Monte Carlo Tree Search to incrementally add indexes from the candidate indexes or remove indexes from existing indexes, so as to ensure high workload performance. Besides, we propose a deep index estimation model, which integrates the practical experience to extract critical cost features and applies deep regression to estimate index benefits from historical index management data. We have implemented the modules like candidate index generation and index estimator in an open-sourced database system openGauss. Experimental re-sults showed that our method outperformed existing approaches on both testing and real-world workloads.
34
LEO - DB2's LEarning Optimizer
Michael Stillger, Guy M. Lohman, Volker Markl et al. · Very Large Data Bases · 2001 · 305 citations
DB2 advisor: an optimizer smart enough to recommend its own indexes
Gary Valentin, Michael J. Zuliani, Daniel C. Zilio et al. · 2002 · 290 citations
Guoliang Li, Xuanhe Zhou, Shifu Li et al. · Proceedings of the VLDB Endowment · 2019 · 235 citations
An end-to-end learning-based cost estimator
Ji Sun, Guoliang Li · Proceedings of the VLDB Endowment · 2019 · 234 citations