E-Ink News Daily

Back to list

pg_plan_advice — help the planner get the right plan

PostgreSQL 19 introduces the pg_plan_advice extension, allowing users to describe, reproduce, and alter planner decisions using a specialized mini-language. This tool enables stabilization of optimal query plans and experimentation with non-optimal ones, though it carries risks if data distributions change.

Background

PostgreSQL 19 is currently in beta development, introducing new features and extensions for advanced database management. The pg_plan_advice module addresses complex query optimization scenarios where automatic planning may need manual intervention.

Source
Lobsters
Published
Jun 28, 2026 at 03:31 AM
Score
7.0 / 10