This article lists parameters shared by PostgreSQL 17 and PostgreSQL 18 (Preview). Version-specific entries follow where their attributes or availability differ.
Template value is the configuration template's value, not a verification of your compute pool's effective value. A hyphen (-) means the template doesn't declare the attribute. It doesn't mean that a parameter is writable or dynamic.
For your compute pool's configured and effective values, see List and filter parameters.
Shared parameters
geqo
| Attribute |
Value |
| Category |
Query Tuning / Genetic Query Optimizer |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Enables genetic query optimization. This algorithm attempts to do planning without exhaustive searching. |
| Data type |
boolean |
| Template value |
on |
| Allowed values |
on,off |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
geqo_effort
| Attribute |
Value |
| Category |
Query Tuning / Genetic Query Optimizer |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
GEQO: effort sets the default value for other GEQO parameters. |
| Data type |
integer |
| Template value |
5 |
| Allowed values |
1-10 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
geqo_generations
| Attribute |
Value |
| Category |
Query Tuning / Genetic Query Optimizer |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
GEQO: number of iterations of the algorithm. Zero selects a suitable default value. |
| Data type |
integer |
| Template value |
0 |
| Allowed values |
0-2147483647 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
geqo_pool_size
| Attribute |
Value |
| Category |
Query Tuning / Genetic Query Optimizer |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
GEQO: number of individuals in the population. Zero selects a suitable default value. |
| Data type |
integer |
| Template value |
0 |
| Allowed values |
0-2147483647 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
geqo_seed
| Attribute |
Value |
| Category |
Query Tuning / Genetic Query Optimizer |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
GEQO: seed for random path selection. |
| Data type |
numeric |
| Template value |
0 |
| Allowed values |
0-1 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
geqo_selection_bias
| Attribute |
Value |
| Category |
Query Tuning / Genetic Query Optimizer |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
GEQO: selective pressure within the population. |
| Data type |
numeric |
| Template value |
2 |
| Allowed values |
1.5-2 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |
geqo_threshold
| Attribute |
Value |
| Category |
Query Tuning / Genetic Query Optimizer |
| PostgreSQL versions |
17, 18 (Preview) |
| Description |
Sets the threshold of FROM items beyond which GEQO is used. |
| Data type |
integer |
| Template value |
12 |
| Allowed values |
2-2147483647 |
| Read-only |
- |
| Parameter type |
- |
| Documentation |
PostgreSQL 17, PostgreSQL 18 (Preview) |