paper-with-me

홈 › Papers

Adaptive Cardinality Estimation

2017-11-22 · Oleg Ivanov, Sergey Bartunov

In this paper we address cardinality estimation problem which is an important subproblem in query optimization. Query optimization is a part of every relational DBMS responsible for finding the best way of the execution for the given query. These ways are called plans. The execution time of different plans may differ by several orders, so query optimizer has a great influence on the whole DBMS performance. We consider cost-based query optimization approach as the most popular one. It was observed that cost-based optimization quality depends much on cardinality estimation quality. Cardinality of the plan node is the number of tuples returned by it. In the paper we propose a novel cardinality estimation approach with the use of machine learning methods. The main point of the approach is using query execution statistics of the previously executed queries to improve cardinality estimations. We called this approach adaptive cardinality estimation to reflect this point. The approach is general, flexible, and easy to implement. The experimental evaluation shows that this approach significantly increases the quality of cardinality estimation, and therefore increases the DBMS performance for some queries by several times or even by several dozens of times.

📄 PDF Abstract BibTeX arXiv:1711.08330

Code (2)

tigvarts/aqo 공식 구현
postgrespro/aqo

Similar Papers 제목 키워드 기반

Local Cluster Cardinality Estimation for Adaptive Mean Shift

2025-08-17 · Étienne Pepin arxiv

This article presents an adaptive mean shift algorithm designed for datasets with varying local scale and cluster cardinality. Local distance distributions, from a point to all others, are used to estimate the cardinalit…

DistJoin: A Decoupled Join Cardinality Estimator based on Adaptive Neural Predicate Modulation

2025-03-12 · Kaixin Zhang, Hongzhi Wang, ZiQi Li, Yabin Lu 외

Research on learned cardinality estimation has achieved significant progress in recent years. However, existing methods still face distinct challenges that hinder their practical deployment in production environments. We…

Cardinality Estimation in a Virtualized Network Device Using Online Machine Learning

2019-03-13 · Reuven Cohen, Yuval Nezri

Cardinality estimation algorithms receive a stream of elements, with possible repetitions, and return the number of distinct elements in the stream. Such algorithms seek to minimize the required memory and CPU resource c…

BIG-bench Machine LearningCPU

Cardinality Estimation for High Dimensional Similarity Queries with Adaptive Bucket Probing

2026-04-06 · Zhonghan Chen, Qintian Guo, Ruiyuan Zhang, Xiaofang Zhou arxiv

In this work, we address the problem of cardinality estimation for similarity search in high-dimensional spaces. Our goal is to design a framework that is lightweight, easy to construct, and capable of providing accurate…

Cardinality Estimation on Hyper-relational Knowledge Graphs

2024-05-24 · Fei Teng, Haoyang Li, Shimin Di, Lei Chen

Cardinality Estimation (CE) for query is to estimate the number of results without execution, which is an effective index in query optimization. Recently, CE over has achieved great success in knowledge graphs (KGs) that…

Graph Neural NetworkKnowledge Graphs