Description du projet

PostgreSQL executes queries using cost-based optimizer, and sometimes fails to choose most optimized execution plan or some types of queries. In such cases, pg_hint_plan helps users to guide the planner to choose the plans they want by putting some nstructions - call them hints - in the comments prefixed to the SQL statement body. No need to rewrite statement tself nor change some GUC parameters elsewhere.

Installer

pg_hint_planをソースコードからビルドする場合、pg_hint_planのソースを展開したディレクトリで make → make installの順に実行してください。 make installはPostgreSQLをインストールしたOSユーザで実行してく... Montrer comment installer

Utilisation

pg_hint_planの機能について説明します。 ヒントの記述方法 ヒントはクエリ文字列の先頭のブロックコメント内に記述してください。ブロックコメントをヒントとして認識させるには、ブロックコメントの開始直後に... Show Usage

Télécharger

win32 Windows pg_hint_plan12-1.3.5-1.el7.x86_64.rpm (Date: 2020-02-21, Taille: 32.65 KB)
macosx Mac pg_hint_plan12-1.3.5-1.el7.x86_64.rpm (Date: 2020-02-21, Taille: 32.65 KB)
linux Linux pg_hint_plan12-1.3.5-1.el7.x86_64.rpm (Date: 2020-02-21, Taille: 32.65 KB)

Évaluation
Votre évaluation
Votre avis sur ce projet

Statistiques

2017-05-24 19:49
Évaluation de SEAN.KIM

Évaluation :
(1$ de 15 personnes ont trouvé cet avis utile)
It's amazing. We use it to do very effective SQL tuning.

2015-02-09 14:14
Évaluation de Mladen Gogala

Évaluation :
(1$ de 22 personnes ont trouvé cet avis utile)
I tested this on a Postgres database and hints work beautifully. This is a long awaited extension for PgSQL which makes it much more usable.
Pros
When time is of the essence, hints are often the only solution. The normal session level commands supported by Postgres are frequently inadequate because all that is needed is to fix a single SQL. Praises and kudos to the authors of this long awaited extension.
Cons
No cons. If the hints are not needed, don't use them.
Liste des Évaluations

Activités récentes

2023-01-31
18:20
Use planner hints on PostgreSQL
[Ticket] Add Comment on ticket #46665
Sorry, this is not a bug but a new feature request.
18:14
Use planner hints on PostgreSQL
[Ticket] Add Comment on ticket #45644
I had managed to built from source. Please ignore and close this ticket. thanks
18:13
Use planner hints on PostgreSQL
[Ticket] Add Comment on ticket #45644
I had managed to built from source. Please ignore and close this ticket. thanks
2022-12-19
Afficher l'historique