Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
log_min_duration_sample
| Attribute | Value |
|---|---|
| Category | Reporting and Logging / When to Log |
| PostgreSQL versions | 17, 18 (Preview) |
| Description | Sets the minimum execution time above which a sample of statements will be logged. Sampling is determined by log_statement_sample_rate. Zero logs a sample of all queries. -1 turns this feature off. |
| Data type | integer |
| Template value | -1 |
| Unit | ms |
| Allowed values | -1-2147483647 |
| Read-only | - |
| Parameter type | - |
| Documentation | PostgreSQL 17, PostgreSQL 18 (Preview) |
log_min_duration_statement
| Attribute | Value |
|---|---|
| Category | Reporting and Logging / When to Log |
| PostgreSQL versions | 17, 18 (Preview) |
| Description | Sets the minimum execution time above which all statements will be logged. Zero prints all queries. -1 turns this feature off. |
| Data type | integer |
| Template value | -1 |
| Unit | ms |
| Allowed values | -1-2147483647 |
| Read-only | - |
| Parameter type | - |
| Documentation | PostgreSQL 17, PostgreSQL 18 (Preview) |
log_startup_progress_interval
| Attribute | Value |
|---|---|
| Category | Reporting and Logging / When to Log |
| PostgreSQL versions | 17, 18 (Preview) |
| Description | Time between progress updates for long-running startup operations. Set to 0 to turn this feature off. |
| Data type | integer |
| Template value | 10000 |
| Unit | ms |
| Allowed values | 0-2147483647 |
| Read-only | Yes |
| Parameter type | read-only |
| Documentation | PostgreSQL 17, PostgreSQL 18 (Preview) |
log_statement_sample_rate
| Attribute | Value |
|---|---|
| Category | Reporting and Logging / When to Log |
| PostgreSQL versions | 17, 18 (Preview) |
| Description | Fraction of statements that exceed log_min_duration_sample to log. Use a value between 0.0 (never log) and 1.0 (always log). |
| Data type | numeric |
| Template value | 1 |
| Allowed values | 0-1 |
| Read-only | - |
| Parameter type | - |
| Documentation | PostgreSQL 17, PostgreSQL 18 (Preview) |
log_transaction_sample_rate
| Attribute | Value |
|---|---|
| Category | Reporting and Logging / When to Log |
| PostgreSQL versions | 17, 18 (Preview) |
| Description | Sets the fraction of transactions for which to log all statements. Use a value between 0.0 (never log) and 1.0 (log all statements for all transactions). |
| Data type | numeric |
| Template value | 0 |
| Allowed values | 0-1 |
| Read-only | Yes |
| Parameter type | read-only |
| Documentation | PostgreSQL 17, PostgreSQL 18 (Preview) |