Nov 04, 2026
DuckDB Query Metrics and Monitoring
DuckDB exposes a set of query metrics through its built-in profiler. These metrics trace every stage of query execution — from parsing and planning through operator execution to I/O and memory allocation. Understanding what each metric measures, how they relate to each other, and what ratios to watch gives you a diagnostic framework for identifying bottlenecks without guessing. This post covers the eight core metrics, the additional phase metrics, and how to use them together.