Planet PostgreSQL
PostgreSQL 19 Plan Advice Tools for Transactional Outbox Workloads
A lab using the transactional outbox pattern shows how changed data and stale statistics can lead PostgreSQL to choose an execution plan based on outdated information. It introduces PostgreSQL 19’s pg_plan_advice and pg_stash_advice, including generated advice for reproducing an index scan plan.
Why It MattersThe lab shows how stale statistics can mislead PostgreSQL’s planner on transactional outbox workloads and introduces PostgreSQL 19 tools for reproducing and stashing plan advice.