Article
Title: "Learning From User-Specified Optimizer Hints in Database Systems"
Authors: Maciej Zakrzewicz
Pages: 181-197
DOI: 10.2478/fcds-2024-0011
Abstract:

Recently, numerous machine learning (ML) techniques have been applied to address database performance management problems, including cardinality estimation, cost modeling, optimal join order prediction, hint generation, etc. In this paper, we focus on query optimizer hints employed by users in their queries in order to mask some Query Optimizer deficiencies. We treat the query optimizer hints, bound to previous queries, as significant additional query metadata and learn to automatically predict which new queries will pose similar performance challenges and should therefore also be supported by query optimizer hints. To validate our approach, we have performed a number of experiments using real-life SQL workloads and we achieved promising results.

Open access to full text at De Gruyter Online