你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

自定义选项

auto_explain.log_analyze

属性
类别 自定义选项
说明 使用 EXPLAIN ANALYZE 进行计划日志记录。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_analyze

auto_explain.log_buffers

属性
类别 自定义选项
说明 记录缓冲区使用情况。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_buffers

auto_explain.log_format

属性
类别 自定义选项
说明 用于计划日志记录的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 动态
文档 auto_explain.log_format

auto_explain.log_level

属性
类别 自定义选项
说明 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 动态
文档 auto_explain.log_level

auto_explain.log_min_duration

属性
类别 自定义选项
说明 设置将记录计划的最低执行时间。 零打印所有计划。 -1 关闭此功能。
数据类型 integer
默认值 -1
允许的值 -1-2147483647
参数类型 动态
文档 auto_explain.log_min_duration

auto_explain.log_nested_statements

属性
类别 自定义选项
说明 记录嵌套语句。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_nested_statements

auto_explain.log_settings

属性
类别 自定义选项
说明 记录影响查询计划的已修改配置参数。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_settings

auto_explain.log_timing

属性
类别 自定义选项
说明 收集计时数据,而不仅仅是行计数。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 auto_explain.log_timing

auto_explain.log_triggers

属性
类别 自定义选项
说明 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_triggers

auto_explain.log_verbose

属性
类别 自定义选项
说明 使用 EXPLAIN VERBOSE 进行计划日志记录。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_verbose

auto_explain.log_wal

属性
类别 自定义选项
说明 记录 WAL 使用情况。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_wal

auto_explain.sample_rate

属性
类别 自定义选项
说明 要处理的查询的占比。
数据类型 numeric
默认值 1.0
允许的值 0.0-1.0
参数类型 动态
文档 auto_explain.sample_rate

azure.accepted_password_auth_method

属性
类别 自定义选项
说明 接受的密码身份验证方法。
数据类型 set
默认值 md5,scram-sha-256
允许的值 md5,scram-sha-256
参数类型 动态
文档 azure.accepted_password_auth_method

azure.enable_temp_tablespaces_on_local_ssd

属性
类别 自定义选项
说明 在临时磁盘上创建临时表空间。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档

azure.extensions

属性
类别 自定义选项
说明 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,amcheck,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hstore,hypopg,intagg,intarray,isn,lo,login_hook,ltree,orafce,pageinspect,pg_buffercache,pg_cron,pg_freespacemap,pg_hint_plan,pg_partman,pg_prewarm,pg_repack,pg_squeeze,pg_stat_statements,pg_trgm,pg_visibility,pgaudit,pgcrypto,pglogical,pgrowlocks,pgstattuple,plpgsql,plv8,postgis,postgis_raster,postgis_sfcgal,postgis_tiger_geocoder,postgis_topology,postgres_fdw,postgres_protobuf,semver,session_variable,sslinfo,tablefunc,tds_fdw,timescaledb,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 动态
文档 azure.extensions

azure.single_to_flex_migration

属性
类别 自定义选项
说明 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 boolean
默认值 off
允许的值 off
参数类型 (只读)
文档

azure_storage.allow_network_access

属性
类别 自定义选项
说明 允许从扩展 azure_storage 中的 blob 存储访问数据。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档

azure_storage.blob_block_size_mb

属性
类别 自定义选项
说明 扩展 azure_storage 中 blob_put 的 Blob 块大小(以 MB 为单位)。
数据类型 integer
默认值 1024
允许的值 1024
参数类型 (只读)
文档 azure_storage.blob_block_size_mb

azure_storage.public_account_access

属性
类别 自定义选项
说明 允许所有用户访问扩展 azure_storage 中公共存储帐户中的数据。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档

connection_throttle.bucket_limit

属性
类别 自定义选项
说明 每个 Bucket 的最大登录令牌数。
数据类型 integer
默认值 2000
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.enable

属性
类别 自定义选项
说明 启用登录失败次数过多时 IP 的临时连接限制。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档

connection_throttle.factor_bias

属性
类别 自定义选项
说明 计算 IP Bucket 的令牌数的因子偏差。
数据类型 numeric
默认值 0.8
允许的值 0.0-0.9
参数类型 动态
文档

connection_throttle.hash_entries_max

属性
类别 自定义选项
说明 登录失败哈希表中的最大条目数。
数据类型 integer
默认值 500
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.reset_time

属性
类别 自定义选项
说明 重置登录 Bucket 之间的时间。
数据类型 integer
默认值 120
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.restore_factor

属性
类别 自定义选项
说明 对于失败率较低的 IP 增加令牌数的因子。
数据类型 numeric
默认值 2
允许的值 1.0-100.0
参数类型 动态
文档

connection_throttle.update_time

属性
类别 自定义选项
说明 更新登录 Bucket 之间的时间。
数据类型 integer
默认值 20
允许的值 1-2147483647
参数类型 动态
文档

cron.database_name

属性
类别 自定义选项
说明 设置在其中保留 pg_cron 元数据的数据库。
数据类型 string
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 static
文档 cron.database_name

cron.log_run

属性
类别 自定义选项
说明 将所有作业记录到 job_run_details 表中。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 static
文档 cron.log_run

cron.log_statement

属性
类别 自定义选项
说明 在执行之前记录所有 cron 语句。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 static
文档 cron.log_statement

cron.max_running_jobs

属性
类别 自定义选项
说明 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 integer
默认值 32
允许的值 0-5000
参数类型 static
文档 cron.max_running_jobs

index_tuning.analysis_interval

属性
类别 自定义选项
说明 将 index_tuning.mode 设置为 'REPORT' 时触发每个索引优化会话的频率。
数据类型 integer
默认值 720
允许的值 60-10080
参数类型 动态
文档 index_tuning.analysis_interval

index_tuning.max_columns_per_index

属性
类别 自定义选项
说明 任何建议索引的索引键中可以包含的最大列数。
数据类型 integer
默认值 2
允许的值 1-10
参数类型 动态
文档 index_tuning.max_columns_per_index

index_tuning.max_index_count

属性
类别 自定义选项
说明 在一个优化会话期间可以为每个数据库推荐的最大索引数。
数据类型 integer
默认值 10
允许的值 1-25
参数类型 动态
文档 index_tuning.max_index_count

index_tuning.max_indexes_per_table

属性
类别 自定义选项
说明 每个表可推荐的最大索引数。
数据类型 integer
默认值 10
允许的值 1-25
参数类型 动态
文档 index_tuning.max_indexes_per_table

index_tuning.max_queries_per_database

属性
类别 自定义选项
说明 每个数据库可为其推荐索引的最慢查询数。
数据类型 integer
默认值 25
允许的值 5-100
参数类型 动态
文档 index_tuning.max_queries_per_database

index_tuning.max_regression_factor

属性
类别 自定义选项
说明 在一个优化会话中分析的任何查询上推荐索引引入的可接受回归。
数据类型 numeric
默认值 0.1
允许的值 0.05-0.2
参数类型 动态
文档 index_tuning.max_regression_factor

index_tuning.max_total_size_factor

属性
类别 自定义选项
说明 任何给定数据库的所有建议索引都可以使用的最大总磁盘空间百分比( 以总磁盘空间百分比为单位)。
数据类型 numeric
默认值 0.1
允许的值 0-1.0
参数类型 动态
文档 index_tuning.max_total_size_factor

index_tuning.min_improvement_factor

属性
类别 自定义选项
说明 建议的索引必须提供给在一个优化会话中分析的至少一个查询的成本改进。
数据类型 numeric
默认值 0.2
允许的值 0-20.0
参数类型 动态
文档 index_tuning.min_improvement_factor

index_tuning.mode

属性
类别 自定义选项
说明 将索引优化配置为已禁用 ('OFF'),或仅启用以仅发出建议。 通过将 pg_qs.query_capture_mode 设置为 'TOP' 或 'ALL' 来启用查询存储。
数据类型 枚举
默认值 off
允许的值 off,report
参数类型 动态
文档 index_tuning.mode

index_tuning.unused_dml_per_table

属性
类别 自定义选项
说明 影响表的每日平均 DML 操作的最小数目,以便考虑删除其未使用的索引。
数据类型 integer
默认值 1000
允许的值 0-9999999
参数类型 动态
文档 index_tuning.unused_dml_per_table

index_tuning.unused_min_period

属性
类别 自定义选项
说明 未根据系统统计信息使用索引的最小天数,以便考虑删除索引。
数据类型 integer
默认值 35
允许的值 30-720
参数类型 动态
文档 index_tuning.unused_min_period

index_tuning.unused_reads_per_table

属性
类别 自定义选项
说明 影响表的每日平均读取操作的最小数目,以便考虑删除其未使用的索引。
数据类型 integer
默认值 1000
允许的值 0-9999999
参数类型 动态
文档 index_tuning.unused_reads_per_table

intelligent_tuning

属性
类别 自定义选项
说明 启用智能优化
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 intelligent_tuning

intelligent_tuning.metric_targets

属性
类别 自定义选项
说明 指定智能优化将调整哪些指标。
数据类型 set
默认值 none
允许的值 none,Storage-checkpoint_completion_target,Storage-min_wal_size,Storage-max_wal_size,Storage-bgwriter_delay,tuning-autovacuum,all
参数类型 动态
文档 intelligent_tuning.metric_targets

logfiles.download_enable

属性
类别 自定义选项
说明 启用或禁用服务器日志功能。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 logfiles.download_enable

logfiles.retention_days

属性
类别 自定义选项
说明 设置 pg_qs 的保留期时间段(以天为单位)- 数据将在此时间之后删除。
数据类型 integer
默认值 3
允许的值 1-7
参数类型 动态
文档 logfiles.retention_days

metrics.autovacuum_diagnostics

属性
类别 自定义选项
说明 为数据库中的所有表统计信息启用指标收集
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.autovacuum_diagnostics

metrics.collector_database_activity

属性
类别 自定义选项
说明 为数据库和活动统计信息启用指标收集
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.collector_database_activity

metrics.pgbouncer_diagnostics

属性
类别 自定义选项
说明 为 PgBouncer 启用指标收集。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.pgbouncer_diagnostics

pgaudit.log

属性
类别 自定义选项
说明 指定会话审核日志记录将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 动态
文档 pgaudit.log

pgaudit.log_catalog

属性
类别 自定义选项
说明 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pgaudit.log_catalog

pgaudit.log_client

属性
类别 自定义选项
说明 指定审核消息是否应对客户端可见。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_client

pgaudit.log_level

属性
类别 自定义选项
说明 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 动态
文档 pgaudit.log_level

pgaudit.log_parameter

属性
类别 自定义选项
说明 指定审核日志记录应包含随语句一起传递的参数。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_parameter

pgaudit.log_relation

属性
类别 自定义选项
说明 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_relation

pgaudit.log_statement_once

属性
类别 自定义选项
说明 指定日志记录是包含语句文本和参数以及语句/子语句组合的第一个日志条目还是每个条目。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_statement_once

pgaudit.role

属性
类别 自定义选项
说明 指定要用于对象审核日志记录的主角色。
数据类型 string
默认值
允许的值 [A-Za-z\\._]*
参数类型 动态
文档 pgaudit.role

pgbouncer.default_pool_size

属性
类别 自定义选项
说明 每个用户/数据库对允许的服务器连接数。
数据类型 integer
默认值 50
允许的值 1-4950
参数类型 动态
文档 pgbouncer.default_pool_size

pgbouncer.enabled

属性
类别 自定义选项
说明 表示是否启用了 pgBouncer 服务。
数据类型 boolean
默认值 false
允许的值 true, false
参数类型 动态
文档 pgbouncer.enabled

pgbouncer.ignore_startup_parameters

属性
类别 自定义选项
说明 PgBouncer 可忽略的参数的逗号分隔列表,因为这些参数将由管理员处理。
数据类型 string
默认值
允许的值 [A-Za-z0-9_\\.,]*
参数类型 动态
文档 pgbouncer.ignore_startup_parameters

pgbouncer.max_client_conn

属性
类别 自定义选项
说明 允许的最大客户端连接数。
数据类型 integer
默认值 5000
允许的值 1-50000
参数类型 动态
文档 pgbouncer.max_client_conn

pgbouncer.max_prepared_statements

属性
类别 自定义选项
说明 当它设置为非零值时,PgBouncer 会跟踪客户端在事务和语句池模式下发送的、协议级命名的、已准备好的语句相关命令。
数据类型 integer
默认值 0
允许的值 0-5000
参数类型 动态
文档 pgbouncer.max_prepared_statements

pgbouncer.min_pool_size

属性
类别 自定义选项
说明 如果低于此数量,请将更多服务器连接添加到池。
数据类型 integer
默认值 0
允许的值 0-4950
参数类型 动态
文档 pgbouncer.min_pool_size

pgbouncer.pool_mode

属性
类别 自定义选项
说明 指定服务器连接何时可供其他客户端重用。
数据类型 枚举
默认值 transaction
允许的值 session,transaction,statement
参数类型 动态
文档 pgbouncer.pool_mode

pgbouncer.query_wait_timeout

属性
类别 自定义选项
说明 允许查询等待进行执行的最长时间(秒)。 如果在此期间未将查询分配给服务器,则客户端将断开连接。
数据类型 integer
默认值 120
允许的值 0-86400
参数类型 动态
文档 pgbouncer.query_wait_timeout

pgbouncer.server_idle_timeout

属性
类别 自定义选项
说明 如果服务器连接空闲时间超过此秒数,则会将其断开。 如果为 0,则禁用超时。
数据类型 integer
默认值 600
允许的值 0-86400
参数类型 动态
文档 pgbouncer.server_idle_timeout

pgbouncer.stats_users

属性
类别 自定义选项
说明 获允在 pgBouncer 控制台上连接和运行只读查询的数据库用户的逗号分隔列表。
数据类型 string
默认值
允许的值 [A-Za-z0-9,@_\\-\\.]*
参数类型 动态
文档 pgbouncer.stats_users

pglogical.batch_inserts

属性
类别 自定义选项
说明 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pglogical.batch_inserts

pglogical.conflict_log_level

属性
类别 自定义选项
说明 设置当 pglogical.conflict_resolution 设置为除 error 以外的任何值时报告检测到的冲突的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic
参数类型 动态
文档 pglogical.conflict_log_level

pglogical.conflict_resolution

属性
类别 自定义选项
说明 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 动态
文档 pglogical.conflict_resolution

pglogical.use_spi

属性
类别 自定义选项
说明 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pglogical.use_spi

pgms_stats.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档

pgms_wait_sampling.history_period

属性
类别 自定义选项
说明 设置等待事件采样的频率(以毫秒为单位)。
数据类型 integer
默认值 100
允许的值 1-600000
参数类型 动态
文档 pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。 如果显示为“关闭”,那么即使为 pgms_wait_sampling.query_capture_mode 设置了值,等待采样也会被禁用。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档 pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

属性
类别 自定义选项
说明 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 动态
文档 pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

属性
类别 自定义选项
说明 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pg_partman_bgw.analyze

pg_partman_bgw.dbname

属性
类别 自定义选项
说明 必填。 run_maintenance() 将运行的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 string
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 动态
文档 pg_partman_bgw.dbname

pg_partman_bgw.interval

属性
类别 自定义选项
说明 调用 run_maintenance() 的间隔秒数。
数据类型 integer
默认值 3600
允许的值 1-315360000
参数类型 动态
文档 pg_partman_bgw.interval

pg_partman_bgw.jobmon

属性
类别 自定义选项
说明 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_partman_bgw.jobmon

pg_partman_bgw.role

属性
类别 自定义选项
说明 run_maintenance() 将作为其运行的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 string
默认值
允许的值 [A-Za-z\\._]*
参数类型 动态
文档 pg_partman_bgw.role

pg_qs.interval_length_minutes

属性
类别 自定义选项
说明 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 integer
默认值 15
允许的值 1-30
参数类型 static
文档 pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。 如果显示为关闭,那么即使为 pg_qs.query_capture_mode 设置了值,查询存储也会被禁用。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档 pg_qs.is_enabled_fs

pg_qs.max_plan_size

属性
类别 自定义选项
说明 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 integer
默认值 7500
允许的值 100-10000
参数类型 动态
文档 pg_qs.max_plan_size

pg_qs.max_query_text_length

属性
类别 自定义选项
说明 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 integer
默认值 6000
允许的值 100-10000
参数类型 动态
文档 pg_qs.max_query_text_length

pg_qs.query_capture_mode

属性
类别 自定义选项
说明 设置查询存储的查询捕获模式。 None 禁用任何捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 动态
文档 pg_qs.query_capture_mode

pg_qs.retention_period_in_days

属性
类别 自定义选项
说明 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 integer
默认值 7
允许的值 1-30
参数类型 动态
文档 pg_qs.retention_period_in_days

pg_qs.store_query_plans

属性
类别 自定义选项
说明 为 pg_qs 打开或关闭保存查询计划的功能
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pg_qs.store_query_plans

pg_qs.track_utility

属性
类别 自定义选项
说明 选择 pg_qs 是否跟踪实用程序命令。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_qs.track_utility

pg_stat_statements.max

属性
类别 自定义选项
说明 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 integer
默认值 5000
允许的值 100-2147483647
参数类型 static
文档 pg_stat_statements.max

pg_stat_statements.save

属性
类别 自定义选项
说明 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_stat_statements.save

pg_stat_statements.track

属性
类别 自定义选项
说明 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 动态
文档 pg_stat_statements.track

pg_stat_statements.track_utility

属性
类别 自定义选项
说明 选择是否由 pg_stat_statements 跟踪实用程序命令。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

属性
类别 自定义选项
说明 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 动态
文档 postgis.gdal_enabled_drivers

require_secure_transport

属性
类别 自定义选项
说明 是否需要客户端连接到服务器来使用某种形式的安全传输。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 require_secure_transport

auto_explain.log_analyze

属性
类别 自定义选项
说明 使用 EXPLAIN ANALYZE 进行计划日志记录。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_analyze

auto_explain.log_buffers

属性
类别 自定义选项
说明 记录缓冲区使用情况。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_buffers

auto_explain.log_format

属性
类别 自定义选项
说明 用于计划日志记录的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 动态
文档 auto_explain.log_format

auto_explain.log_level

属性
类别 自定义选项
说明 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 动态
文档 auto_explain.log_level

auto_explain.log_min_duration

属性
类别 自定义选项
说明 设置将记录计划的最低执行时间。 零打印所有计划。 -1 关闭此功能。
数据类型 integer
默认值 -1
允许的值 -1-2147483647
参数类型 动态
文档 auto_explain.log_min_duration

auto_explain.log_nested_statements

属性
类别 自定义选项
说明 记录嵌套语句。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_nested_statements

auto_explain.log_settings

属性
类别 自定义选项
说明 记录影响查询计划的已修改配置参数。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_settings

auto_explain.log_timing

属性
类别 自定义选项
说明 收集计时数据,而不仅仅是行计数。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 auto_explain.log_timing

auto_explain.log_triggers

属性
类别 自定义选项
说明 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_triggers

auto_explain.log_verbose

属性
类别 自定义选项
说明 使用 EXPLAIN VERBOSE 进行计划日志记录。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_verbose

auto_explain.log_wal

属性
类别 自定义选项
说明 记录 WAL 使用情况。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_wal

auto_explain.sample_rate

属性
类别 自定义选项
说明 要处理的查询的占比。
数据类型 numeric
默认值 1.0
允许的值 0.0-1.0
参数类型 动态
文档 auto_explain.sample_rate

azure.accepted_password_auth_method

属性
类别 自定义选项
说明 接受的密码身份验证方法。
数据类型 set
默认值 md5,scram-sha-256
允许的值 md5,scram-sha-256
参数类型 动态
文档 azure.accepted_password_auth_method

azure.enable_temp_tablespaces_on_local_ssd

属性
类别 自定义选项
说明 在临时磁盘上创建临时表空间。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档

azure.extensions

属性
类别 自定义选项
说明 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,amcheck,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hstore,hypopg,intagg,intarray,isn,lo,login_hook,ltree,orafce,pageinspect,pg_buffercache,pg_cron,pg_freespacemap,pg_hint_plan,pg_partman,pg_prewarm,pg_repack,pg_squeeze,pg_stat_statements,pg_trgm,pg_visibility,pgaudit,pgcrypto,pglogical,pgrouting,pgrowlocks,pgstattuple,plpgsql,plv8,postgis,postgis_raster,postgis_sfcgal,postgis_tiger_geocoder,postgis_topology,postgres_fdw,postgres_protobuf,semver,session_variable,sslinfo,tablefunc,tds_fdw,timescaledb,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 动态
文档 azure.extensions

azure.fabric_mirror_enabled

Attribute
类别 自定义选项
说明 指定指示是否在服务器上启用镜像的标志。
Data type boolean
默认值 off
允许的值 off
参数类型 (只读)
文档

azure.single_to_flex_migration

属性
类别 自定义选项
说明 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 boolean
默认值 off
允许的值 off
参数类型 (只读)
文档

azure_storage.allow_network_access

属性
类别 自定义选项
说明 允许从扩展 azure_storage 中的 blob 存储访问数据。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档

azure_storage.blob_block_size_mb

属性
类别 自定义选项
说明 扩展 azure_storage 中 blob_put 的 Blob 块大小(以 MB 为单位)。
数据类型 integer
默认值 1024
允许的值 1024
参数类型 (只读)
文档 azure_storage.blob_block_size_mb

azure_storage.public_account_access

属性
类别 自定义选项
说明 允许所有用户访问扩展 azure_storage 中公共存储帐户中的数据。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档

connection_throttle.bucket_limit

属性
类别 自定义选项
说明 每个 Bucket 的最大登录令牌数。
数据类型 integer
默认值 2000
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.enable

属性
类别 自定义选项
说明 启用登录失败次数过多时 IP 的临时连接限制。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档

connection_throttle.factor_bias

属性
类别 自定义选项
说明 计算 IP Bucket 的令牌数的因子偏差。
数据类型 numeric
默认值 0.8
允许的值 0.0-0.9
参数类型 动态
文档

connection_throttle.hash_entries_max

属性
类别 自定义选项
说明 登录失败哈希表中的最大条目数。
数据类型 integer
默认值 500
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.reset_time

属性
类别 自定义选项
说明 重置登录 Bucket 之间的时间。
数据类型 integer
默认值 120
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.restore_factor

属性
类别 自定义选项
说明 对于失败率较低的 IP 增加令牌数的因子。
数据类型 numeric
默认值 2
允许的值 1.0-100.0
参数类型 动态
文档

connection_throttle.update_time

属性
类别 自定义选项
说明 更新登录 Bucket 之间的时间。
数据类型 integer
默认值 20
允许的值 1-2147483647
参数类型 动态
文档

cron.database_name

属性
类别 自定义选项
说明 设置在其中保留 pg_cron 元数据的数据库。
数据类型 string
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 static
文档 cron.database_name

cron.log_run

属性
类别 自定义选项
说明 将所有作业记录到 job_run_details 表中。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 static
文档 cron.log_run

cron.log_statement

属性
类别 自定义选项
说明 在执行之前记录所有 cron 语句。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 static
文档 cron.log_statement

cron.max_running_jobs

属性
类别 自定义选项
说明 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 integer
默认值 32
允许的值 0-5000
参数类型 static
文档 cron.max_running_jobs

index_tuning.analysis_interval

属性
类别 自定义选项
说明 将 index_tuning.mode 设置为 'REPORT' 时触发每个索引优化会话的频率。
数据类型 integer
默认值 720
允许的值 60-10080
参数类型 动态
文档 index_tuning.analysis_interval

index_tuning.max_columns_per_index

属性
类别 自定义选项
说明 任何建议索引的索引键中可以包含的最大列数。
数据类型 integer
默认值 2
允许的值 1-10
参数类型 动态
文档 index_tuning.max_columns_per_index

index_tuning.max_index_count

属性
类别 自定义选项
说明 在一个优化会话期间可以为每个数据库推荐的最大索引数。
数据类型 integer
默认值 10
允许的值 1-25
参数类型 动态
文档 index_tuning.max_index_count

index_tuning.max_indexes_per_table

属性
类别 自定义选项
说明 每个表可推荐的最大索引数。
数据类型 integer
默认值 10
允许的值 1-25
参数类型 动态
文档 index_tuning.max_indexes_per_table

index_tuning.max_queries_per_database

属性
类别 自定义选项
说明 每个数据库可为其推荐索引的最慢查询数。
数据类型 integer
默认值 25
允许的值 5-100
参数类型 动态
文档 index_tuning.max_queries_per_database

index_tuning.max_regression_factor

属性
类别 自定义选项
说明 在一个优化会话中分析的任何查询上推荐索引引入的可接受回归。
数据类型 numeric
默认值 0.1
允许的值 0.05-0.2
参数类型 动态
文档 index_tuning.max_regression_factor

index_tuning.max_total_size_factor

属性
类别 自定义选项
说明 任何给定数据库的所有建议索引都可以使用的最大总磁盘空间百分比( 以总磁盘空间百分比为单位)。
数据类型 numeric
默认值 0.1
允许的值 0-1.0
参数类型 动态
文档 index_tuning.max_total_size_factor

index_tuning.min_improvement_factor

属性
类别 自定义选项
说明 建议的索引必须提供给在一个优化会话中分析的至少一个查询的成本改进。
数据类型 numeric
默认值 0.2
允许的值 0-20.0
参数类型 动态
文档 index_tuning.min_improvement_factor

index_tuning.mode

属性
类别 自定义选项
说明 将索引优化配置为已禁用 ('OFF'),或仅启用以仅发出建议。 通过将 pg_qs.query_capture_mode 设置为 'TOP' 或 'ALL' 来启用查询存储。
数据类型 枚举
默认值 off
允许的值 off,report
参数类型 动态
文档 index_tuning.mode

index_tuning.unused_dml_per_table

属性
类别 自定义选项
说明 影响表的每日平均 DML 操作的最小数目,以便考虑删除其未使用的索引。
数据类型 integer
默认值 1000
允许的值 0-9999999
参数类型 动态
文档 index_tuning.unused_dml_per_table

index_tuning.unused_min_period

属性
类别 自定义选项
说明 未根据系统统计信息使用索引的最小天数,以便考虑删除索引。
数据类型 integer
默认值 35
允许的值 30-720
参数类型 动态
文档 index_tuning.unused_min_period

index_tuning.unused_reads_per_table

属性
类别 自定义选项
说明 影响表的每日平均读取操作的最小数目,以便考虑删除其未使用的索引。
数据类型 integer
默认值 1000
允许的值 0-9999999
参数类型 动态
文档 index_tuning.unused_reads_per_table

intelligent_tuning

属性
类别 自定义选项
说明 启用智能优化
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 intelligent_tuning

intelligent_tuning.metric_targets

属性
类别 自定义选项
说明 指定智能优化将调整哪些指标。
数据类型 set
默认值 none
允许的值 none,Storage-checkpoint_completion_target,Storage-min_wal_size,Storage-max_wal_size,Storage-bgwriter_delay,tuning-autovacuum,all
参数类型 动态
文档 intelligent_tuning.metric_targets

logfiles.download_enable

属性
类别 自定义选项
说明 启用或禁用服务器日志功能。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 logfiles.download_enable

logfiles.retention_days

属性
类别 自定义选项
说明 设置 pg_qs 的保留期时间段(以天为单位)- 数据将在此时间之后删除。
数据类型 integer
默认值 3
允许的值 1-7
参数类型 动态
文档 logfiles.retention_days

metrics.autovacuum_diagnostics

属性
类别 自定义选项
说明 为数据库中的所有表统计信息启用指标收集
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.autovacuum_diagnostics

metrics.collector_database_activity

属性
类别 自定义选项
说明 为数据库和活动统计信息启用指标收集
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.collector_database_activity

metrics.pgbouncer_diagnostics

属性
类别 自定义选项
说明 为 PgBouncer 启用指标收集。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.pgbouncer_diagnostics

pgaudit.log

属性
类别 自定义选项
说明 指定会话审核日志记录将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 动态
文档 pgaudit.log

pgaudit.log_catalog

属性
类别 自定义选项
说明 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pgaudit.log_catalog

pgaudit.log_client

属性
类别 自定义选项
说明 指定审核消息是否应对客户端可见。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_client

pgaudit.log_level

属性
类别 自定义选项
说明 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 动态
文档 pgaudit.log_level

pgaudit.log_parameter

属性
类别 自定义选项
说明 指定审核日志记录应包含随语句一起传递的参数。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_parameter

pgaudit.log_relation

属性
类别 自定义选项
说明 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_relation

pgaudit.log_statement_once

属性
类别 自定义选项
说明 指定日志记录是包含语句文本和参数以及语句/子语句组合的第一个日志条目还是每个条目。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_statement_once

pgaudit.role

属性
类别 自定义选项
说明 指定要用于对象审核日志记录的主角色。
数据类型 string
默认值
允许的值 [A-Za-z\\._]*
参数类型 动态
文档 pgaudit.role

pgbouncer.default_pool_size

属性
类别 自定义选项
说明 每个用户/数据库对允许的服务器连接数。
数据类型 integer
默认值 50
允许的值 1-4950
参数类型 动态
文档 pgbouncer.default_pool_size

pgbouncer.enabled

属性
类别 自定义选项
说明 表示是否启用了 pgBouncer 服务。
数据类型 boolean
默认值 false
允许的值 true, false
参数类型 动态
文档 pgbouncer.enabled

pgbouncer.ignore_startup_parameters

属性
类别 自定义选项
说明 PgBouncer 可忽略的参数的逗号分隔列表,因为这些参数将由管理员处理。
数据类型 string
默认值
允许的值 [A-Za-z0-9_\\.,]*
参数类型 动态
文档 pgbouncer.ignore_startup_parameters

pgbouncer.max_client_conn

属性
类别 自定义选项
说明 允许的最大客户端连接数。
数据类型 integer
默认值 5000
允许的值 1-50000
参数类型 动态
文档 pgbouncer.max_client_conn

pgbouncer.max_prepared_statements

属性
类别 自定义选项
说明 当它设置为非零值时,PgBouncer 会跟踪客户端在事务和语句池模式下发送的、协议级命名的、已准备好的语句相关命令。
数据类型 integer
默认值 0
允许的值 0-5000
参数类型 动态
文档 pgbouncer.max_prepared_statements

pgbouncer.min_pool_size

属性
类别 自定义选项
说明 如果低于此数量,请将更多服务器连接添加到池。
数据类型 integer
默认值 0
允许的值 0-4950
参数类型 动态
文档 pgbouncer.min_pool_size

pgbouncer.pool_mode

属性
类别 自定义选项
说明 指定服务器连接何时可供其他客户端重用。
数据类型 枚举
默认值 transaction
允许的值 session,transaction,statement
参数类型 动态
文档 pgbouncer.pool_mode

pgbouncer.query_wait_timeout

属性
类别 自定义选项
说明 允许查询等待进行执行的最长时间(秒)。 如果在此期间未将查询分配给服务器,则客户端将断开连接。
数据类型 integer
默认值 120
允许的值 0-86400
参数类型 动态
文档 pgbouncer.query_wait_timeout

pgbouncer.server_idle_timeout

属性
类别 自定义选项
说明 如果服务器连接空闲时间超过此秒数,则会将其断开。 如果为 0,则禁用超时。
数据类型 integer
默认值 600
允许的值 0-86400
参数类型 动态
文档 pgbouncer.server_idle_timeout

pgbouncer.stats_users

属性
类别 自定义选项
说明 获允在 pgBouncer 控制台上连接和运行只读查询的数据库用户的逗号分隔列表。
数据类型 string
默认值
允许的值 [A-Za-z0-9,@_\\-\\.]*
参数类型 动态
文档 pgbouncer.stats_users

pglogical.batch_inserts

属性
类别 自定义选项
说明 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pglogical.batch_inserts

pglogical.conflict_log_level

属性
类别 自定义选项
说明 设置当 pglogical.conflict_resolution 设置为除 error 以外的任何值时报告检测到的冲突的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic
参数类型 动态
文档 pglogical.conflict_log_level

pglogical.conflict_resolution

属性
类别 自定义选项
说明 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 动态
文档 pglogical.conflict_resolution

pglogical.use_spi

属性
类别 自定义选项
说明 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pglogical.use_spi

pgms_stats.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档

pgms_wait_sampling.history_period

属性
类别 自定义选项
说明 设置等待事件采样的频率(以毫秒为单位)。
数据类型 integer
默认值 100
允许的值 1-600000
参数类型 动态
文档 pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。 如果显示为“关闭”,那么即使为 pgms_wait_sampling.query_capture_mode 设置了值,等待采样也会被禁用。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档 pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

属性
类别 自定义选项
说明 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 动态
文档 pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

属性
类别 自定义选项
说明 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pg_partman_bgw.analyze

pg_partman_bgw.dbname

属性
类别 自定义选项
说明 必填。 run_maintenance() 将运行的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 string
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 动态
文档 pg_partman_bgw.dbname

pg_partman_bgw.interval

属性
类别 自定义选项
说明 调用 run_maintenance() 的间隔秒数。
数据类型 integer
默认值 3600
允许的值 1-315360000
参数类型 动态
文档 pg_partman_bgw.interval

pg_partman_bgw.jobmon

属性
类别 自定义选项
说明 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_partman_bgw.jobmon

pg_partman_bgw.role

属性
类别 自定义选项
说明 run_maintenance() 将作为其运行的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 string
默认值
允许的值 [A-Za-z\\._]*
参数类型 动态
文档 pg_partman_bgw.role

pg_qs.interval_length_minutes

属性
类别 自定义选项
说明 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 integer
默认值 15
允许的值 1-30
参数类型 static
文档 pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。 如果显示为关闭,那么即使为 pg_qs.query_capture_mode 设置了值,查询存储也会被禁用。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档 pg_qs.is_enabled_fs

pg_qs.max_plan_size

属性
类别 自定义选项
说明 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 integer
默认值 7500
允许的值 100-10000
参数类型 动态
文档 pg_qs.max_plan_size

pg_qs.max_query_text_length

属性
类别 自定义选项
说明 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 integer
默认值 6000
允许的值 100-10000
参数类型 动态
文档 pg_qs.max_query_text_length

pg_qs.query_capture_mode

属性
类别 自定义选项
说明 设置查询存储的查询捕获模式。 None 禁用任何捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 动态
文档 pg_qs.query_capture_mode

pg_qs.retention_period_in_days

属性
类别 自定义选项
说明 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 integer
默认值 7
允许的值 1-30
参数类型 动态
文档 pg_qs.retention_period_in_days

pg_qs.store_query_plans

属性
类别 自定义选项
说明 为 pg_qs 打开或关闭保存查询计划的功能
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pg_qs.store_query_plans

pg_qs.track_utility

属性
类别 自定义选项
说明 选择 pg_qs 是否跟踪实用程序命令。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_qs.track_utility

pg_stat_statements.max

属性
类别 自定义选项
说明 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 integer
默认值 5000
允许的值 100-2147483647
参数类型 static
文档 pg_stat_statements.max

pg_stat_statements.save

属性
类别 自定义选项
说明 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_stat_statements.save

pg_stat_statements.track

属性
类别 自定义选项
说明 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 动态
文档 pg_stat_statements.track

pg_stat_statements.track_utility

属性
类别 自定义选项
说明 选择是否由 pg_stat_statements 跟踪实用程序命令。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

属性
类别 自定义选项
说明 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 动态
文档 postgis.gdal_enabled_drivers

require_secure_transport

属性
类别 自定义选项
说明 是否需要客户端连接到服务器来使用某种形式的安全传输。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 require_secure_transport

auto_explain.log_analyze

属性
类别 自定义选项
说明 使用 EXPLAIN ANALYZE 进行计划日志记录。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_analyze

auto_explain.log_buffers

属性
类别 自定义选项
说明 记录缓冲区使用情况。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_buffers

auto_explain.log_format

属性
类别 自定义选项
说明 用于计划日志记录的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 动态
文档 auto_explain.log_format

auto_explain.log_level

属性
类别 自定义选项
说明 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 动态
文档 auto_explain.log_level

auto_explain.log_min_duration

属性
类别 自定义选项
说明 设置将记录计划的最低执行时间。 零打印所有计划。 -1 关闭此功能。
数据类型 integer
默认值 -1
允许的值 -1-2147483647
参数类型 动态
文档 auto_explain.log_min_duration

auto_explain.log_nested_statements

属性
类别 自定义选项
说明 记录嵌套语句。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_nested_statements

auto_explain.log_settings

属性
类别 自定义选项
说明 记录影响查询计划的已修改配置参数。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_settings

auto_explain.log_timing

属性
类别 自定义选项
说明 收集计时数据,而不仅仅是行计数。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 auto_explain.log_timing

auto_explain.log_triggers

属性
类别 自定义选项
说明 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_triggers

auto_explain.log_verbose

属性
类别 自定义选项
说明 使用 EXPLAIN VERBOSE 进行计划日志记录。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_verbose

auto_explain.log_wal

属性
类别 自定义选项
说明 记录 WAL 使用情况。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_wal

auto_explain.sample_rate

属性
类别 自定义选项
说明 要处理的查询的占比。
数据类型 numeric
默认值 1.0
允许的值 0.0-1.0
参数类型 动态
文档 auto_explain.sample_rate

azure.accepted_password_auth_method

属性
类别 自定义选项
说明 接受的密码身份验证方法。
数据类型 set
默认值 md5,scram-sha-256
允许的值 md5,scram-sha-256
参数类型 动态
文档 azure.accepted_password_auth_method

azure.enable_temp_tablespaces_on_local_ssd

属性
类别 自定义选项
说明 在临时磁盘上创建临时表空间。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档

azure.extensions

属性
类别 自定义选项
说明 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,amcheck,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hstore,hypopg,intagg,intarray,isn,lo,login_hook,ltree,orafce,pageinspect,pg_buffercache,pg_cron,pg_freespacemap,pg_hint_plan,pg_partman,pg_prewarm,pg_repack,pg_squeeze,pg_stat_statements,pg_trgm,pg_visibility,pgaudit,pgcrypto,pglogical,pgrouting,pgrowlocks,pgstattuple,plpgsql,plv8,postgis,postgis_raster,postgis_sfcgal,postgis_tiger_geocoder,postgis_topology,postgres_fdw,postgres_protobuf,semver,session_variable,sslinfo,tablefunc,tds_fdw,timescaledb,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 动态
文档 azure.extensions

azure.single_to_flex_migration

属性
类别 自定义选项
说明 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 boolean
默认值 off
允许的值 off
参数类型 (只读)
文档

azure_storage.allow_network_access

属性
类别 自定义选项
说明 允许从扩展 azure_storage 中的 blob 存储访问数据。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档

azure_storage.blob_block_size_mb

属性
类别 自定义选项
说明 扩展 azure_storage 中 blob_put 的 Blob 块大小(以 MB 为单位)。
数据类型 integer
默认值 1024
允许的值 1024
参数类型 (只读)
文档 azure_storage.blob_block_size_mb

azure_storage.public_account_access

属性
类别 自定义选项
说明 允许所有用户访问扩展 azure_storage 中公共存储帐户中的数据。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档

connection_throttle.bucket_limit

属性
类别 自定义选项
说明 每个 Bucket 的最大登录令牌数。
数据类型 integer
默认值 2000
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.enable

属性
类别 自定义选项
说明 启用登录失败次数过多时 IP 的临时连接限制。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档

connection_throttle.factor_bias

属性
类别 自定义选项
说明 计算 IP Bucket 的令牌数的因子偏差。
数据类型 numeric
默认值 0.8
允许的值 0.0-0.9
参数类型 动态
文档

connection_throttle.hash_entries_max

属性
类别 自定义选项
说明 登录失败哈希表中的最大条目数。
数据类型 integer
默认值 500
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.reset_time

属性
类别 自定义选项
说明 重置登录 Bucket 之间的时间。
数据类型 integer
默认值 120
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.restore_factor

属性
类别 自定义选项
说明 对于失败率较低的 IP 增加令牌数的因子。
数据类型 numeric
默认值 2
允许的值 1.0-100.0
参数类型 动态
文档

connection_throttle.update_time

属性
类别 自定义选项
说明 更新登录 Bucket 之间的时间。
数据类型 integer
默认值 20
允许的值 1-2147483647
参数类型 动态
文档

cron.database_name

属性
类别 自定义选项
说明 设置在其中保留 pg_cron 元数据的数据库。
数据类型 string
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 static
文档 cron.database_name

cron.log_run

属性
类别 自定义选项
说明 将所有作业记录到 job_run_details 表中。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 static
文档 cron.log_run

cron.log_statement

属性
类别 自定义选项
说明 在执行之前记录所有 cron 语句。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 static
文档 cron.log_statement

cron.max_running_jobs

属性
类别 自定义选项
说明 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 integer
默认值 32
允许的值 0-5000
参数类型 static
文档 cron.max_running_jobs

index_tuning.analysis_interval

属性
类别 自定义选项
说明 将 index_tuning.mode 设置为 'REPORT' 时触发每个索引优化会话的频率。
数据类型 integer
默认值 720
允许的值 60-10080
参数类型 动态
文档 index_tuning.analysis_interval

index_tuning.max_columns_per_index

属性
类别 自定义选项
说明 任何建议索引的索引键中可以包含的最大列数。
数据类型 integer
默认值 2
允许的值 1-10
参数类型 动态
文档 index_tuning.max_columns_per_index

index_tuning.max_index_count

属性
类别 自定义选项
说明 在一个优化会话期间可以为每个数据库推荐的最大索引数。
数据类型 integer
默认值 10
允许的值 1-25
参数类型 动态
文档 index_tuning.max_index_count

index_tuning.max_indexes_per_table

属性
类别 自定义选项
说明 每个表可推荐的最大索引数。
数据类型 integer
默认值 10
允许的值 1-25
参数类型 动态
文档 index_tuning.max_indexes_per_table

index_tuning.max_queries_per_database

属性
类别 自定义选项
说明 每个数据库可为其推荐索引的最慢查询数。
数据类型 integer
默认值 25
允许的值 5-100
参数类型 动态
文档 index_tuning.max_queries_per_database

index_tuning.max_regression_factor

属性
类别 自定义选项
说明 在一个优化会话中分析的任何查询上推荐索引引入的可接受回归。
数据类型 numeric
默认值 0.1
允许的值 0.05-0.2
参数类型 动态
文档 index_tuning.max_regression_factor

index_tuning.max_total_size_factor

属性
类别 自定义选项
说明 任何给定数据库的所有建议索引都可以使用的最大总磁盘空间百分比( 以总磁盘空间百分比为单位)。
数据类型 numeric
默认值 0.1
允许的值 0-1.0
参数类型 动态
文档 index_tuning.max_total_size_factor

index_tuning.min_improvement_factor

属性
类别 自定义选项
说明 建议的索引必须提供给在一个优化会话中分析的至少一个查询的成本改进。
数据类型 numeric
默认值 0.2
允许的值 0-20.0
参数类型 动态
文档 index_tuning.min_improvement_factor

index_tuning.mode

属性
类别 自定义选项
说明 将索引优化配置为已禁用 ('OFF'),或仅启用以仅发出建议。 通过将 pg_qs.query_capture_mode 设置为 'TOP' 或 'ALL' 来启用查询存储。
数据类型 枚举
默认值 off
允许的值 off,report
参数类型 动态
文档 index_tuning.mode

index_tuning.unused_dml_per_table

属性
类别 自定义选项
说明 影响表的每日平均 DML 操作的最小数目,以便考虑删除其未使用的索引。
数据类型 integer
默认值 1000
允许的值 0-9999999
参数类型 动态
文档 index_tuning.unused_dml_per_table

index_tuning.unused_min_period

属性
类别 自定义选项
说明 未根据系统统计信息使用索引的最小天数,以便考虑删除索引。
数据类型 integer
默认值 35
允许的值 30-720
参数类型 动态
文档 index_tuning.unused_min_period

index_tuning.unused_reads_per_table

属性
类别 自定义选项
说明 影响表的每日平均读取操作的最小数目,以便考虑删除其未使用的索引。
数据类型 integer
默认值 1000
允许的值 0-9999999
参数类型 动态
文档 index_tuning.unused_reads_per_table

intelligent_tuning

属性
类别 自定义选项
说明 启用智能优化
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 intelligent_tuning

intelligent_tuning.metric_targets

属性
类别 自定义选项
说明 指定智能优化将调整哪些指标。
数据类型 set
默认值 none
允许的值 none,Storage-checkpoint_completion_target,Storage-min_wal_size,Storage-max_wal_size,Storage-bgwriter_delay,tuning-autovacuum,all
参数类型 动态
文档 intelligent_tuning.metric_targets

logfiles.download_enable

属性
类别 自定义选项
说明 启用或禁用服务器日志功能。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 logfiles.download_enable

logfiles.retention_days

属性
类别 自定义选项
说明 设置 pg_qs 的保留期时间段(以天为单位)- 数据将在此时间之后删除。
数据类型 integer
默认值 3
允许的值 1-7
参数类型 动态
文档 logfiles.retention_days

metrics.autovacuum_diagnostics

属性
类别 自定义选项
说明 为数据库中的所有表统计信息启用指标收集
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.autovacuum_diagnostics

metrics.collector_database_activity

属性
类别 自定义选项
说明 为数据库和活动统计信息启用指标收集
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.collector_database_activity

metrics.pgbouncer_diagnostics

属性
类别 自定义选项
说明 为 PgBouncer 启用指标收集。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.pgbouncer_diagnostics

pgaudit.log

属性
类别 自定义选项
说明 指定会话审核日志记录将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 动态
文档 pgaudit.log

pgaudit.log_catalog

属性
类别 自定义选项
说明 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pgaudit.log_catalog

pgaudit.log_client

属性
类别 自定义选项
说明 指定审核消息是否应对客户端可见。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_client

pgaudit.log_level

属性
类别 自定义选项
说明 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 动态
文档 pgaudit.log_level

pgaudit.log_parameter

属性
类别 自定义选项
说明 指定审核日志记录应包含随语句一起传递的参数。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_parameter

pgaudit.log_relation

属性
类别 自定义选项
说明 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_relation

pgaudit.log_statement_once

属性
类别 自定义选项
说明 指定日志记录是包含语句文本和参数以及语句/子语句组合的第一个日志条目还是每个条目。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_statement_once

pgaudit.role

属性
类别 自定义选项
说明 指定要用于对象审核日志记录的主角色。
数据类型 string
默认值
允许的值 [A-Za-z\\._]*
参数类型 动态
文档 pgaudit.role

pgbouncer.default_pool_size

属性
类别 自定义选项
说明 每个用户/数据库对允许的服务器连接数。
数据类型 integer
默认值 50
允许的值 1-4950
参数类型 动态
文档 pgbouncer.default_pool_size

pgbouncer.enabled

属性
类别 自定义选项
说明 表示是否启用了 pgBouncer 服务。
数据类型 boolean
默认值 false
允许的值 true, false
参数类型 动态
文档 pgbouncer.enabled

pgbouncer.ignore_startup_parameters

属性
类别 自定义选项
说明 PgBouncer 可忽略的参数的逗号分隔列表,因为这些参数将由管理员处理。
数据类型 string
默认值
允许的值 [A-Za-z0-9_\\.,]*
参数类型 动态
文档 pgbouncer.ignore_startup_parameters

pgbouncer.max_client_conn

属性
类别 自定义选项
说明 允许的最大客户端连接数。
数据类型 integer
默认值 5000
允许的值 1-50000
参数类型 动态
文档 pgbouncer.max_client_conn

pgbouncer.max_prepared_statements

属性
类别 自定义选项
说明 当它设置为非零值时,PgBouncer 会跟踪客户端在事务和语句池模式下发送的、协议级命名的、已准备好的语句相关命令。
数据类型 integer
默认值 0
允许的值 0-5000
参数类型 动态
文档 pgbouncer.max_prepared_statements

pgbouncer.min_pool_size

属性
类别 自定义选项
说明 如果低于此数量,请将更多服务器连接添加到池。
数据类型 integer
默认值 0
允许的值 0-4950
参数类型 动态
文档 pgbouncer.min_pool_size

pgbouncer.pool_mode

属性
类别 自定义选项
说明 指定服务器连接何时可供其他客户端重用。
数据类型 枚举
默认值 transaction
允许的值 session,transaction,statement
参数类型 动态
文档 pgbouncer.pool_mode

pgbouncer.query_wait_timeout

属性
类别 自定义选项
说明 允许查询等待进行执行的最长时间(秒)。 如果在此期间未将查询分配给服务器,则客户端将断开连接。
数据类型 integer
默认值 120
允许的值 0-86400
参数类型 动态
文档 pgbouncer.query_wait_timeout

pgbouncer.server_idle_timeout

属性
类别 自定义选项
说明 如果服务器连接空闲时间超过此秒数,则会将其断开。 如果为 0,则禁用超时。
数据类型 integer
默认值 600
允许的值 0-86400
参数类型 动态
文档 pgbouncer.server_idle_timeout

pgbouncer.stats_users

属性
类别 自定义选项
说明 获允在 pgBouncer 控制台上连接和运行只读查询的数据库用户的逗号分隔列表。
数据类型 string
默认值
允许的值 [A-Za-z0-9,@_\\-\\.]*
参数类型 动态
文档 pgbouncer.stats_users

pglogical.batch_inserts

属性
类别 自定义选项
说明 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pglogical.batch_inserts

pglogical.conflict_log_level

属性
类别 自定义选项
说明 设置当 pglogical.conflict_resolution 设置为除 error 以外的任何值时报告检测到的冲突的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic
参数类型 动态
文档 pglogical.conflict_log_level

pglogical.conflict_resolution

属性
类别 自定义选项
说明 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 动态
文档 pglogical.conflict_resolution

pglogical.use_spi

属性
类别 自定义选项
说明 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pglogical.use_spi

pgms_stats.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档

pgms_wait_sampling.history_period

属性
类别 自定义选项
说明 设置等待事件采样的频率(以毫秒为单位)。
数据类型 integer
默认值 100
允许的值 1-600000
参数类型 动态
文档 pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。 如果显示为“关闭”,那么即使为 pgms_wait_sampling.query_capture_mode 设置了值,等待采样也会被禁用。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档 pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

属性
类别 自定义选项
说明 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 动态
文档 pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

属性
类别 自定义选项
说明 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pg_partman_bgw.analyze

pg_partman_bgw.dbname

属性
类别 自定义选项
说明 必填。 run_maintenance() 将运行的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 string
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 动态
文档 pg_partman_bgw.dbname

pg_partman_bgw.interval

属性
类别 自定义选项
说明 调用 run_maintenance() 的间隔秒数。
数据类型 integer
默认值 3600
允许的值 1-315360000
参数类型 动态
文档 pg_partman_bgw.interval

pg_partman_bgw.jobmon

属性
类别 自定义选项
说明 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_partman_bgw.jobmon

pg_partman_bgw.role

属性
类别 自定义选项
说明 run_maintenance() 将作为其运行的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 string
默认值
允许的值 [A-Za-z\\._]*
参数类型 动态
文档 pg_partman_bgw.role

pg_qs.interval_length_minutes

属性
类别 自定义选项
说明 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 integer
默认值 15
允许的值 1-30
参数类型 static
文档 pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。 如果显示为关闭,那么即使为 pg_qs.query_capture_mode 设置了值,查询存储也会被禁用。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档 pg_qs.is_enabled_fs

pg_qs.max_plan_size

属性
类别 自定义选项
说明 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 integer
默认值 7500
允许的值 100-10000
参数类型 动态
文档 pg_qs.max_plan_size

pg_qs.max_query_text_length

属性
类别 自定义选项
说明 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 integer
默认值 6000
允许的值 100-10000
参数类型 动态
文档 pg_qs.max_query_text_length

pg_qs.query_capture_mode

属性
类别 自定义选项
说明 设置查询存储的查询捕获模式。 None 禁用任何捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 动态
文档 pg_qs.query_capture_mode

pg_qs.retention_period_in_days

属性
类别 自定义选项
说明 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 integer
默认值 7
允许的值 1-30
参数类型 动态
文档 pg_qs.retention_period_in_days

pg_qs.store_query_plans

属性
类别 自定义选项
说明 为 pg_qs 打开或关闭保存查询计划的功能
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pg_qs.store_query_plans

pg_qs.track_utility

属性
类别 自定义选项
说明 选择 pg_qs 是否跟踪实用程序命令。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_qs.track_utility

pg_stat_statements.max

属性
类别 自定义选项
说明 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 integer
默认值 5000
允许的值 100-2147483647
参数类型 static
文档 pg_stat_statements.max

pg_stat_statements.save

属性
类别 自定义选项
说明 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_stat_statements.save

pg_stat_statements.track

属性
类别 自定义选项
说明 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 动态
文档 pg_stat_statements.track

pg_stat_statements.track_utility

属性
类别 自定义选项
说明 选择是否由 pg_stat_statements 跟踪实用程序命令。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

属性
类别 自定义选项
说明 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 动态
文档 postgis.gdal_enabled_drivers

require_secure_transport

属性
类别 自定义选项
说明 是否需要客户端连接到服务器来使用某种形式的安全传输。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 require_secure_transport

auto_explain.log_analyze

属性
类别 自定义选项
说明 使用 EXPLAIN ANALYZE 进行计划日志记录。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_analyze

auto_explain.log_buffers

属性
类别 自定义选项
说明 记录缓冲区使用情况。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_buffers

auto_explain.log_format

属性
类别 自定义选项
说明 用于计划日志记录的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 动态
文档 auto_explain.log_format

auto_explain.log_level

属性
类别 自定义选项
说明 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 动态
文档 auto_explain.log_level

auto_explain.log_min_duration

属性
类别 自定义选项
说明 设置将记录计划的最低执行时间。 零打印所有计划。 -1 关闭此功能。
数据类型 integer
默认值 -1
允许的值 -1-2147483647
参数类型 动态
文档 auto_explain.log_min_duration

auto_explain.log_nested_statements

属性
类别 自定义选项
说明 记录嵌套语句。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_nested_statements

auto_explain.log_settings

属性
类别 自定义选项
说明 记录影响查询计划的已修改配置参数。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_settings

auto_explain.log_timing

属性
类别 自定义选项
说明 收集计时数据,而不仅仅是行计数。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 auto_explain.log_timing

auto_explain.log_triggers

属性
类别 自定义选项
说明 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_triggers

auto_explain.log_verbose

属性
类别 自定义选项
说明 使用 EXPLAIN VERBOSE 进行计划日志记录。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_verbose

auto_explain.log_wal

属性
类别 自定义选项
说明 记录 WAL 使用情况。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_wal

auto_explain.sample_rate

属性
类别 自定义选项
说明 要处理的查询的占比。
数据类型 numeric
默认值 1.0
允许的值 0.0-1.0
参数类型 动态
文档 auto_explain.sample_rate

azure.accepted_password_auth_method

属性
类别 自定义选项
说明 接受的密码身份验证方法。
数据类型 set
默认值 md5
允许的值 md5,scram-sha-256
参数类型 动态
文档 azure.accepted_password_auth_method

azure.enable_temp_tablespaces_on_local_ssd

属性
类别 自定义选项
说明 在临时磁盘上创建临时表空间。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档

azure.extensions

属性
类别 自定义选项
说明 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,amcheck,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hstore,hypopg,intagg,intarray,isn,lo,login_hook,ltree,orafce,pageinspect,pg_buffercache,pg_cron,pg_freespacemap,pg_hint_plan,pg_partman,pg_prewarm,pg_repack,pg_squeeze,pg_stat_statements,pg_trgm,pg_visibility,pgaudit,pgcrypto,pglogical,pgrouting,pgrowlocks,pgstattuple,plpgsql,plv8,postgis,postgis_raster,postgis_sfcgal,postgis_tiger_geocoder,postgis_topology,postgres_fdw,postgres_protobuf,semver,session_variable,sslinfo,tablefunc,tds_fdw,timescaledb,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 动态
文档 azure.extensions

azure.single_to_flex_migration

属性
类别 自定义选项
说明 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 boolean
默认值 off
允许的值 off
参数类型 (只读)
文档

azure_storage.allow_network_access

属性
类别 自定义选项
说明 允许从扩展 azure_storage 中的 blob 存储访问数据。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档

azure_storage.blob_block_size_mb

属性
类别 自定义选项
说明 扩展 azure_storage 中 blob_put 的 Blob 块大小(以 MB 为单位)。
数据类型 integer
默认值 1024
允许的值 1024
参数类型 (只读)
文档 azure_storage.blob_block_size_mb

azure_storage.public_account_access

属性
类别 自定义选项
说明 允许所有用户访问扩展 azure_storage 中公共存储帐户中的数据。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档

connection_throttle.bucket_limit

属性
类别 自定义选项
说明 每个 Bucket 的最大登录令牌数。
数据类型 integer
默认值 2000
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.enable

属性
类别 自定义选项
说明 启用登录失败次数过多时 IP 的临时连接限制。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档

connection_throttle.factor_bias

属性
类别 自定义选项
说明 计算 IP Bucket 的令牌数的因子偏差。
数据类型 numeric
默认值 0.8
允许的值 0.0-0.9
参数类型 动态
文档

connection_throttle.hash_entries_max

属性
类别 自定义选项
说明 登录失败哈希表中的最大条目数。
数据类型 integer
默认值 500
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.reset_time

属性
类别 自定义选项
说明 重置登录 Bucket 之间的时间。
数据类型 integer
默认值 120
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.restore_factor

属性
类别 自定义选项
说明 对于失败率较低的 IP 增加令牌数的因子。
数据类型 numeric
默认值 2
允许的值 1.0-100.0
参数类型 动态
文档

connection_throttle.update_time

属性
类别 自定义选项
说明 更新登录 Bucket 之间的时间。
数据类型 integer
默认值 20
允许的值 1-2147483647
参数类型 动态
文档

cron.database_name

属性
类别 自定义选项
说明 设置在其中保留 pg_cron 元数据的数据库。
数据类型 string
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 static
文档 cron.database_name

cron.log_run

属性
类别 自定义选项
说明 将所有作业记录到 job_run_details 表中。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 static
文档 cron.log_run

cron.log_statement

属性
类别 自定义选项
说明 在执行之前记录所有 cron 语句。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 static
文档 cron.log_statement

cron.max_running_jobs

属性
类别 自定义选项
说明 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 integer
默认值 32
允许的值 0-5000
参数类型 static
文档 cron.max_running_jobs

index_tuning.analysis_interval

属性
类别 自定义选项
说明 将 index_tuning.mode 设置为 'REPORT' 时触发每个索引优化会话的频率。
数据类型 integer
默认值 720
允许的值 60-10080
参数类型 动态
文档 index_tuning.analysis_interval

index_tuning.max_columns_per_index

属性
类别 自定义选项
说明 任何建议索引的索引键中可以包含的最大列数。
数据类型 integer
默认值 2
允许的值 1-10
参数类型 动态
文档 index_tuning.max_columns_per_index

index_tuning.max_index_count

属性
类别 自定义选项
说明 在一个优化会话期间可以为每个数据库推荐的最大索引数。
数据类型 integer
默认值 10
允许的值 1-25
参数类型 动态
文档 index_tuning.max_index_count

index_tuning.max_indexes_per_table

属性
类别 自定义选项
说明 每个表可推荐的最大索引数。
数据类型 integer
默认值 10
允许的值 1-25
参数类型 动态
文档 index_tuning.max_indexes_per_table

index_tuning.max_queries_per_database

属性
类别 自定义选项
说明 每个数据库可为其推荐索引的最慢查询数。
数据类型 integer
默认值 25
允许的值 5-100
参数类型 动态
文档 index_tuning.max_queries_per_database

index_tuning.max_regression_factor

属性
类别 自定义选项
说明 在一个优化会话中分析的任何查询上推荐索引引入的可接受回归。
数据类型 numeric
默认值 0.1
允许的值 0.05-0.2
参数类型 动态
文档 index_tuning.max_regression_factor

index_tuning.max_total_size_factor

属性
类别 自定义选项
说明 任何给定数据库的所有建议索引都可以使用的最大总磁盘空间百分比( 以总磁盘空间百分比为单位)。
数据类型 numeric
默认值 0.1
允许的值 0-1.0
参数类型 动态
文档 index_tuning.max_total_size_factor

index_tuning.min_improvement_factor

属性
类别 自定义选项
说明 建议的索引必须提供给在一个优化会话中分析的至少一个查询的成本改进。
数据类型 numeric
默认值 0.2
允许的值 0-20.0
参数类型 动态
文档 index_tuning.min_improvement_factor

index_tuning.mode

属性
类别 自定义选项
说明 将索引优化配置为已禁用 ('OFF'),或仅启用以仅发出建议。 通过将 pg_qs.query_capture_mode 设置为 'TOP' 或 'ALL' 来启用查询存储。
数据类型 枚举
默认值 off
允许的值 off,report
参数类型 动态
文档 index_tuning.mode

index_tuning.unused_dml_per_table

属性
类别 自定义选项
说明 影响表的每日平均 DML 操作的最小数目,以便考虑删除其未使用的索引。
数据类型 integer
默认值 1000
允许的值 0-9999999
参数类型 动态
文档 index_tuning.unused_dml_per_table

index_tuning.unused_min_period

属性
类别 自定义选项
说明 未根据系统统计信息使用索引的最小天数,以便考虑删除索引。
数据类型 integer
默认值 35
允许的值 30-720
参数类型 动态
文档 index_tuning.unused_min_period

index_tuning.unused_reads_per_table

属性
类别 自定义选项
说明 影响表的每日平均读取操作的最小数目,以便考虑删除其未使用的索引。
数据类型 integer
默认值 1000
允许的值 0-9999999
参数类型 动态
文档 index_tuning.unused_reads_per_table

intelligent_tuning

属性
类别 自定义选项
说明 启用智能优化
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 intelligent_tuning

intelligent_tuning.metric_targets

属性
类别 自定义选项
说明 指定智能优化将调整哪些指标。
数据类型 set
默认值 none
允许的值 none,Storage-checkpoint_completion_target,Storage-min_wal_size,Storage-max_wal_size,Storage-bgwriter_delay,tuning-autovacuum,all
参数类型 动态
文档 intelligent_tuning.metric_targets

logfiles.download_enable

属性
类别 自定义选项
说明 启用或禁用服务器日志功能。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 logfiles.download_enable

logfiles.retention_days

属性
类别 自定义选项
说明 设置 pg_qs 的保留期时间段(以天为单位)- 数据将在此时间之后删除。
数据类型 integer
默认值 3
允许的值 1-7
参数类型 动态
文档 logfiles.retention_days

metrics.autovacuum_diagnostics

属性
类别 自定义选项
说明 为数据库中的所有表统计信息启用指标收集
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.autovacuum_diagnostics

metrics.collector_database_activity

属性
类别 自定义选项
说明 为数据库和活动统计信息启用指标收集
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.collector_database_activity

metrics.pgbouncer_diagnostics

属性
类别 自定义选项
说明 为 PgBouncer 启用指标收集。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.pgbouncer_diagnostics

pgaudit.log

属性
类别 自定义选项
说明 指定会话审核日志记录将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 动态
文档 pgaudit.log

pgaudit.log_catalog

属性
类别 自定义选项
说明 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pgaudit.log_catalog

pgaudit.log_client

属性
类别 自定义选项
说明 指定审核消息是否应对客户端可见。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_client

pgaudit.log_level

属性
类别 自定义选项
说明 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 动态
文档 pgaudit.log_level

pgaudit.log_parameter

属性
类别 自定义选项
说明 指定审核日志记录应包含随语句一起传递的参数。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_parameter

pgaudit.log_relation

属性
类别 自定义选项
说明 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_relation

pgaudit.log_statement_once

属性
类别 自定义选项
说明 指定日志记录是包含语句文本和参数以及语句/子语句组合的第一个日志条目还是每个条目。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_statement_once

pgaudit.role

属性
类别 自定义选项
说明 指定要用于对象审核日志记录的主角色。
数据类型 string
默认值
允许的值 [A-Za-z\\._]*
参数类型 动态
文档 pgaudit.role

pgbouncer.default_pool_size

属性
类别 自定义选项
说明 每个用户/数据库对允许的服务器连接数。
数据类型 integer
默认值 50
允许的值 1-4950
参数类型 动态
文档 pgbouncer.default_pool_size

pgbouncer.enabled

属性
类别 自定义选项
说明 表示是否启用了 pgBouncer 服务。
数据类型 boolean
默认值 false
允许的值 true, false
参数类型 动态
文档 pgbouncer.enabled

pgbouncer.ignore_startup_parameters

属性
类别 自定义选项
说明 PgBouncer 可忽略的参数的逗号分隔列表,因为这些参数将由管理员处理。
数据类型 string
默认值
允许的值 [A-Za-z0-9_\\.,]*
参数类型 动态
文档 pgbouncer.ignore_startup_parameters

pgbouncer.max_client_conn

属性
类别 自定义选项
说明 允许的最大客户端连接数。
数据类型 integer
默认值 5000
允许的值 1-50000
参数类型 动态
文档 pgbouncer.max_client_conn

pgbouncer.max_prepared_statements

属性
类别 自定义选项
说明 当它设置为非零值时,PgBouncer 会跟踪客户端在事务和语句池模式下发送的、协议级命名的、已准备好的语句相关命令。
数据类型 integer
默认值 0
允许的值 0-5000
参数类型 动态
文档 pgbouncer.max_prepared_statements

pgbouncer.min_pool_size

属性
类别 自定义选项
说明 如果低于此数量,请将更多服务器连接添加到池。
数据类型 integer
默认值 0
允许的值 0-4950
参数类型 动态
文档 pgbouncer.min_pool_size

pgbouncer.pool_mode

属性
类别 自定义选项
说明 指定服务器连接何时可供其他客户端重用。
数据类型 枚举
默认值 transaction
允许的值 session,transaction,statement
参数类型 动态
文档 pgbouncer.pool_mode

pgbouncer.query_wait_timeout

属性
类别 自定义选项
说明 允许查询等待进行执行的最长时间(秒)。 如果在此期间未将查询分配给服务器,则客户端将断开连接。
数据类型 integer
默认值 120
允许的值 0-86400
参数类型 动态
文档 pgbouncer.query_wait_timeout

pgbouncer.server_idle_timeout

属性
类别 自定义选项
说明 如果服务器连接空闲时间超过此秒数,则会将其断开。 如果为 0,则禁用超时。
数据类型 integer
默认值 600
允许的值 0-86400
参数类型 动态
文档 pgbouncer.server_idle_timeout

pgbouncer.stats_users

属性
类别 自定义选项
说明 获允在 pgBouncer 控制台上连接和运行只读查询的数据库用户的逗号分隔列表。
数据类型 string
默认值
允许的值 [A-Za-z0-9,@_\\-\\.]*
参数类型 动态
文档 pgbouncer.stats_users

pglogical.batch_inserts

属性
类别 自定义选项
说明 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pglogical.batch_inserts

pglogical.conflict_log_level

属性
类别 自定义选项
说明 设置当 pglogical.conflict_resolution 设置为除 error 以外的任何值时报告检测到的冲突的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic
参数类型 动态
文档 pglogical.conflict_log_level

pglogical.conflict_resolution

属性
类别 自定义选项
说明 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 动态
文档 pglogical.conflict_resolution

pglogical.use_spi

属性
类别 自定义选项
说明 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pglogical.use_spi

pgms_stats.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档

pgms_wait_sampling.history_period

属性
类别 自定义选项
说明 设置等待事件采样的频率(以毫秒为单位)。
数据类型 integer
默认值 100
允许的值 1-600000
参数类型 动态
文档 pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。 如果显示为“关闭”,那么即使为 pgms_wait_sampling.query_capture_mode 设置了值,等待采样也会被禁用。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档 pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

属性
类别 自定义选项
说明 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 动态
文档 pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

属性
类别 自定义选项
说明 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pg_partman_bgw.analyze

pg_partman_bgw.dbname

属性
类别 自定义选项
说明 必填。 run_maintenance() 将运行的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 string
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 动态
文档 pg_partman_bgw.dbname

pg_partman_bgw.interval

属性
类别 自定义选项
说明 调用 run_maintenance() 的间隔秒数。
数据类型 integer
默认值 3600
允许的值 1-315360000
参数类型 动态
文档 pg_partman_bgw.interval

pg_partman_bgw.jobmon

属性
类别 自定义选项
说明 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_partman_bgw.jobmon

pg_partman_bgw.role

属性
类别 自定义选项
说明 run_maintenance() 将作为其运行的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 string
默认值
允许的值 [A-Za-z\\._]*
参数类型 动态
文档 pg_partman_bgw.role

pg_qs.interval_length_minutes

属性
类别 自定义选项
说明 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 integer
默认值 15
允许的值 1-30
参数类型 static
文档 pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。 如果显示为关闭,那么即使为 pg_qs.query_capture_mode 设置了值,查询存储也会被禁用。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档 pg_qs.is_enabled_fs

pg_qs.max_plan_size

属性
类别 自定义选项
说明 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 integer
默认值 7500
允许的值 100-10000
参数类型 动态
文档 pg_qs.max_plan_size

pg_qs.max_query_text_length

属性
类别 自定义选项
说明 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 integer
默认值 6000
允许的值 100-10000
参数类型 动态
文档 pg_qs.max_query_text_length

pg_qs.query_capture_mode

属性
类别 自定义选项
说明 设置查询存储的查询捕获模式。 None 禁用任何捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 动态
文档 pg_qs.query_capture_mode

pg_qs.retention_period_in_days

属性
类别 自定义选项
说明 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 integer
默认值 7
允许的值 1-30
参数类型 动态
文档 pg_qs.retention_period_in_days

pg_qs.store_query_plans

属性
类别 自定义选项
说明 为 pg_qs 打开或关闭保存查询计划的功能
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pg_qs.store_query_plans

pg_qs.track_utility

属性
类别 自定义选项
说明 选择 pg_qs 是否跟踪实用程序命令。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_qs.track_utility

pg_stat_statements.max

属性
类别 自定义选项
说明 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 integer
默认值 5000
允许的值 100-2147483647
参数类型 static
文档 pg_stat_statements.max

pg_stat_statements.save

属性
类别 自定义选项
说明 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_stat_statements.save

pg_stat_statements.track

属性
类别 自定义选项
说明 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 动态
文档 pg_stat_statements.track

pg_stat_statements.track_utility

属性
类别 自定义选项
说明 选择是否由 pg_stat_statements 跟踪实用程序命令。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

属性
类别 自定义选项
说明 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 动态
文档 postgis.gdal_enabled_drivers

require_secure_transport

属性
类别 自定义选项
说明 是否需要客户端连接到服务器来使用某种形式的安全传输。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 require_secure_transport

auto_explain.log_analyze

属性
类别 自定义选项
说明 使用 EXPLAIN ANALYZE 进行计划日志记录。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_analyze

auto_explain.log_buffers

属性
类别 自定义选项
说明 记录缓冲区使用情况。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_buffers

auto_explain.log_format

属性
类别 自定义选项
说明 用于计划日志记录的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 动态
文档 auto_explain.log_format

auto_explain.log_level

属性
类别 自定义选项
说明 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 动态
文档 auto_explain.log_level

auto_explain.log_min_duration

属性
类别 自定义选项
说明 设置将记录计划的最低执行时间。 零打印所有计划。 -1 关闭此功能。
数据类型 integer
默认值 -1
允许的值 -1-2147483647
参数类型 动态
文档 auto_explain.log_min_duration

auto_explain.log_nested_statements

属性
类别 自定义选项
说明 记录嵌套语句。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_nested_statements

auto_explain.log_settings

属性
类别 自定义选项
说明 记录影响查询计划的已修改配置参数。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_settings

auto_explain.log_timing

属性
类别 自定义选项
说明 收集计时数据,而不仅仅是行计数。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 auto_explain.log_timing

auto_explain.log_triggers

属性
类别 自定义选项
说明 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_triggers

auto_explain.log_verbose

属性
类别 自定义选项
说明 使用 EXPLAIN VERBOSE 进行计划日志记录。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_verbose

auto_explain.sample_rate

属性
类别 自定义选项
说明 要处理的查询的占比。
数据类型 numeric
默认值 1.0
允许的值 0.0-1.0
参数类型 动态
文档 auto_explain.sample_rate

azure.accepted_password_auth_method

属性
类别 自定义选项
说明 接受的密码身份验证方法。
数据类型 set
默认值 md5
允许的值 md5,scram-sha-256
参数类型 动态
文档 azure.accepted_password_auth_method

azure.enable_temp_tablespaces_on_local_ssd

属性
类别 自定义选项
说明 在临时磁盘上创建临时表空间。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档

azure.extensions

属性
类别 自定义选项
说明 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,amcheck,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hstore,hypopg,intagg,intarray,isn,lo,login_hook,ltree,orafce,pageinspect,pg_buffercache,pg_cron,pg_freespacemap,pg_hint_plan,pg_partman,pg_prewarm,pg_repack,pg_squeeze,pg_stat_statements,pg_trgm,pg_visibility,pgaudit,pgcrypto,pglogical,pgrouting,pgrowlocks,pgstattuple,plpgsql,plv8,postgis,postgis_raster,postgis_sfcgal,postgis_tiger_geocoder,postgis_topology,postgres_fdw,postgres_protobuf,semver,session_variable,sslinfo,tablefunc,tds_fdw,timescaledb,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 动态
文档 azure.extensions

azure.single_to_flex_migration

属性
类别 自定义选项
说明 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 boolean
默认值 off
允许的值 off
参数类型 (只读)
文档

azure_storage.allow_network_access

属性
类别 自定义选项
说明 允许从扩展 azure_storage 中的 blob 存储访问数据。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档

azure_storage.blob_block_size_mb

属性
类别 自定义选项
说明 扩展 azure_storage 中 blob_put 的 Blob 块大小(以 MB 为单位)。
数据类型 integer
默认值 1024
允许的值 1024
参数类型 (只读)
文档 azure_storage.blob_block_size_mb

azure_storage.public_account_access

属性
类别 自定义选项
说明 允许所有用户访问扩展 azure_storage 中公共存储帐户中的数据。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档

connection_throttle.bucket_limit

属性
类别 自定义选项
说明 每个 Bucket 的最大登录令牌数。
数据类型 integer
默认值 2000
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.enable

属性
类别 自定义选项
说明 启用登录失败次数过多时 IP 的临时连接限制。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档

connection_throttle.factor_bias

属性
类别 自定义选项
说明 计算 IP Bucket 的令牌数的因子偏差。
数据类型 numeric
默认值 0.8
允许的值 0.0-0.9
参数类型 动态
文档

connection_throttle.hash_entries_max

属性
类别 自定义选项
说明 登录失败哈希表中的最大条目数。
数据类型 integer
默认值 500
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.reset_time

属性
类别 自定义选项
说明 重置登录 Bucket 之间的时间。
数据类型 integer
默认值 120
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.restore_factor

属性
类别 自定义选项
说明 对于失败率较低的 IP 增加令牌数的因子。
数据类型 numeric
默认值 2
允许的值 1.0-100.0
参数类型 动态
文档

connection_throttle.update_time

属性
类别 自定义选项
说明 更新登录 Bucket 之间的时间。
数据类型 integer
默认值 20
允许的值 1-2147483647
参数类型 动态
文档

cron.database_name

属性
类别 自定义选项
说明 设置在其中保留 pg_cron 元数据的数据库。
数据类型 string
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 static
文档 cron.database_name

cron.log_run

属性
类别 自定义选项
说明 将所有作业记录到 job_run_details 表中。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 static
文档 cron.log_run

cron.log_statement

属性
类别 自定义选项
说明 在执行之前记录所有 cron 语句。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 static
文档 cron.log_statement

cron.max_running_jobs

属性
类别 自定义选项
说明 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 integer
默认值 32
允许的值 0-5000
参数类型 static
文档 cron.max_running_jobs

index_tuning.analysis_interval

属性
类别 自定义选项
说明 将 index_tuning.mode 设置为 'REPORT' 时触发每个索引优化会话的频率。
数据类型 integer
默认值 720
允许的值 60-10080
参数类型 动态
文档 index_tuning.analysis_interval

index_tuning.max_columns_per_index

属性
类别 自定义选项
说明 任何建议索引的索引键中可以包含的最大列数。
数据类型 integer
默认值 2
允许的值 1-10
参数类型 动态
文档 index_tuning.max_columns_per_index

index_tuning.max_index_count

属性
类别 自定义选项
说明 在一个优化会话期间可以为每个数据库推荐的最大索引数。
数据类型 integer
默认值 10
允许的值 1-25
参数类型 动态
文档 index_tuning.max_index_count

index_tuning.max_indexes_per_table

属性
类别 自定义选项
说明 每个表可推荐的最大索引数。
数据类型 integer
默认值 10
允许的值 1-25
参数类型 动态
文档 index_tuning.max_indexes_per_table

index_tuning.max_queries_per_database

属性
类别 自定义选项
说明 每个数据库可为其推荐索引的最慢查询数。
数据类型 integer
默认值 25
允许的值 5-100
参数类型 动态
文档 index_tuning.max_queries_per_database

index_tuning.max_regression_factor

属性
类别 自定义选项
说明 在一个优化会话中分析的任何查询上推荐索引引入的可接受回归。
数据类型 numeric
默认值 0.1
允许的值 0.05-0.2
参数类型 动态
文档 index_tuning.max_regression_factor

index_tuning.max_total_size_factor

属性
类别 自定义选项
说明 任何给定数据库的所有建议索引都可以使用的最大总磁盘空间百分比( 以总磁盘空间百分比为单位)。
数据类型 numeric
默认值 0.1
允许的值 0-1.0
参数类型 动态
文档 index_tuning.max_total_size_factor

index_tuning.min_improvement_factor

属性
类别 自定义选项
说明 建议的索引必须提供给在一个优化会话中分析的至少一个查询的成本改进。
数据类型 numeric
默认值 0.2
允许的值 0-20.0
参数类型 动态
文档 index_tuning.min_improvement_factor

index_tuning.mode

属性
类别 自定义选项
说明 将索引优化配置为已禁用 ('OFF'),或仅启用以仅发出建议。 通过将 pg_qs.query_capture_mode 设置为 'TOP' 或 'ALL' 来启用查询存储。
数据类型 枚举
默认值 off
允许的值 off,report
参数类型 动态
文档 index_tuning.mode

index_tuning.unused_dml_per_table

属性
类别 自定义选项
说明 影响表的每日平均 DML 操作的最小数目,以便考虑删除其未使用的索引。
数据类型 integer
默认值 1000
允许的值 0-9999999
参数类型 动态
文档 index_tuning.unused_dml_per_table

index_tuning.unused_min_period

属性
类别 自定义选项
说明 未根据系统统计信息使用索引的最小天数,以便考虑删除索引。
数据类型 integer
默认值 35
允许的值 30-720
参数类型 动态
文档 index_tuning.unused_min_period

index_tuning.unused_reads_per_table

属性
类别 自定义选项
说明 影响表的每日平均读取操作的最小数目,以便考虑删除其未使用的索引。
数据类型 integer
默认值 1000
允许的值 0-9999999
参数类型 动态
文档 index_tuning.unused_reads_per_table

intelligent_tuning

属性
类别 自定义选项
说明 启用智能优化
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 intelligent_tuning

intelligent_tuning.metric_targets

属性
类别 自定义选项
说明 指定智能优化将调整哪些指标。
数据类型 set
默认值 none
允许的值 none,Storage-checkpoint_completion_target,Storage-min_wal_size,Storage-max_wal_size,Storage-bgwriter_delay,tuning-autovacuum,all
参数类型 动态
文档 intelligent_tuning.metric_targets

logfiles.download_enable

属性
类别 自定义选项
说明 启用或禁用服务器日志功能。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 logfiles.download_enable

logfiles.retention_days

属性
类别 自定义选项
说明 设置 pg_qs 的保留期时间段(以天为单位)- 数据将在此时间之后删除。
数据类型 integer
默认值 3
允许的值 1-7
参数类型 动态
文档 logfiles.retention_days

metrics.autovacuum_diagnostics

属性
类别 自定义选项
说明 为数据库中的所有表统计信息启用指标收集
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.autovacuum_diagnostics

metrics.collector_database_activity

属性
类别 自定义选项
说明 为数据库和活动统计信息启用指标收集
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.collector_database_activity

metrics.pgbouncer_diagnostics

属性
类别 自定义选项
说明 为 PgBouncer 启用指标收集。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.pgbouncer_diagnostics

pgaudit.log

属性
类别 自定义选项
说明 指定会话审核日志记录将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 动态
文档 pgaudit.log

pgaudit.log_catalog

属性
类别 自定义选项
说明 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pgaudit.log_catalog

pgaudit.log_client

属性
类别 自定义选项
说明 指定审核消息是否应对客户端可见。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_client

pgaudit.log_level

属性
类别 自定义选项
说明 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 动态
文档 pgaudit.log_level

pgaudit.log_parameter

属性
类别 自定义选项
说明 指定审核日志记录应包含随语句一起传递的参数。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_parameter

pgaudit.log_relation

属性
类别 自定义选项
说明 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_relation

pgaudit.log_statement_once

属性
类别 自定义选项
说明 指定日志记录是包含语句文本和参数以及语句/子语句组合的第一个日志条目还是每个条目。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_statement_once

pgaudit.role

属性
类别 自定义选项
说明 指定要用于对象审核日志记录的主角色。
数据类型 string
默认值
允许的值 [A-Za-z\\._]*
参数类型 动态
文档 pgaudit.role

pgbouncer.default_pool_size

属性
类别 自定义选项
说明 每个用户/数据库对允许的服务器连接数。
数据类型 integer
默认值 50
允许的值 1-4950
参数类型 动态
文档 pgbouncer.default_pool_size

pgbouncer.enabled

属性
类别 自定义选项
说明 表示是否启用了 pgBouncer 服务。
数据类型 boolean
默认值 false
允许的值 true, false
参数类型 动态
文档 pgbouncer.enabled

pgbouncer.ignore_startup_parameters

属性
类别 自定义选项
说明 PgBouncer 可忽略的参数的逗号分隔列表,因为这些参数将由管理员处理。
数据类型 string
默认值
允许的值 [A-Za-z0-9_\\.,]*
参数类型 动态
文档 pgbouncer.ignore_startup_parameters

pgbouncer.max_client_conn

属性
类别 自定义选项
说明 允许的最大客户端连接数。
数据类型 integer
默认值 5000
允许的值 1-50000
参数类型 动态
文档 pgbouncer.max_client_conn

pgbouncer.max_prepared_statements

属性
类别 自定义选项
说明 当它设置为非零值时,PgBouncer 会跟踪客户端在事务和语句池模式下发送的、协议级命名的、已准备好的语句相关命令。
数据类型 integer
默认值 0
允许的值 0-5000
参数类型 动态
文档 pgbouncer.max_prepared_statements

pgbouncer.min_pool_size

属性
类别 自定义选项
说明 如果低于此数量,请将更多服务器连接添加到池。
数据类型 integer
默认值 0
允许的值 0-4950
参数类型 动态
文档 pgbouncer.min_pool_size

pgbouncer.pool_mode

属性
类别 自定义选项
说明 指定服务器连接何时可供其他客户端重用。
数据类型 枚举
默认值 transaction
允许的值 session,transaction,statement
参数类型 动态
文档 pgbouncer.pool_mode

pgbouncer.query_wait_timeout

属性
类别 自定义选项
说明 允许查询等待进行执行的最长时间(秒)。 如果在此期间未将查询分配给服务器,则客户端将断开连接。
数据类型 integer
默认值 120
允许的值 0-86400
参数类型 动态
文档 pgbouncer.query_wait_timeout

pgbouncer.server_idle_timeout

属性
类别 自定义选项
说明 如果服务器连接空闲时间超过此秒数,则会将其断开。 如果为 0,则禁用超时。
数据类型 integer
默认值 600
允许的值 0-86400
参数类型 动态
文档 pgbouncer.server_idle_timeout

pgbouncer.stats_users

属性
类别 自定义选项
说明 获允在 pgBouncer 控制台上连接和运行只读查询的数据库用户的逗号分隔列表。
数据类型 string
默认值
允许的值 [A-Za-z0-9,@_\\-\\.]*
参数类型 动态
文档 pgbouncer.stats_users

pglogical.batch_inserts

属性
类别 自定义选项
说明 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pglogical.batch_inserts

pglogical.conflict_log_level

属性
类别 自定义选项
说明 设置当 pglogical.conflict_resolution 设置为除 error 以外的任何值时报告检测到的冲突的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic
参数类型 动态
文档 pglogical.conflict_log_level

pglogical.conflict_resolution

属性
类别 自定义选项
说明 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 动态
文档 pglogical.conflict_resolution

pglogical.use_spi

属性
类别 自定义选项
说明 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pglogical.use_spi

pgms_stats.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档

pgms_wait_sampling.history_period

属性
类别 自定义选项
说明 设置等待事件采样的频率(以毫秒为单位)。
数据类型 integer
默认值 100
允许的值 1-600000
参数类型 动态
文档 pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。 如果显示为“关闭”,那么即使为 pgms_wait_sampling.query_capture_mode 设置了值,等待采样也会被禁用。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档 pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

属性
类别 自定义选项
说明 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 动态
文档 pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

属性
类别 自定义选项
说明 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pg_partman_bgw.analyze

pg_partman_bgw.dbname

属性
类别 自定义选项
说明 必填。 run_maintenance() 将运行的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 string
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 动态
文档 pg_partman_bgw.dbname

pg_partman_bgw.interval

属性
类别 自定义选项
说明 调用 run_maintenance() 的间隔秒数。
数据类型 integer
默认值 3600
允许的值 1-315360000
参数类型 动态
文档 pg_partman_bgw.interval

pg_partman_bgw.jobmon

属性
类别 自定义选项
说明 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_partman_bgw.jobmon

pg_partman_bgw.role

属性
类别 自定义选项
说明 run_maintenance() 将作为其运行的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 string
默认值
允许的值 [A-Za-z\\._]*
参数类型 动态
文档 pg_partman_bgw.role

pg_qs.interval_length_minutes

属性
类别 自定义选项
说明 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 integer
默认值 15
允许的值 1-30
参数类型 static
文档 pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。 如果显示为关闭,那么即使为 pg_qs.query_capture_mode 设置了值,查询存储也会被禁用。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档 pg_qs.is_enabled_fs

pg_qs.max_plan_size

属性
类别 自定义选项
说明 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 integer
默认值 7500
允许的值 100-10000
参数类型 动态
文档 pg_qs.max_plan_size

pg_qs.max_query_text_length

属性
类别 自定义选项
说明 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 integer
默认值 6000
允许的值 100-10000
参数类型 动态
文档 pg_qs.max_query_text_length

pg_qs.query_capture_mode

属性
类别 自定义选项
说明 设置查询存储的查询捕获模式。 None 禁用任何捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 动态
文档 pg_qs.query_capture_mode

pg_qs.retention_period_in_days

属性
类别 自定义选项
说明 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 integer
默认值 7
允许的值 1-30
参数类型 动态
文档 pg_qs.retention_period_in_days

pg_qs.store_query_plans

属性
类别 自定义选项
说明 为 pg_qs 打开或关闭保存查询计划的功能
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pg_qs.store_query_plans

pg_qs.track_utility

属性
类别 自定义选项
说明 选择 pg_qs 是否跟踪实用程序命令。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_qs.track_utility

pg_stat_statements.max

属性
类别 自定义选项
说明 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 integer
默认值 5000
允许的值 100-2147483647
参数类型 static
文档 pg_stat_statements.max

pg_stat_statements.save

属性
类别 自定义选项
说明 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_stat_statements.save

pg_stat_statements.track

属性
类别 自定义选项
说明 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 动态
文档 pg_stat_statements.track

pg_stat_statements.track_utility

属性
类别 自定义选项
说明 选择是否由 pg_stat_statements 跟踪实用程序命令。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

属性
类别 自定义选项
说明 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 动态
文档 postgis.gdal_enabled_drivers

require_secure_transport

属性
类别 自定义选项
说明 是否需要客户端连接到服务器来使用某种形式的安全传输。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 require_secure_transport

auto_explain.log_analyze

属性
类别 自定义选项
说明 使用 EXPLAIN ANALYZE 进行计划日志记录。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_analyze

auto_explain.log_buffers

属性
类别 自定义选项
说明 记录缓冲区使用情况。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_buffers

auto_explain.log_format

属性
类别 自定义选项
说明 用于计划日志记录的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 动态
文档 auto_explain.log_format

auto_explain.log_min_duration

属性
类别 自定义选项
说明 设置将记录计划的最低执行时间。 零打印所有计划。 -1 关闭此功能。
数据类型 integer
默认值 -1
允许的值 -1-2147483647
参数类型 动态
文档 auto_explain.log_min_duration

auto_explain.log_nested_statements

属性
类别 自定义选项
说明 记录嵌套语句。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_nested_statements

auto_explain.log_timing

属性
类别 自定义选项
说明 收集计时数据,而不仅仅是行计数。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 auto_explain.log_timing

auto_explain.log_triggers

属性
类别 自定义选项
说明 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_triggers

auto_explain.log_verbose

属性
类别 自定义选项
说明 使用 EXPLAIN VERBOSE 进行计划日志记录。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 auto_explain.log_verbose

auto_explain.sample_rate

属性
类别 自定义选项
说明 要处理的查询的占比。
数据类型 numeric
默认值 1.0
允许的值 0.0-1.0
参数类型 动态
文档 auto_explain.sample_rate

azure.accepted_password_auth_method

属性
类别 自定义选项
说明 接受的密码身份验证方法。
数据类型 set
默认值 md5
允许的值 md5,scram-sha-256
参数类型 动态
文档 azure.accepted_password_auth_method

azure.allow_hostname_in_username

属性
类别 自定义选项
说明 指定是否允许在 Azure Database for PostgreSQL 灵活服务器的用户名中使用主机名。
数据类型 boolean
默认值 off
允许的值 off
参数类型 (只读)
文档

azure.enable_temp_tablespaces_on_local_ssd

属性
类别 自定义选项
说明 在临时磁盘上创建临时表空间。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档

azure.extensions

属性
类别 自定义选项
说明 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,amcheck,bloom,btree_gin,btree_gist,citext,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hstore,hypopg,intagg,intarray,isn,lo,login_hook,ltree,orafce,pageinspect,pg_buffercache,pg_cron,pg_freespacemap,pg_hint_plan,pg_partman,pg_prewarm,pg_repack,pg_squeeze,pg_stat_statements,pg_trgm,pg_visibility,pgaudit,pgcrypto,pglogical,pgrouting,pgrowlocks,pgstattuple,plpgsql,plv8,postgis,postgis_raster,postgis_sfcgal,postgis_tiger_geocoder,postgis_topology,postgres_fdw,semver,session_variable,sslinfo,tablefunc,tds_fdw,timescaledb,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 动态
文档 azure.extensions

azure.single_to_flex_migration

属性
类别 自定义选项
说明 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 boolean
默认值 off
允许的值 off
参数类型 (只读)
文档

connection_throttle.bucket_limit

属性
类别 自定义选项
说明 每个 Bucket 的最大登录令牌数。
数据类型 integer
默认值 2000
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.enable

属性
类别 自定义选项
说明 启用登录失败次数过多时 IP 的临时连接限制。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档

connection_throttle.factor_bias

属性
类别 自定义选项
说明 计算 IP Bucket 的令牌数的因子偏差。
数据类型 numeric
默认值 0.8
允许的值 0.0-0.9
参数类型 动态
文档

connection_throttle.hash_entries_max

属性
类别 自定义选项
说明 登录失败哈希表中的最大条目数。
数据类型 integer
默认值 500
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.reset_time

属性
类别 自定义选项
说明 重置登录 Bucket 之间的时间。
数据类型 integer
默认值 120
允许的值 1-2147483647
参数类型 动态
文档

connection_throttle.restore_factor

属性
类别 自定义选项
说明 对于失败率较低的 IP 增加令牌数的因子。
数据类型 numeric
默认值 2
允许的值 1.0-100.0
参数类型 动态
文档

connection_throttle.update_time

属性
类别 自定义选项
说明 更新登录 Bucket 之间的时间。
数据类型 integer
默认值 20
允许的值 1-2147483647
参数类型 动态
文档

cron.database_name

属性
类别 自定义选项
说明 设置在其中保留 pg_cron 元数据的数据库。
数据类型 string
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 static
文档 cron.database_name

cron.log_run

属性
类别 自定义选项
说明 将所有作业记录到 job_run_details 表中。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 static
文档 cron.log_run

cron.log_statement

属性
类别 自定义选项
说明 在执行之前记录所有 cron 语句。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 static
文档 cron.log_statement

cron.max_running_jobs

属性
类别 自定义选项
说明 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 integer
默认值 32
允许的值 0-5000
参数类型 static
文档 cron.max_running_jobs

intelligent_tuning

属性
类别 自定义选项
说明 启用智能优化
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 intelligent_tuning

intelligent_tuning.metric_targets

属性
类别 自定义选项
说明 指定智能优化将调整哪些指标。
数据类型 set
默认值 none
允许的值 none,Storage-checkpoint_completion_target,Storage-min_wal_size,Storage-max_wal_size,Storage-bgwriter_delay,tuning-autovacuum,all
参数类型 动态
文档 intelligent_tuning.metric_targets

logfiles.download_enable

属性
类别 自定义选项
说明 启用或禁用服务器日志功能。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 logfiles.download_enable

logfiles.retention_days

属性
类别 自定义选项
说明 设置 pg_qs 的保留期时间段(以天为单位)- 数据将在此时间之后删除。
数据类型 integer
默认值 3
允许的值 1-7
参数类型 动态
文档 logfiles.retention_days

metrics.autovacuum_diagnostics

属性
类别 自定义选项
说明 为数据库中的所有表统计信息启用指标收集
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.autovacuum_diagnostics

metrics.collector_database_activity

属性
类别 自定义选项
说明 为数据库和活动统计信息启用指标收集
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.collector_database_activity

metrics.pgbouncer_diagnostics

属性
类别 自定义选项
说明 为 PgBouncer 启用指标收集。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 metrics.pgbouncer_diagnostics

pgaudit.log

属性
类别 自定义选项
说明 指定会话审核日志记录将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 动态
文档 pgaudit.log

pgaudit.log_catalog

属性
类别 自定义选项
说明 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pgaudit.log_catalog

pgaudit.log_client

属性
类别 自定义选项
说明 指定审核消息是否应对客户端可见。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_client

pgaudit.log_level

属性
类别 自定义选项
说明 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 动态
文档 pgaudit.log_level

pgaudit.log_parameter

属性
类别 自定义选项
说明 指定审核日志记录应包含随语句一起传递的参数。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_parameter

pgaudit.log_relation

属性
类别 自定义选项
说明 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_relation

pgaudit.log_statement_once

属性
类别 自定义选项
说明 指定日志记录是包含语句文本和参数以及语句/子语句组合的第一个日志条目还是每个条目。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pgaudit.log_statement_once

pgaudit.role

属性
类别 自定义选项
说明 指定要用于对象审核日志记录的主角色。
数据类型 string
默认值
允许的值 [A-Za-z\\._]*
参数类型 动态
文档 pgaudit.role

pgbouncer.default_pool_size

属性
类别 自定义选项
说明 每个用户/数据库对允许的服务器连接数。
数据类型 integer
默认值 50
允许的值 1-4950
参数类型 动态
文档 pgbouncer.default_pool_size

pgbouncer.enabled

属性
类别 自定义选项
说明 表示是否启用了 pgBouncer 服务。
数据类型 boolean
默认值 false
允许的值 true, false
参数类型 动态
文档 pgbouncer.enabled

pgbouncer.ignore_startup_parameters

属性
类别 自定义选项
说明 PgBouncer 可忽略的参数的逗号分隔列表,因为这些参数将由管理员处理。
数据类型 string
默认值
允许的值 [A-Za-z0-9_\\.,]*
参数类型 动态
文档 pgbouncer.ignore_startup_parameters

pgbouncer.max_client_conn

属性
类别 自定义选项
说明 允许的最大客户端连接数。
数据类型 integer
默认值 5000
允许的值 1-50000
参数类型 动态
文档 pgbouncer.max_client_conn

pgbouncer.max_prepared_statements

属性
类别 自定义选项
说明 当它设置为非零值时,PgBouncer 会跟踪客户端在事务和语句池模式下发送的、协议级命名的、已准备好的语句相关命令。
数据类型 integer
默认值 0
允许的值 0-5000
参数类型 动态
文档 pgbouncer.max_prepared_statements

pgbouncer.min_pool_size

属性
类别 自定义选项
说明 如果低于此数量,请将更多服务器连接添加到池。
数据类型 integer
默认值 0
允许的值 0-4950
参数类型 动态
文档 pgbouncer.min_pool_size

pgbouncer.pool_mode

属性
类别 自定义选项
说明 指定服务器连接何时可供其他客户端重用。
数据类型 枚举
默认值 transaction
允许的值 session,transaction,statement
参数类型 动态
文档 pgbouncer.pool_mode

pgbouncer.query_wait_timeout

属性
类别 自定义选项
说明 允许查询等待进行执行的最长时间(秒)。 如果在此期间未将查询分配给服务器,则客户端将断开连接。
数据类型 integer
默认值 120
允许的值 0-86400
参数类型 动态
文档 pgbouncer.query_wait_timeout

pgbouncer.server_idle_timeout

属性
类别 自定义选项
说明 如果服务器连接空闲时间超过此秒数,则会将其断开。 如果为 0,则禁用超时。
数据类型 integer
默认值 600
允许的值 0-86400
参数类型 动态
文档 pgbouncer.server_idle_timeout

pgbouncer.stats_users

属性
类别 自定义选项
说明 获允在 pgBouncer 控制台上连接和运行只读查询的数据库用户的逗号分隔列表。
数据类型 string
默认值
允许的值 [A-Za-z0-9,@_\\-\\.]*
参数类型 动态
文档 pgbouncer.stats_users

pglogical.batch_inserts

属性
类别 自定义选项
说明 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pglogical.batch_inserts

pglogical.conflict_log_level

属性
类别 自定义选项
说明 设置当 pglogical.conflict_resolution 设置为除 error 以外的任何值时报告检测到的冲突的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic
参数类型 动态
文档 pglogical.conflict_log_level

pglogical.conflict_resolution

属性
类别 自定义选项
说明 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 动态
文档 pglogical.conflict_resolution

pglogical.use_spi

属性
类别 自定义选项
说明 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pglogical.use_spi

pgms_stats.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档

pgms_wait_sampling.history_period

属性
类别 自定义选项
说明 设置等待事件采样的频率(以毫秒为单位)。
数据类型 integer
默认值 100
允许的值 1-600000
参数类型 动态
文档 pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。 如果显示为“关闭”,那么即使为 pgms_wait_sampling.query_capture_mode 设置了值,等待采样也会被禁用。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档 pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

属性
类别 自定义选项
说明 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 动态
文档 pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

属性
类别 自定义选项
说明 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pg_partman_bgw.analyze

pg_partman_bgw.dbname

属性
类别 自定义选项
说明 必填。 run_maintenance() 将运行的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 string
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 动态
文档 pg_partman_bgw.dbname

pg_partman_bgw.interval

属性
类别 自定义选项
说明 调用 run_maintenance() 的间隔秒数。
数据类型 integer
默认值 3600
允许的值 1-315360000
参数类型 动态
文档 pg_partman_bgw.interval

pg_partman_bgw.jobmon

属性
类别 自定义选项
说明 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_partman_bgw.jobmon

pg_partman_bgw.role

属性
类别 自定义选项
说明 run_maintenance() 将作为其运行的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 string
默认值
允许的值 [A-Za-z\\._]*
参数类型 动态
文档 pg_partman_bgw.role

pg_qs.interval_length_minutes

属性
类别 自定义选项
说明 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 integer
默认值 15
允许的值 1-30
参数类型 static
文档 pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

属性
类别 自定义选项
说明 仅供内部使用:此参数用作功能覆盖开关。 如果显示为关闭,那么即使为 pg_qs.query_capture_mode 设置了值,查询存储也会被禁用。
数据类型 boolean
默认值 on
允许的值 on
参数类型 (只读)
文档 pg_qs.is_enabled_fs

pg_qs.max_plan_size

属性
类别 自定义选项
说明 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 integer
默认值 7500
允许的值 100-10000
参数类型 动态
文档 pg_qs.max_plan_size

pg_qs.max_query_text_length

属性
类别 自定义选项
说明 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 integer
默认值 6000
允许的值 100-10000
参数类型 动态
文档 pg_qs.max_query_text_length

pg_qs.query_capture_mode

属性
类别 自定义选项
说明 设置查询存储的查询捕获模式。 None 禁用任何捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 动态
文档 pg_qs.query_capture_mode

pg_qs.retention_period_in_days

属性
类别 自定义选项
说明 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 integer
默认值 7
允许的值 1-30
参数类型 动态
文档 pg_qs.retention_period_in_days

pg_qs.store_query_plans

属性
类别 自定义选项
说明 为 pg_qs 打开或关闭保存查询计划的功能
数据类型 boolean
默认值 off
允许的值 on,off
参数类型 动态
文档 pg_qs.store_query_plans

pg_qs.track_utility

属性
类别 自定义选项
说明 选择 pg_qs 是否跟踪实用程序命令。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_qs.track_utility

pg_stat_statements.max

属性
类别 自定义选项
说明 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 integer
默认值 5000
允许的值 100-2147483647
参数类型 static
文档 pg_stat_statements.max

pg_stat_statements.save

属性
类别 自定义选项
说明 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_stat_statements.save

pg_stat_statements.track

属性
类别 自定义选项
说明 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 动态
文档 pg_stat_statements.track

pg_stat_statements.track_utility

属性
类别 自定义选项
说明 选择是否由 pg_stat_statements 跟踪实用程序命令。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

属性
类别 自定义选项
说明 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 动态
文档 postgis.gdal_enabled_drivers

require_secure_transport

属性
类别 自定义选项
说明 是否需要客户端连接到服务器来使用某种形式的安全传输。
数据类型 boolean
默认值 on
允许的值 on,off
参数类型 动态
文档 require_secure_transport