Parameters in Azure HorizonDB

Parameters control PostgreSQL and Azure HorizonDB behavior. Each compute pool uses a parameter group to manage its pool-level settings.

Examples include:

  • max_connections: Sets the maximum number of concurrent connections.
  • work_mem: Sets the memory available to query operations such as sorts and hash tables.
  • azure.extensions: Sets the list of allowed extensions.

To view all parameters available for your compute pool's PostgreSQL version, see List and filter parameters.

Customize parameters

Default parameter groups are read-only. To use different settings, create a custom parameter group and assign it to the compute pool.

Editing a custom parameter group impacts every compute pool connected to it. Follow the steps in Create and manage parameter groups.

Note

You don't have host or operating system access to edit configuration files such as postgresql.conf. Azure HorizonDB manages these files.

Some PostgreSQL settings also support more specific configuration scopes. These settings are separate from the parameter group:

  • Database: Use ALTER DATABASE for settings that apply to a database.
  • Role or user: Use ALTER ROLE or ALTER USER for settings that apply to a role.
  • Function or procedure: Specify settings that apply while a function or procedure runs.
  • Table: Configure table-specific options, such as autovacuum settings.
  • Session: Use SET or set_config for settings that apply to the current session. Use SHOW or current_setting to inspect a setting.

Use only settings that PostgreSQL supports at the chosen scope and that your role has permission to change. These overrides don't edit the parameter group.

Work with time zone parameters

PostgreSQL stores time-zone-aware timestamps internally in UTC. The TimeZone parameter controls the time zone used to display them.

To set a pool-level time zone, edit TimeZone in a custom parameter group and assign the parameter group to the intended compute pools. At GA, edits to this dynamic setting in an assigned parameter group apply immediately.

PostgreSQL supports full time zone names, abbreviations, and POSIX-style specifications.

Full time zone names

Use a name such as America/New_York. To inspect recognized names, query pg_timezone_names:

SELECT name
FROM pg_timezone_names
ORDER BY name
LIMIT 20;

Time zone abbreviations

An abbreviation such as PST identifies a UTC offset. To inspect recognized abbreviations, query pg_timezone_abbrevs:

SELECT abbrev
FROM pg_timezone_abbrevs
ORDER BY abbrev
LIMIT 20;

POSIX-style specifications

POSIX-style specifications use the form STDoffset or STDoffsetDST. STD is a time zone abbreviation, offset is the number of hours west of UTC, and DST is an optional daylight-saving abbreviation.

Supported parameters

Use List and filter parameters to check which parameters are available for your compute pool, their current values, and whether you can edit them.

For detailed descriptions by category, use Parameters reference in the navigation. Check the PostgreSQL version when you use a reference article.

Autovacuum

Name Versions Description
autovacuum 17, 18 (Preview) Starts the autovacuum subprocess.
autovacuum_analyze_scale_factor 17, 18 (Preview) Number of tuple inserts, updates, or deletes before analyze as a fraction of reltuples.
autovacuum_analyze_threshold 17, 18 (Preview) Minimum number of tuple inserts, updates, or deletes before analyze.
autovacuum_freeze_max_age 17, 18 (Preview) Age at which autovacuum runs on a table to prevent transaction ID wraparound.
autovacuum_max_workers 17, 18 (Preview) Sets the maximum number of autovacuum worker processes that run at the same time.
autovacuum_multixact_freeze_max_age 17, 18 (Preview) Multixact age at which to autovacuum a table to prevent multixact wraparound.
autovacuum_naptime 17, 18 (Preview) Time to sleep between autovacuum runs.
autovacuum_vacuum_cost_delay 17, 18 (Preview) Vacuum cost delay in milliseconds, for autovacuum.
autovacuum_vacuum_cost_limit 17, 18 (Preview) Vacuum cost amount available before napping, for autovacuum.
autovacuum_vacuum_insert_scale_factor 17, 18 (Preview) Number of tuple inserts before vacuum as a fraction of reltuples.
autovacuum_vacuum_insert_threshold 17, 18 (Preview) Minimum number of tuple inserts before vacuum runs, or -1 to disable insert vacuums.
autovacuum_vacuum_max_threshold 18 (Preview) Maximum number of tuple updates or deletes before vacuum. Set to -1 to disable the maximum threshold.
autovacuum_vacuum_scale_factor 17, 18 (Preview) Number of tuple updates or deletes before vacuum as a fraction of reltuples.
autovacuum_vacuum_threshold 17, 18 (Preview) Minimum number of tuple updates or deletes before vacuum.
autovacuum_worker_slots 18 (Preview) Number of backend slots to allocate for autovacuum workers.

Client Connection Defaults / Locale and Formatting

Name Versions Description
client_encoding 17, 18 (Preview) Sets the client's character set encoding.
DateStyle 17, 18 (Preview) Sets the display format for date and time values. Also controls interpretation of ambiguous date inputs.
default_text_search_config 17, 18 (Preview) Sets default text search configuration.
extra_float_digits 17, 18 (Preview) Sets the number of digits displayed for floating-point values. This setting affects real, double precision, and geometric data types. A zero or negative parameter value adds to the standard number of digits (FLT_DIG or DBL_DIG as appropriate). Any value greater than zero selects precise output mode.
icu_validation_level 17, 18 (Preview) Log level for reporting invalid ICU locale strings.
IntervalStyle 17, 18 (Preview) Sets the display format for interval values.
lc_messages 17, 18 (Preview) Sets the language for messages.
lc_monetary 17, 18 (Preview) Sets the locale for formatting monetary amounts.
lc_numeric 17, 18 (Preview) Sets the locale for formatting numbers.
lc_time 17, 18 (Preview) Sets the locale for formatting date and time values.
TimeZone 17, 18 (Preview) Sets the time zone for displaying and interpreting time stamps.

Client Connection Defaults / Other Defaults

Name Versions Description
gin_fuzzy_search_limit 17, 18 (Preview) Sets the maximum allowed result for exact search by GIN.

Client Connection Defaults / Shared Library Preloading

Name Versions Description
shared_preload_libraries 17, 18 (Preview) Lists shared libraries to preload into server.

Client Connection Defaults / Statement Behavior

Name Versions Description
bytea_output 17, 18 (Preview) Sets the output format for bytea.
check_function_bodies 17, 18 (Preview) Check routine bodies during CREATE FUNCTION and CREATE PROCEDURE.
client_min_messages 17, 18 (Preview) Sets the message levels that are sent to the client. Each level includes all the levels that follow it. The later the level, the fewer messages are sent.
createrole_self_grant 17, 18 (Preview) Sets whether a CREATEROLE user automatically grants the role to themselves, and with which options.
default_table_access_method 17, 18 (Preview) Sets the default table access method for new tables.
default_toast_compression 17, 18 (Preview) Sets the default compression method for compressible values.
default_transaction_deferrable 17, 18 (Preview) Sets the default deferrable status of new transactions.
default_transaction_isolation 17, 18 (Preview) Sets the transaction isolation level for each new transaction.
default_transaction_read_only 17, 18 (Preview) Sets the default read-only status of new transactions.
event_triggers 17, 18 (Preview) Enables event triggers. When enabled, event triggers fire for all applicable statements.
gin_pending_list_limit 17, 18 (Preview) Sets the maximum size of the pending list for GIN index.
idle_in_transaction_session_timeout 17, 18 (Preview) Sets the maximum allowed idle time between queries, when in a transaction. A value of 0 turns off the timeout.
idle_session_timeout 17, 18 (Preview) Sets the maximum allowed idle time between queries, when not in a transaction. A value of 0 turns off the timeout.
lock_timeout 17, 18 (Preview) Sets the maximum duration for waiting on a lock. A value of 0 turns off the timeout.
restrict_nonsystem_relation_kind 17, 18 (Preview) Prohibits access to non-system relations of specified kinds.
row_security 17, 18 (Preview) Enable row security. When enabled, row security applies to all users.
search_path 17, 18 (Preview) Sets the schema search order for names that aren't schema-qualified.
statement_timeout 17, 18 (Preview) Sets the maximum allowed duration of any statement. A value of 0 turns off the timeout.
temp_tablespaces 17, 18 (Preview) Sets the tablespaces to use for temporary tables and sort files.
transaction_isolation 17, 18 (Preview) Sets the current transaction's isolation level.
transaction_timeout 17, 18 (Preview) Sets the maximum allowed duration of any transaction within a session (not a prepared transaction). A value of 0 turns off the timeout.
vacuum_failsafe_age 17, 18 (Preview) Age at which VACUUM triggers failsafe to avoid a wraparound outage.
vacuum_freeze_min_age 17, 18 (Preview) Minimum age at which VACUUM should freeze a table row.
vacuum_freeze_table_age 17, 18 (Preview) Age at which VACUUM should scan whole table to freeze tuples.
vacuum_max_eager_freeze_failure_rate 18 (Preview) Fraction of pages in a relation that vacuum can scan but fail to freeze before it disables eager scanning. A value of 0.0 disables eager scanning, and a value of 1.0 means vacuum eagerly scans up to 100% of the all-visible pages in the relation. If vacuum successfully freezes these pages, the cap is lower than 100% because the goal is to amortize page freezing across multiple vacuum runs.
vacuum_multixact_failsafe_age 17, 18 (Preview) Multixact age at which VACUUM triggers a failsafe to avoid a wraparound outage.
vacuum_multixact_freeze_min_age 17, 18 (Preview) Minimum age at which VACUUM should freeze a MultiXactId in a table row.
vacuum_multixact_freeze_table_age 17, 18 (Preview) Multixact age at which VACUUM should scan whole table to freeze tuples.
vacuum_truncate 18 (Preview) Enables vacuum to truncate empty pages at the end of the table.
xmlbinary 17, 18 (Preview) Sets how binary values are to be encoded in XML.
xmloption 17, 18 (Preview) Sets whether XML data in implicit parsing and serialization operations is considered as documents or content fragments.

Connections and Authentication / Authentication

Name Versions Description
authentication_timeout 17, 18 (Preview) Sets the maximum allowed time to complete client authentication.
password_encryption 17, 18 (Preview) Chooses the algorithm for encrypting passwords.
scram_iterations 17, 18 (Preview) Sets the iteration count for SCRAM secret generation.

Connections and Authentication / Connection Settings

Name Versions Description
max_connections 17, 18 (Preview) Sets the maximum number of concurrent connections.
port 17, 18 (Preview) Sets the TCP port the server listens on.
reserved_connections 17, 18 (Preview) Sets the number of connection slots reserved for roles with the pg_use_reserved_connections privilege.
superuser_reserved_connections 17, 18 (Preview) Sets the number of connection slots reserved for superusers.

Connections and Authentication / SSL

Name Versions Description
ssl 17, 18 (Preview) Enables SSL connections.
ssl_ciphers 17, 18 (Preview) Sets the list of allowed SSL ciphers.
ssl_ecdh_curve 17 Sets the curve to use for ECDH.
ssl_groups 18 (Preview) Sets the groups to use for Diffie-Hellman key exchange. Specify multiple groups as a colon-separated list.
ssl_max_protocol_version 17, 18 (Preview) Sets the maximum SSL/TLS protocol version to use.
ssl_min_protocol_version 17, 18 (Preview) Sets the minimum SSL/TLS protocol version to use.
ssl_prefer_server_ciphers 17, 18 (Preview) Give priority to server cipher suite order.
ssl_tls13_ciphers 18 (Preview) Sets the list of allowed TLS 1.3 cipher suites. An empty string means use the default cipher suites.

Connections and Authentication / TCP Settings

Name Versions Description
client_connection_check_interval 17, 18 (Preview) Sets the time interval between checks for disconnection while running queries.
tcp_keepalives_count 17, 18 (Preview) Maximum number of TCP keepalive retransmits. Number of consecutive keepalive retransmits that can be lost before a connection is considered dead. A value of 0 uses the system default.
tcp_keepalives_idle 17, 18 (Preview) Time between issuing TCP keepalives. A value of 0 uses the system default.
tcp_keepalives_interval 17, 18 (Preview) Time between TCP keepalive retransmits. A value of 0 uses the system default.
tcp_user_timeout 17, 18 (Preview) TCP user timeout. A value of 0 uses the system default.

Customized Options

Name Versions Description
anon.algorithm 17, 18 (Preview) The hash method used for pseudonymizing functions.
anon.masking_policies 17, 18 (Preview) Defines additional masking policies. The anon policy is always available.
anon.maskschema 17, 18 (Preview) The schema where the dynamic masking views are stored.
anon.privacy_by_default 17, 18 (Preview) Mask all columns with NULL (or the default value for NOT NULL columns).
anon.restrict_to_trusted_schemas 17, 18 (Preview) Masking filters must be in a trusted schema. Activate this option to prevent non-superusers from using their own masking filters.
anon.sourceschema 17, 18 (Preview) The schema where the dynamic masking engine masks the table.
anon.strict_mode 17, 18 (Preview) A masking rule can't change a column data type unless you disable this option. Disabling this option isn't recommended.
anon.transparent_dynamic_masking 17, 18 (Preview) New masking engine (EXPERIMENTAL).
auto_explain.log_analyze 17, 18 (Preview) Use EXPLAIN ANALYZE for plan logging.
auto_explain.log_buffers 17, 18 (Preview) Log buffer usage.
auto_explain.log_format 17, 18 (Preview) EXPLAIN format to use for plan logging.
auto_explain.log_level 17, 18 (Preview) Log level for the plan.
auto_explain.log_min_duration 17, 18 (Preview) Sets the minimum execution time for logging plans. Set to zero to log all plans. Set to -1 to turn off this feature.
auto_explain.log_nested_statements 17, 18 (Preview) Log nested statements.
auto_explain.log_parameter_max_length 17, 18 (Preview) Sets the maximum length of query parameters to log. Zero logs no query parameters, -1 logs them in full.
auto_explain.log_settings 17, 18 (Preview) Log modified configuration parameters that affect query planning.
auto_explain.log_timing 17, 18 (Preview) Collect timing data, not just row counts.
auto_explain.log_triggers 17, 18 (Preview) Include trigger statistics in plans. This setting has no effect unless you also set log_analyze.
auto_explain.log_verbose 17, 18 (Preview) Use EXPLAIN VERBOSE for plan logging.
auto_explain.log_wal 17, 18 (Preview) Log WAL usage.
auto_explain.sample_rate 17, 18 (Preview) Fraction of queries to process.
azure.accepted_password_auth_method 17, 18 (Preview) Password authentication methods, separated by comma, that the server accepts.
azure.extensions 17, 18 (Preview) List of extensions, separated by comma, that are allowlisted. If an extension isn't in this list, trying to execute CREATE, ALTER, COMMENT, or DROP EXTENSION statements on that extension fails.
azure_storage.blob_block_size_mb 17, 18 (Preview) Size of blob block, in megabytes, for PUT blob operations.
azure_storage.enable_copy_command 17, 18 (Preview) Enables COPY command to fetch from or put to Azure Blob Storage service.
azure_storage.log_level 17, 18 (Preview) Log level used by the azure_storage extension.
azure_storage.public_account_access 17, 18 (Preview) Allows all users to access data in storage accounts without credentials when the storage account access is configured as public.
cron.database_name 17, 18 (Preview) Database in which pg_cron metadata is kept.
cron.launch_active_jobs 17, 18 (Preview) Launch jobs that are defined as active.
cron.log_min_messages 17, 18 (Preview) log_min_messages for the launcher background worker.
cron.log_run 17, 18 (Preview) Log all job runs into the job_run_details table.
cron.log_statement 17, 18 (Preview) Log all cron statements before execution.
cron.max_running_jobs 17, 18 (Preview) Maximum number of jobs that can run concurrently.
cron.timezone 17, 18 (Preview) Specify timezone used for cron schedule.
cron.use_background_workers 17, 18 (Preview) Use background workers instead of client sessions.
pg_durable.database 17, 18 (Preview) Specifies the control database used by the pg_durable background worker. Create the extension here first and wait for worker initialization before creating it in other databases.
pg_durable.execution_acquire_timeout 17, 18 (Preview) Plain integer seconds to wait for a user connection slot before failing SQL execution or an HTTP credential-catalog lookup; unit suffixes aren't accepted.
pg_durable.list_instances_max_limit 17, 18 (Preview) Maximum requested page size (limit_count) accepted by df.list_instances(). Requests above this limit raise an error rather than truncating results. For larger result sets, use the paginated overload with each request within the limit.
pg_durable.log_workflow_sql 17, 18 (Preview) Log fully substituted workflow SQL in worker execution traces. This setting might expose sensitive literals and credentials. Disabling this setting doesn't suppress errors, results, or PostgreSQL statement logging.
pg_durable.max_duroxide_connections 17, 18 (Preview) Maximum number of connections in the Duroxide provider pool.
pg_durable.max_management_connections 17, 18 (Preview) Maximum number of connections in the background worker management pool.
pg_durable.max_new_transaction_starts 17, 18 (Preview) Maximum concurrent df.start(..., transaction_mode => 'new') loopback launch sessions per database.
pg_durable.max_origin_connections 17, 18 (Preview) Maximum total satellite metadata connections shared by workflow activities and background maintenance. Idle satellites don't keep a connection pool.
pg_durable.max_user_connections 17, 18 (Preview) Maximum number of concurrent user connections shared by SQL execution and HTTP credential-catalog lookups.
pg_durable.new_transaction_start_timeout 17, 18 (Preview) Number of seconds to wait for a transaction_mode => 'new' launch slot before failing df.start(); unit suffixes aren't accepted.
pg_durable.reconcile_interval 17, 18 (Preview) Idle seconds between background reconciliation scans; zero disables reconciliation.
pg_durable.retention_days 17, 18 (Preview) Number of days to retain a terminal instance before reconciliation removes it. The system retains up to 10,000 terminal instances regardless of this value.
pg_hint_plan.debug_print 17, 18 (Preview) Logs results of hint parsing
pg_hint_plan.enable_hint 17, 18 (Preview) Force planner to use plans specified in the hint comment preceding to the query
pg_hint_plan.enable_hint_table 17, 18 (Preview) Let pg_hint_plan look up the hint table
pg_hint_plan.message_level 17, 18 (Preview) Message level of debug messages
pg_hint_plan.parse_messages 17, 18 (Preview) Message level for parse errors
pg_partman_bgw.analyze 17, 18 (Preview) Whether to run an analyze on a partition set whenever a new partition is created during run_maintenance(). Set to on to send TRUE (default). Set to off to send FALSE.
pg_partman_bgw.dbname 17, 18 (Preview) CSV list of specific databases in the cluster to run pg_partman BGW on.
pg_partman_bgw.interval 17, 18 (Preview) How often run_maintenance() is called (in seconds).
pg_partman_bgw.jobmon 17, 18 (Preview) Whether to log run_maintenance() calls to pg_jobmon if it's installed. Set to on to send TRUE (default). Set to off to send FALSE.
pg_partman_bgw.maintenance_wait 17, 18 (Preview) How long to wait between each partition set when running maintenance (in seconds).
pg_prewarm.autoprewarm 17, 18 (Preview) Starts the autoprewarm worker.
pg_prewarm.autoprewarm_interval 17, 18 (Preview) Sets the interval between dumps of shared buffers. If set to zero, time-based dumping is disabled.
pg_qs.emit_query_text 17, 18 (Preview) Controls whether query text is sent in the telemetry pipeline. Reload the config for the change to take effect.
pg_qs.interval_length_minutes 17, 18 (Preview) Sets the aggregation window in minutes. Reload the config to apply changes.
pg_qs.max_captured_queries 17, 18 (Preview) Specifies the number of most relevant queries for which query store captures runtime statistics at each interval.
pg_qs.max_plan_size 17, 18 (Preview) Sets the maximum number of bytes saved for query plan text. Longer plans are truncated. Reload the config for this change to take effect.
pg_qs.max_query_text_length 17, 18 (Preview) Sets the maximum query text length to save. Queries longer than this length are truncated. Reload the config to apply changes.
pg_qs.parameters_capture_mode 17, 18 (Preview) Selects how pg_qs captures positional query parameters. Reload the config for the change to take effect.
pg_qs.query_capture_mode 17, 18 (Preview) Selects which statements pg_qs tracks. Reload the config to apply changes.
pg_qs.retention_period_in_days 17, 18 (Preview) Sets the retention period window in days for pg_qs. Data is deleted after this period. A compute pool restart is required for the change to take effect.
pg_qs.store_query_plans 17, 18 (Preview) Turns saving query plans on or off. Reload the config for the change to take effect.
pg_qs.track_utility 17, 18 (Preview) Selects whether pg_qs tracks utility commands. Reload the config to apply changes.
pg_stat_statements.max 17, 18 (Preview) Sets the maximum number of statements tracked by pg_stat_statements.
pg_stat_statements.save 17, 18 (Preview) Save pg_stat_statements statistics across server shutdowns.
pg_stat_statements.track 17, 18 (Preview) Selects which statements pg_stat_statements tracks.
pg_stat_statements.track_planning 17, 18 (Preview) Selects whether pg_stat_statements tracks the planning duration.
pg_stat_statements.track_utility 17, 18 (Preview) Selects whether pg_stat_statements tracks utility commands.
pg_textsearch.default_limit 17, 18 (Preview) Initial scoring batch size for BM25 queries when no LIMIT is detected. The batch can grow as more rows are requested. This value isn't a cap on returned rows or total query work.
pg_textsearch.memtable_pages_threshold 17, 18 (Preview) Number of on-disk memtable chain pages (8 KiB each) before pg_textsearch spills the memtable to an L0 segment at the next insert. Set to 0 to disable auto-spill (chain grows until VACUUM or manual bm25_spill_index()).
pgaudit.log 17, 18 (Preview) Specifies which classes of statements session audit logging logs. Use a comma-separated list to specify multiple classes. To remove classes, add a - before the class.
pgaudit.log_catalog 17, 18 (Preview) Specifies that session logging should be enabled when all relations in a statement are in pg_catalog. Disabling this setting reduces noise in the log from tools like psql and PgAdmin that query the catalog heavily.
pgaudit.log_client 17, 18 (Preview) Specifies whether the client can see audit messages. Generally leave this setting disabled; it can be useful for debugging or other purposes.
pgaudit.log_level 17, 18 (Preview) Specifies the log level for log entries. Use this setting for regression testing. It can also help end users with testing or other purposes. Don't use this setting in a production environment because it can expose which statements are logged to the user.
pgaudit.log_parameter 17, 18 (Preview) Specifies whether audit logging includes parameters passed with the statement. When parameters are present, audit logging includes them in CSV format after the statement text.
pgaudit.log_parameter_max_size 17, 18 (Preview) Specifies, in bytes, the maximum length of variable-length parameters to log. If set to 0 (the default), parameters aren't checked for size. If set, when the size of the parameter is longer than the setting, the value in the audit log is replaced with a placeholder. For character types, the length is in bytes for the parameter's encoding, not characters.
pgaudit.log_relation 17, 18 (Preview) Specifies whether session audit logging creates a separate log entry for each relation referenced in a SELECT or DML statement. This setting provides exhaustive logging without using object audit logging.
pgaudit.log_rows 17, 18 (Preview) Specifies whether audit logging includes the number of rows retrieved or affected by a statement. It records a count, not the row contents.
pgaudit.log_statement 17, 18 (Preview) Specifies whether logging includes the statement text and parameters. Depending on your requirements, you might not need the full statement text in the audit log.
pgaudit.log_statement_once 17, 18 (Preview) Specifies whether logging includes the statement text and parameters with the first log entry for a statement/substatement combination or with every entry. Enabling this setting results in less verbose logging but can make it more difficult to determine the statement that generated a log entry. However, the statement/substatement pair along with the process ID should suffice to identify the statement text logged with a previous entry.
pgaudit.role 17, 18 (Preview) Specifies the role to use for object audit logging. Define multiple audit roles by granting them to this role. By using this approach, multiple groups can manage different aspects of audit logging.
pglogical.batch_inserts 17, 18 (Preview) Batch inserts if possible.
pglogical.conflict_log_level 17, 18 (Preview) Sets the log level for reporting detected conflicts when the pglogical.conflict_resolution parameter is set to a value other than error.
pglogical.conflict_resolution 17, 18 (Preview) Sets the resolution method for any detected conflicts between local data and incoming changes.
pglogical.synchronous_commit 17, 18 (Preview) pglogical specific synchronous commit value.
pgms_wait_sampling.history_period 17, 18 (Preview) Sets the frequency, in milliseconds, at which wait events are sampled.
pgms_wait_sampling.query_capture_mode 17, 18 (Preview) Selects the types of wait events that this extension tracks. Reload the config to apply changes.
postgis.gdal_enabled_drivers 17, 18 (Preview) Controls postgis GDAL enabled driver settings.
timescaledb.bgw_launcher_poll_time 17, 18 (Preview) Launcher timeout value in milliseconds. Configure the time the launcher waits to look for new TimescaleDB instances.
timescaledb.max_background_workers 17, 18 (Preview) Maximum background worker processes allocated to TimescaleDB. Max background worker processes allocated to TimescaleDB - set to at least 1 + number of databases in Postgres instance to use background workers

Error Handling

Name Versions Description
exit_on_error 17, 18 (Preview) Terminate session on any error.
restart_after_crash 17, 18 (Preview) Reinitialize server after backend crash.

Intelligent Tuning

Name Versions Description
logfiles.download_enable 17, 18 (Preview) Enables or disables server logs functionality
logfiles.retention_days 17, 18 (Preview) Sets the retention period in days for server logs. After this time, the system deletes the data.

Lock Management

Name Versions Description
deadlock_timeout 17, 18 (Preview) Sets the time to wait on a lock before checking for deadlock.
max_locks_per_transaction 17, 18 (Preview) Sets the maximum number of locks per transaction. The shared lock table is sized on the assumption that at most max_locks_per_transaction objects per server process or prepared transaction need to be locked at any one time.
max_pred_locks_per_page 17, 18 (Preview) Sets the maximum number of predicate-locked tuples per page. If a connection locks more tuples than this number on the same page, PostgreSQL replaces those locks with a page-level lock.
max_pred_locks_per_relation 17, 18 (Preview) Sets the maximum number of predicate-locked pages and tuples per relation. If a connection locks more pages and tuples than this total in the same relation, those locks are replaced by a relation-level lock.
max_pred_locks_per_transaction 17, 18 (Preview) Sets the maximum number of predicate locks per transaction. The shared predicate lock table is sized on the assumption that at most max_pred_locks_per_transaction objects per server process or prepared transaction need to be locked at any one time.

Metrics

Name Versions Description
metrics.autovacuum_diagnostics 17, 18 (Preview) Enables metrics collection for all table statistics within a database

Preset Options

Name Versions Description
block_size 17, 18 (Preview) Shows the size of a disk block.
data_checksums 17, 18 (Preview) Shows whether data checksums are turned on for this cluster.
in_hot_standby 17, 18 (Preview) Shows whether hot standby is currently active.
integer_datetimes 17, 18 (Preview) Shows whether datetimes are integer based.
max_function_args 17, 18 (Preview) Shows the maximum number of function arguments.
max_identifier_length 17, 18 (Preview) Shows the maximum identifier length.
max_index_keys 17, 18 (Preview) Shows the maximum number of index keys.
server_encoding 17, 18 (Preview) Shows the server (database) character set encoding.
server_version 17, 18 (Preview) Shows the server version.
server_version_num 17, 18 (Preview) Shows the server version as an integer.
shared_memory_size 17, 18 (Preview) Shows the size of the server's main shared memory area (rounded up to the nearest MB).
ssl_library 17, 18 (Preview) Shows the name of the SSL library.
wal_block_size 17, 18 (Preview) Shows the block size in the write-ahead log.
wal_segment_size 17, 18 (Preview) Shows the size of write-ahead log segments.

Query Tuning / Genetic Query Optimizer

Name Versions Description
geqo 17, 18 (Preview) Enables genetic query optimization. This algorithm attempts to do planning without exhaustive searching.
geqo_effort 17, 18 (Preview) GEQO: effort sets the default value for other GEQO parameters.
geqo_generations 17, 18 (Preview) GEQO: number of iterations of the algorithm. Zero selects a suitable default value.
geqo_pool_size 17, 18 (Preview) GEQO: number of individuals in the population. Zero selects a suitable default value.
geqo_seed 17, 18 (Preview) GEQO: seed for random path selection.
geqo_selection_bias 17, 18 (Preview) GEQO: selective pressure within the population.
geqo_threshold 17, 18 (Preview) Sets the threshold of FROM items beyond which GEQO is used.

Query Tuning / Other Planner Options

Name Versions Description
constraint_exclusion 17, 18 (Preview) Enables the planner to use constraints to optimize queries. The planner skips table scans if constraints guarantee that no rows match the query.
cursor_tuple_fraction 17, 18 (Preview) Sets the planner's estimate of the fraction of a cursor's rows that the query retrieves.
default_statistics_target 17, 18 (Preview) Sets the default statistics target. This setting applies to table columns that don't have a column-specific target set through ALTER TABLE SET STATISTICS.
from_collapse_limit 17, 18 (Preview) Sets the FROM-list size beyond which the query planner doesn't collapse subqueries. The query planner merges subqueries into upper queries if the resulting FROM list has no more than this many items.
join_collapse_limit 17, 18 (Preview) Sets the FROM-list size beyond which JOIN constructs aren't flattened. The planner flattens explicit JOIN constructs into lists of FROM items whenever a list of no more than this many items results.
plan_cache_mode 17, 18 (Preview) Controls the planner's selection of custom or generic plan. Prepared statements can have custom and generic plans, and the planner tries to choose the better plan. Set this parameter to override the default behavior.
recursive_worktable_factor 17, 18 (Preview) Sets the planner's estimate of the average size of a recursive query's working table.

Query Tuning / Planner Cost Constants

Name Versions Description
cpu_index_tuple_cost 17, 18 (Preview) Sets the planner's estimate of the cost of processing each index entry during an index scan.
cpu_operator_cost 17, 18 (Preview) Sets the planner's estimate of the cost of processing each operator or function call.
cpu_tuple_cost 17, 18 (Preview) Sets the planner's estimate of the cost of processing each tuple (row).
effective_cache_size 17, 18 (Preview) Sets the planner's assumption about the total size of the data caches. That is, the total size of the caches (kernel cache and shared buffers) used for PostgreSQL data files. This size is measured in disk pages, which are normally 8 kB each.
min_parallel_index_scan_size 17, 18 (Preview) Sets the minimum amount of index data for a parallel scan. If the planner estimates that the number of index pages to read is too small to reach this limit, it doesn't consider a parallel scan.
min_parallel_table_scan_size 17, 18 (Preview) Sets the minimum amount of table data for a parallel scan. If the planner estimates that it will read a number of table pages too small to reach this limit, a parallel scan isn't considered.
parallel_setup_cost 17, 18 (Preview) Sets the planner's estimate of the cost of starting up worker processes for parallel query.
parallel_tuple_cost 17, 18 (Preview) Sets the planner's estimate of the cost of passing each tuple (row) from worker to leader backend.
random_page_cost 17, 18 (Preview) Sets the planner's estimate of the cost of a nonsequentially fetched disk page.
seq_page_cost 17, 18 (Preview) Sets the planner's estimate of the cost of a sequentially fetched disk page.

Query Tuning / Planner Method Configuration

Name Versions Description
enable_async_append 17, 18 (Preview) Enables the planner to use async append plans.
enable_bitmapscan 17, 18 (Preview) Enables the planner to use bitmap-scan plans.
enable_distinct_reordering 18 (Preview) Enables reordering of DISTINCT keys.
enable_gathermerge 17, 18 (Preview) Enables the planner to use gather merge plans.
enable_group_by_reordering 17, 18 (Preview) Enables reordering of GROUP BY keys.
enable_hashagg 17, 18 (Preview) Enables the planner to use hashed aggregation plans.
enable_hashjoin 17, 18 (Preview) Enables the planner to use hash join plans.
enable_incremental_sort 17, 18 (Preview) Enables the planner to use incremental sort steps.
enable_indexonlyscan 17, 18 (Preview) Enables the planner to use index-only-scan plans.
enable_indexscan 17, 18 (Preview) Enables the planner to use index-scan plans.
enable_material 17, 18 (Preview) Enables the planner's use of materialization.
enable_memoize 17, 18 (Preview) Enables the planner's use of memoization.
enable_mergejoin 17, 18 (Preview) Enables the planner to use merge join plans.
enable_nestloop 17, 18 (Preview) Enables the planner to use nested-loop join plans.
enable_parallel_append 17, 18 (Preview) Enables the planner to use parallel append plans.
enable_parallel_hash 17, 18 (Preview) Enables the planner to use parallel hash plans.
enable_partition_pruning 17, 18 (Preview) Enables plan-time and execution-time partition pruning. When this setting is enabled, the query planner and executor compare partition bounds to conditions in the query to determine which partitions to scan.
enable_partitionwise_aggregate 17, 18 (Preview) Enables partitionwise aggregation and grouping.
enable_partitionwise_join 17, 18 (Preview) Enables partitionwise join.
enable_presorted_aggregate 17, 18 (Preview) Enables the query planner to build plans that provide presorted input for aggregate functions with an ORDER BY or DISTINCT clause. When disabled, PostgreSQL performs implicit sorts during execution.
enable_self_join_elimination 18 (Preview) Enables removal of unique self-joins.
enable_seqscan 17, 18 (Preview) Enables the planner to use sequential-scan plans.
enable_sort 17, 18 (Preview) Enables the planner to use explicit sort steps.
enable_tidscan 17, 18 (Preview) Enables the planner to use TID scan plans.

Replication / Sending Servers

Name Versions Description
idle_replication_slot_timeout 18 (Preview) Sets the duration a replication slot can remain idle before it's invalidated.
max_replication_slots 17, 18 (Preview) Sets the maximum number of simultaneously defined replication slots.
max_slot_wal_keep_size 17, 18 (Preview) Sets the maximum WAL size that replication slots can reserve. If WAL on disk uses this much space, replication slots fail, and the system releases or recycles segments.
max_wal_senders 17, 18 (Preview) Sets the maximum number of simultaneously running WAL sender processes.
output_plugin_libraries 17, 18 (Preview) Lists libraries that you can name as logical decoding output plugins.
track_commit_timestamp 17, 18 (Preview) Collects transaction commit time.

Replication / Standby Servers

Name Versions Description
hot_standby 17, 18 (Preview) Allows connections and queries during recovery.
max_standby_archive_delay 17, 18 (Preview) Sets the maximum delay before canceling queries when a hot standby server processes archived WAL data.
max_standby_streaming_delay 17, 18 (Preview) Sets the maximum delay before canceling queries when a hot standby server processes streamed WAL data.

Replication / Subscribers

Name Versions Description
max_active_replication_origins 18 (Preview) Sets the maximum number of active replication origins.
max_logical_replication_workers 17, 18 (Preview) Maximum number of logical replication worker processes.
max_parallel_apply_workers_per_subscription 17, 18 (Preview) Maximum number of parallel apply workers per subscription.
max_sync_workers_per_subscription 17, 18 (Preview) Maximum number of table synchronization workers per subscription.

Reporting and Logging / What to Log

Name Versions Description
application_name 17, 18 (Preview) Sets the application name to report in statistics and logs.
debug_pretty_print 17, 18 (Preview) Indents parse and plan tree displays.
debug_print_parse 17, 18 (Preview) Logs each query's parse tree.
debug_print_plan 17, 18 (Preview) Logs each query's execution plan.
debug_print_rewritten 17, 18 (Preview) Logs each query's rewritten parse tree.
log_autovacuum_min_duration 17, 18 (Preview) Sets the minimum execution time above which autovacuum actions will be logged. Zero prints all actions. -1 turns autovacuum logging off.
log_checkpoints 17, 18 (Preview) Logs each checkpoint.
log_connections 17, 18 (Preview) Controls which connection events are recorded in the server log. Available options depend on the PostgreSQL version.
log_disconnections 17, 18 (Preview) Logs end of a session, including duration.
log_duration 17, 18 (Preview) Logs the duration of each completed SQL statement.
log_error_verbosity 17, 18 (Preview) Sets the verbosity of logged messages.
log_hostname 17, 18 (Preview) Logs the host name in the connection logs. By default, connection logs only show the IP address of the connecting host. If you want them to show the host name, turn on this setting. Depending on your host name resolution setup, it might impose a performance penalty.
log_line_prefix 17, 18 (Preview) Controls the information prefixed to each log line. If you set it to blank, no prefix is used.
log_lock_failures 18 (Preview) Controls whether to produce a detailed log message when a lock acquisition fails.
log_lock_waits 17, 18 (Preview) Logs long lock waits.
log_parameter_max_length 17, 18 (Preview) Sets the maximum length in bytes of data logged for bind parameter values when logging statements. Use -1 to print values in full.
log_parameter_max_length_on_error 17, 18 (Preview) Sets the maximum length in bytes of data logged for bind parameter values when logging statements, on error. Use -1 to print values in full.
log_recovery_conflict_waits 17, 18 (Preview) Logs standby recovery conflict waits.
log_replication_commands 17, 18 (Preview) Logs each replication command.
log_statement 17, 18 (Preview) Sets the type of statements to log.
log_temp_files 17, 18 (Preview) Log the use of temporary files larger than this number of kilobytes. Zero logs all files. The default is -1 (turning this feature off).
log_timezone 17, 18 (Preview) Sets the time zone to use in log messages.

Reporting and Logging / When to Log

Name Versions Description
log_min_duration_sample 17, 18 (Preview) 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.
log_min_duration_statement 17, 18 (Preview) Sets the minimum execution time above which all statements will be logged. Zero prints all queries. -1 turns this feature off.
log_startup_progress_interval 17, 18 (Preview) Time between progress updates for long-running startup operations. Set to 0 to turn this feature off.
log_statement_sample_rate 17, 18 (Preview) Fraction of statements that exceed log_min_duration_sample to log. Use a value between 0.0 (never log) and 1.0 (always log).
log_transaction_sample_rate 17, 18 (Preview) 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).

Reporting and Logging / Where to Log

Name Versions Description
log_destination 17, 18 (Preview) Sets the destination for server log output. Valid values are combinations of "stderr", "syslog", "csvlog", "jsonlog", and "eventlog", depending on the platform.

Resource Usage / Asynchronous Behavior

Name Versions Description
max_notify_queue_pages 17, 18 (Preview) Sets the maximum number of allocated pages for the NOTIFY and LISTEN queue.
max_parallel_maintenance_workers 17, 18 (Preview) Sets the maximum number of parallel processes per maintenance operation.
max_parallel_workers 17, 18 (Preview) Sets the maximum number of parallel workers that can be active at one time.
max_parallel_workers_per_gather 17, 18 (Preview) Sets the maximum number of parallel processes per executor node.
max_worker_processes 17, 18 (Preview) Maximum number of concurrent worker processes.
parallel_leader_participation 17, 18 (Preview) Controls whether Gather and Gather Merge also run subplans. Should gather nodes also run subplans or just gather tuples.

Resource Usage / Cost-Based Vacuum Delay

Name Versions Description
vacuum_cost_delay 17, 18 (Preview) Vacuum cost delay in milliseconds.
vacuum_cost_limit 17, 18 (Preview) Vacuum cost amount available before napping.
vacuum_cost_page_dirty 17, 18 (Preview) Vacuum cost for a page dirtied by vacuum.
vacuum_cost_page_hit 17, 18 (Preview) Vacuum cost for a page found in the buffer cache.
vacuum_cost_page_miss 17, 18 (Preview) Vacuum cost for a page not found in the buffer cache.

Resource Usage / Disk

Name Versions Description
temp_file_limit 17, 18 (Preview) Limits the total size of all temporary files used by each process. -1 means no limit.

Resource Usage / Memory

Name Versions Description
autovacuum_work_mem 17, 18 (Preview) Sets the maximum memory each autovacuum worker process can use.
commit_timestamp_buffers 17, 18 (Preview) Sets the size of the dedicated buffer pool used for the commit timestamp cache. Specify 0 to set this value as a fraction of shared_buffers.
hash_mem_multiplier 17, 18 (Preview) Multiple of work_mem to use for hash tables.
huge_pages 17, 18 (Preview) Use of huge pages on Linux or Windows.
logical_decoding_work_mem 17, 18 (Preview) Sets the maximum memory for logical decoding. Each internal reorder buffer can use this much memory before it spills to disk.
maintenance_work_mem 17, 18 (Preview) Sets the maximum memory for maintenance operations. These operations include VACUUM and CREATE INDEX.
max_prepared_transactions 17, 18 (Preview) Sets the maximum number of simultaneously prepared transactions.
multixact_member_buffers 17, 18 (Preview) Sets the size of the dedicated buffer pool used for the MultiXact member cache.
multixact_offset_buffers 17, 18 (Preview) Sets the size of the dedicated buffer pool used for the MultiXact offset cache.
notify_buffers 17, 18 (Preview) Sets the size of the dedicated buffer pool used for the LISTEN/NOTIFY message cache.
serializable_buffers 17, 18 (Preview) Sets the size of the dedicated buffer pool used for the serializable transaction cache.
shared_buffers 17, 18 (Preview) Sets the number of shared memory buffers used by the server.
subtransaction_buffers 17, 18 (Preview) Sets the size of the dedicated buffer pool used for the subtransaction cache. Specify 0 to set this value as a fraction of shared_buffers.
temp_buffers 17, 18 (Preview) Sets the maximum number of temporary buffers each session can use.
transaction_buffers 17, 18 (Preview) Sets the size of the dedicated buffer pool used for the transaction status cache. Specify 0 to set this value as a fraction of shared_buffers.
vacuum_buffer_usage_limit 17, 18 (Preview) Sets the buffer pool size for VACUUM, ANALYZE, and autovacuum.
work_mem 17, 18 (Preview) Sets the maximum memory for query workspaces. Each internal sort operation and hash table can use this memory amount before switching to temporary disk files.

Statistics / Cumulative Query and Index Statistics

Name Versions Description
track_activities 17, 18 (Preview) Collects information about executing commands. Enables the collection of information on the currently executing command of each session, along with the time at which that command began execution.
track_activity_query_size 17, 18 (Preview) Sets the size reserved for pg_stat_activity.query, in bytes.
track_cost_delay_timing 18 (Preview) Collects timing statistics for cost-based vacuum delay.
track_counts 17, 18 (Preview) Collects statistics on database activity.
track_functions 17, 18 (Preview) Collects function-level statistics on database activity.
track_io_timing 17, 18 (Preview) Collects timing statistics for database I/O activity.
track_wal_io_timing 17, 18 (Preview) Collects timing statistics for WAL I/O activity.

Statistics / Monitoring

Name Versions Description
compute_query_id 17, 18 (Preview) Enables in-core computation of query identifiers.
log_executor_stats 17, 18 (Preview) Writes executor performance statistics to the server log.
log_parser_stats 17, 18 (Preview) Writes parser performance statistics to the server log.
log_planner_stats 17, 18 (Preview) Writes planner performance statistics to the server log.
log_statement_stats 17, 18 (Preview) Writes cumulative performance statistics to the server log.

Version and Platform Compatibility / Other Platforms and Clients

Name Versions Description
allow_alter_system 17, 18 (Preview) Allows running the ALTER SYSTEM command. Set to off for environments where global configuration changes should be made using a different method.
transform_null_equals 17, 18 (Preview) Treats expr=NULL as expr IS NULL. When turned on, expressions of the form expr = NULL (or NULL = expr) are treated as expr IS NULL. These expressions return true if expr evaluates to the null value, and false otherwise. The correct behavior of expr = NULL is to always return null (unknown).

Version and Platform Compatibility / Previous PostgreSQL Versions

Name Versions Description
array_nulls 17, 18 (Preview) Enable input of NULL elements in arrays. When turned on, unquoted NULL in an array input value means a null value; otherwise it is taken literally.
backslash_quote 17, 18 (Preview) Sets whether "'" is allowed in string literals.
escape_string_warning 17, 18 (Preview) Warn about backslash escapes in ordinary string literals.
quote_all_identifiers 17, 18 (Preview) When generating SQL fragments, quote all identifiers.
standard_conforming_strings 17, 18 (Preview) Causes '...' strings to treat backslashes literally.
synchronize_seqscans 17, 18 (Preview) Enable synchronized sequential scans.

Write-Ahead Log / Archiving

Name Versions Description
archive_timeout 17, 18 (Preview) Sets the amount of time to wait before forcing a switch to the next WAL file.

Write-Ahead Log / Checkpoints

Name Versions Description
checkpoint_timeout 17, 18 (Preview) Sets the maximum time between automatic WAL checkpoints.
checkpoint_warning 17, 18 (Preview) Sets the maximum time before warning if checkpoints triggered by WAL volume happen too frequently. Write a message to the server log if checkpoints caused by the filling of WAL segment files happen more frequently than this amount of time. Zero turns off the warning.
max_wal_size 17, 18 (Preview) Sets the WAL size that triggers a checkpoint.

Write-Ahead Log / Recovery

Name Versions Description
wal_decode_buffer_size 17, 18 (Preview) Buffer size for reading ahead in the WAL during recovery. Maximum distance to read ahead in the WAL to prefetch referenced data blocks.

Write-Ahead Log / Settings

Name Versions Description
commit_delay 17, 18 (Preview) Sets the delay in microseconds between transaction commit and flushing WAL to disk.
commit_siblings 17, 18 (Preview) Sets the minimum number of concurrent open transactions required before performing commit_delay.
full_page_writes 17, 18 (Preview) Writes full pages to WAL when first modified after a checkpoint. A page write in process during an operating system crash might be only partially written to disk. During recovery, the row changes stored in WAL aren't enough to recover. This option writes pages when first modified after a checkpoint to WAL so full recovery is possible.
synchronous_commit 17, 18 (Preview) Sets the current transaction's synchronization level.
wal_buffers 17, 18 (Preview) Sets the number of disk-page buffers in shared memory for WAL. Specify -1 to set this value as a fraction of shared_buffers.
wal_compression 17, 18 (Preview) Compresses full-page writes in the WAL file.
wal_level 17, 18 (Preview) Sets the level of information written to the WAL.
wal_log_hints 17, 18 (Preview) Writes full pages to WAL when first modified after a checkpoint, even for a non-critical modification.
wal_writer_delay 17, 18 (Preview) Time between WAL flushes that the WAL writer performs.
wal_writer_flush_after 17, 18 (Preview) Amount of WAL written by the WAL writer that triggers a flush.