PostgreSQL · Concept
Query planner
PostgreSQL query-planning settings influence which plan types the optimizer considers. They are mainly temporary controls; better results often come from accurate statistics and suitable cost settings.
Last updated
Syntax
SET parameter_name = value;In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
EXPLAINANALYZEenable_seqscanenable_indexscanenable_indexonlyscanenable_memoizedefault_statistics_targetplan_cache_mode