PostgreSQL

Waiting for Postgres 19: Reduced timing overhead for EXPLAIN ANALYZE with RDTSC

Lukas of pganalyze explains a committed change for Postgres 19, co-authored with Andres Freund and David Geier, that cuts timing overhead in EXPLAIN ANALYZE by using the RDTSC instruction. The change adds a timing_clock_source setting and compares RDTSC with RDTSCP. Lower overhead should allow auto_explain.log_timing to be enabled for more workloads.

AI-written summary, checked against the cited sources. How summaries work

Read at pganalyze