Stephan Ewen, Michael Ortega-Binderberger, et al.
Informatik - Forschung und Entwicklung
LEO is a comprehensive way to repair incorrect statistics and cardinality estimates of a query execution plan. LEO introduces a feedback loop to query optimization that enhances the available information on the database where the most queries have occurred, allowing the optimizer to actually learn from its past mistakes. We demonstrate how LEO learns outdated table access statistics on a TPC-H like database schema and show that LEO improves the estimates for table cardinalities as well as filter factors for single predicates. Thus LEO enables the query optimizer to choose a better query execution plan, resulting in more efficient query processing. We not only demonstrate learning by repetitive execution of a single query, but also illustrate how similar, but not identical queries benefit from learned knowledge. In addition, we show the effect of both learning cardinalities and adjusting related statistics.
Stephan Ewen, Michael Ortega-Binderberger, et al.
Informatik - Forschung und Entwicklung
Christian M. Garcia-Arellano, Sam S. Lightstone, et al.
IEEE Transactions on Systems, Man and Cybernetics Part C: Applications and Reviews
Peter J. Haas, Fabian Hueske, et al.
VLDB 2007
Qiong Luo, Sailesh Krishnamurthy, et al.
SIGMOD 2002