MariaDB and MySQL — What Statistics the Optimizer Uses
summary
Explains which table and column statistics MariaDB and MySQL optimizers use to estimate query costs and choose execution plans. Covers types of collected statistics (histograms, cardinality, NULL counts, etc.), how they are gathered and stored, and how better statistics lead to more accurate planner decisions for large multi‑gigabyte tables.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 2:16MySQL stats problems
- 7:32MariaDB solution
- 10:03Stats demo
- 13:39Histogram benefits
- 18:15Sampling extrapolation
- 20:36Summary and new features
- 23:53Q&A
related talks
35mMySQL Indexes and Histograms to Speed Up Your Queries
30mMySQL Indexes and Histograms to Speed Up Your Queries
38mQuery Optimizer in MariaDB 10.0 — Now Even Without Indexes
45mHistograms in MySQL and MariaDB
54mPerformance Analysis and Optimization of MySQL
01h 30mMySQL Indexes, Histograms, Locking Options, and Other Ways to Speed Up Your Queries
38mQuery Optimizer in MariaDB 10.0 — Now Even Without Indexes
57mPerformance Analysis and Optimization of MySQL
