select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Extensions / Features

pg_hint_plan

Give PostgreSQL ability to manually force some decisions in execution plans.

pgext.cloud · Source code · License text · Control file · PGXN

Overview

Packagepg_hint_plan
Version1.8.0
PostgreSQL versions14 · 15 · 16 · 17 · 18
RepositoryPGDG
Extension typePreloaded
Requires CREATE EXTENSIONYes
Requires preloadYes
TrustedNo
RelocatableNo
Shared librariespg_hint_plan
Schemahint_plan
Stars913
Latest commit2026-07-25
Latest release2025-08-19
Catalogue updated2026-08-30

Related extensions

Required by

pg_plan_advsrAutomated execution plan tuning extension

See also

hypopgHypothetical indexes for PostgreSQL
online_advisorSuggest missing indexes and extended statistics online
pg_qualstatsAn extension collecting statistics about quals
index_advisorQuery index advisor
pg_stat_plansTrack per-plan call counts, execution times, and example EXPLAIN texts.
plan_filterfilter statements by their execution plans.
pg_stromPG-Strom - big-data processing acceleration using GPU and NVME
pg_orcaORCA query optimizer as a PostgreSQL extension
pg_regresqlTrust pg_class statistics for planning instead of physical relation size
pg_track_optimizerTrack planning decisions in comparison with execution reality