PG Settings
Properties
| Property | Type | Required | Description |
|---|---|---|---|
autovacuum | object | no | schema details |
bg-writer | object | no | schema details |
deadlock_timeout | integer | no | This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. The default is 1000 (upstream default). |
default_toast_compression | string | no | Specifies the default TOAST compression method for values of compressible columns. The default is lz4. Only available for PostgreSQL 14+.Allowed values: lz4, pglz. |
idle_in_transaction_session_timeout | integer | no | Time out sessions with open transactions after this number of milliseconds |
io_combine_limit | integer | no | EXPERIMENTAL: Controls the largest I/O size in operations that combine I/O in 8kB units. Version 17 and up only. |
io_max_combine_limit | integer | no | EXPERIMENTAL: Controls the largest I/O size in operations that combine I/O in 8kB units, and silently limits the user-settable parameter io_combine_limit. Version 18 and up only. Changing this parameter causes a service restart. |
io_max_concurrency | integer | no | EXPERIMENTAL: Controls the maximum number of I/O operations that one process can execute simultaneously. Version 18 and up only. Changing this parameter causes a service restart. |
io_method | string | no | EXPERIMENTAL: Controls the maximum number of I/O operations that one process can execute simultaneously. Version 18 and up only. Changing this parameter causes a service restart. Allowed values: worker, sync, io_uring. |
io_workers | integer | no | EXPERIMENTAL: Number of IO worker processes, for io_method=worker. Version 18 and up only. Changing this parameter causes a service restart. |
jit | boolean | no | Controls system-wide use of Just-in-Time Compilation (JIT). |
log_error_verbosity | string | no | Controls the amount of detail written in the server log for each message that is logged. Allowed values: TERSE, DEFAULT, VERBOSE. |
log_line_prefix | string | no | Choose from one of the available log formats. Allowed values: pid=%p,user=%u,db=%d,app=%a,client=%h , pid=%p,user=%u,db=%d,app=%a,client=%h,txid=%x,qid=%Q , %t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h , %m [%p] %q[user=%u,db=%d,app=%a] . |
log_min_duration_statement | integer | no | Log statements that take more than this number of milliseconds to run, -1 disables |
log_temp_files | integer | no | Log statements for each temporary file created larger than this number of kilobytes, -1 disables |
max_files_per_process | integer | no | PostgreSQL maximum number of files that can be open per process. The default is 1000 (upstream default). Changing this parameter causes a service restart. |
max_locks_per_transaction | integer | no | PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart. |
max_logical_replication_workers | integer | no | PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). The default is 4 (upstream default). Changing this parameter causes a service restart. |
max_parallel_workers | integer | no | Sets the maximum number of workers that the system can support for parallel queries. The default is 8 (upstream default). |
max_parallel_workers_per_gather | integer | no | Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. The default is 2 (upstream default). |
max_pred_locks_per_transaction | integer | no | PostgreSQL maximum predicate locks per transaction. The default is 64 (upstream default). Changing this parameter causes a service restart. |
max_prepared_transactions | integer | no | PostgreSQL maximum prepared transactions. The default is 0. Changing this parameter causes a service restart. |
max_replication_slots | integer | no | PostgreSQL maximum replication slots. The default is 20. Changing this parameter causes a service restart. |
max_stack_depth | integer | no | Maximum depth of the stack in bytes. The default is 2097152 (upstream default). |
max_standby_archive_delay | integer | no | Max standby archive delay in milliseconds. The default is 30000 (upstream default). |
max_standby_streaming_delay | integer | no | Max standby streaming delay in milliseconds. The default is 30000 (upstream default). |
max_sync_workers_per_subscription | integer | no | Maximum number of synchronization workers per subscription. The default is 2. |
max_worker_processes | integer | no | Sets the maximum number of background processes that the system can support. The default is 8. Changing this parameter causes a service restart. |
password_encryption | string | no | Chooses the algorithm for encrypting passwords. Allowed values: md5, scram-sha-256. |
pg_partman_bgw.interval | integer | no | Sets the time interval in seconds to run pg_partman’s scheduled tasks. The default is 3600. |
pg_partman_bgw.role | string | no | Controls which role to use for pg_partman’s scheduled background tasks. |
pg_stat_monitor.pgsm_enable_query_plan | boolean | no | Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+. |
pg_stat_monitor.pgsm_max_buckets | integer | no | Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+. |
pg_stat_statements.track | string | no | Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default is top.Allowed values: all, top, none. |
temp_file_limit | integer | no | PostgreSQL temporary file limit in KiB, -1 for unlimited |
timezone | string | no | PostgreSQL service timezone |
track_activity_query_size | integer | no | Specifies the number of bytes reserved to track the currently executing command for each active session. Changing this parameter causes a service restart. |
track_commit_timestamp | string | no | Record commit time of transactions. Changing this parameter causes a service restart. Allowed values: off, on. |
track_functions | string | no | Enables tracking of function call counts and time used. Allowed values: all, pl, none. |
track_io_timing | string | no | Enables timing of database I/O calls. The default is off. When on, it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms.Allowed values: off, on. |
wal | object | no | schema details |
Last updated on