Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ossc-db/pg_hint_plan
Extension adding support for optimizer hints in PostgreSQL
https://github.com/ossc-db/pg_hint_plan
Last synced: 3 months ago
JSON representation
Extension adding support for optimizer hints in PostgreSQL
- Host: GitHub
- URL: https://github.com/ossc-db/pg_hint_plan
- Owner: ossc-db
- License: other
- Created: 2016-05-13T06:29:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-29T03:33:37.000Z (4 months ago)
- Last Synced: 2024-08-29T04:28:33.714Z (4 months ago)
- Language: C
- Homepage:
- Size: 2.4 MB
- Stars: 686
- Watchers: 30
- Forks: 102
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-repositories - ossc-db/pg_hint_plan - Extension adding support for optimizer hints in PostgreSQL (C)
README
# pg\_hint\_plan 1.8
`pg_hint_plan` makes it possible to tweak PostgreSQL execution plans using
so-called "hints" in SQL comments, like `/*+ SeqScan(a) */`.PostgreSQL uses a cost-based optimizer, that uses data statistics, not static
rules. The planner (optimizer) estimates costs of each possible execution
plans for a SQL statement, then executes the plan with the lowest cost.
The planner does its best to select the best execution plan, but it is far
from perfect, since it may not count some data properties, like correlation
between columns.For more details, please see the various documentations available in the
**docs/** directory:1. [Description](docs/description.md)
1. [The hint table](docs/hint_table.md)
1. [Installation](docs/installation.md)
1. [Uninstallation](docs/uninstallation.md)
1. [Details in hinting](docs/hint_details.md)
1. [Errors](docs/errors.md)
1. [Functional limitations](docs/functional_limitations.md)
1. [Requirements](docs/requirements.md)
1. [Hints list](docs/hint_list.md)* * * * *
Copyright (c) 2012-2024, NIPPON TELEGRAPH AND TELEPHONE CORPORATION