« * K @boringsql.com

Radim @ boringSQL @boringsql.com

2026-03-09 08:44 UTC

What happens when you inject production statistics into a 10,000-row PostgreSQL test table? The query plan flips.

 PostgreSQL 18 makes this a one-liner. pg_dump --statistics-only
 Plain SQL, under 1MB, no data needed. Learn the mechanics in my latest blog post. 

boringsql.com/posts/portab...

Link: Production query plans without production data (boringsql.com/posts/portable-stats/)

2 likes, 0 reposts, 0 replies

3 Next post4 More from @boringsql.comBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup