pg_hint_plan
Give PostgreSQL ability to manually force some decisions in execution plans.
Module:
Categories:
Overview
PGDG 1st Party Extension: pg_hint_plan
: Give PostgreSQL ability to manually force some decisions in execution plans.
Information
- Extension ID: 2820
- Extension Name:
pg_hint_plan
- Package Name:
pg_hint_plan
- Category:
FEAT
- License: BSD 3
- Website: https://github.com/ossc-db/pg_hint_plan
- Language: C
- Extra Tags: N/A
- Comment: N/A
Metadata
- Latest Version: 1.7.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL - Relocatable: Can be installed into other schemas
- Trusted: Untrusted, Require Superuser to Create
- Schemas:
hint_plan
- Requires: N/A
RPM / DEB
- RPM Repo: PGDG
- RPM Name:
pg_hint_plan_$v*
- RPM Ver :
1.7.0
- RPM Deps: N/A
- DEB Repo: PGDG
- DEB Name:
postgresql-$v-pg-hint-plan
- DEB Ver :
1.7.0
- DEB Deps: N/A
Packages
Installation
Install pg_hint_plan
via the pig
CLI tool:
pig ext install pg_hint_plan
Install pg_hint_plan
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_hint_plan"]}' # -l <cls>
Install pg_hint_plan
RPM from YUM repo directly:
dnf install pg_hint_plan_17*;
dnf install pg_hint_plan_16*;
dnf install pg_hint_plan_15*;
dnf install pg_hint_plan_14*;
dnf install pg_hint_plan_13*;
Install pg_hint_plan
DEB from APT repo directly:
apt install postgresql-17-pg-hint-plan;
apt install postgresql-16-pg-hint-plan;
apt install postgresql-15-pg-hint-plan;
apt install postgresql-14-pg-hint-plan;
apt install postgresql-13-pg-hint-plan;
Enable pg_hint_plan
extension on PostgreSQL cluster:
CREATE EXTENSION pg_hint_plan;
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.