Extensions
- pg_hint_plan 1.5.2
- Query hints in SQL comments
Documentation
- hint_list
- Hint list
- errors
- Errors
- installation
- Installation
- description
- Description
- uninstallation
- Uninstallation
- synopsis
- Synopsis
- requirements
- requirements
- hint_details
- Details in hinting
- functional_limitations
- Functional limitations
- hint_table
- The hint table
- index
- pg_hint_plan 1.5
README
Contents
pg_hint_plan 1.5
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:
- Description
- The hint table
- Installation
- Uninstallation
- Details in hinting
- Errors
- Functional limitations
- Requirements
- Hints list
Copyright (c) 2012-2023, NIPPON TELEGRAPH AND TELEPHONE CORPORATION