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

自定义选项

anon.algorithm

Attribute 价值
类别 自定义选项
Description 用于假名化函数的哈希方法。
数据类型 字符串
默认值 sha256
允许的值 sha256
参数类型 只读的
Documentation anon.algorithm

anon.k_anonymity_provider

Attribute 价值
类别 自定义选项
Description 用于 k 匿名的安全标签提供程序。
数据类型 字符串
默认值 k_anonymity
允许的值 k_anonymity
参数类型 只读的
Documentation anon.k_anonymity_provider

anon.masking_policies

Attribute 价值
类别 自定义选项
Description 定义多个掩码策略(尚未实现)。
数据类型 字符串
默认值 anon
允许的值 anon
参数类型 只读的
Documentation anon.masking_policies

anon.maskschema

Attribute 价值
类别 自定义选项
Description 存储动态掩码视图的架构。
数据类型 字符串
默认值 mask
允许的值 mask
参数类型 只读的
Documentation anon.maskschema

anon.privacy_by_default

Attribute 价值
类别 自定义选项
Description 使用 NULL(或 NOT NULL 列的默认值)屏蔽所有列。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.privacy_by_default

anon.restrict_to_trusted_schemas

Attribute 价值
类别 自定义选项
Description 屏蔽筛选器必须位于受信任架构中。 激活此选项可防止非超级用户使用其自己的屏蔽筛选器。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.restrict_to_trusted_schemas

anon.salt

Attribute 价值
类别 自定义选项
Description 用于假名化函数的盐值。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation anon.salt

anon.sourceschema

Attribute 价值
类别 自定义选项
Description 动态掩码引擎屏蔽表时采用的架构。
数据类型 字符串
默认值 public
允许的值 public
参数类型 只读的
Documentation anon.sourceschema

anon.strict_mode

Attribute 价值
类别 自定义选项
Description 掩码规则无法更改列数据类型,除非禁用它。 不建议禁用此模式。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.strict_mode

anon.transparent_dynamic_masking

Attribute 价值
类别 自定义选项
Description 新的掩码引擎(实验性)。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.transparent_dynamic_masking

auto_explain.log_analyze

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN ANALYZE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_analyze

auto_explain.log_buffers

Attribute 价值
类别 自定义选项
Description 记录缓冲区使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_buffers

auto_explain.log_format

Attribute 价值
类别 自定义选项
Description 用于记录计划的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 dynamic
Documentation auto_explain.log_format

auto_explain.log_level

Attribute 价值
类别 自定义选项
Description 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 dynamic
Documentation auto_explain.log_level

auto_explain.log_min_duration

Attribute 价值
类别 自定义选项
Description 设置记录计划的最低执行时间阈值,只有超过此执行时间的计划才会被记录。 零表示输出所有计划。 -1 关闭此功能。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_min_duration

auto_explain.log_nested_statements

Attribute 价值
类别 自定义选项
Description 记录嵌套语句。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_nested_statements

auto_explain.log_parameter_max_length

Attribute 价值
类别 自定义选项
Description 设置要记录的查询参数的最大长度。 零日志没有查询参数,-1 完整记录这些参数。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_parameter_max_length

auto_explain.log_settings

Attribute 价值
类别 自定义选项
Description 记录影响查询计划的已修改配置参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_settings

auto_explain.log_timing

Attribute 价值
类别 自定义选项
Description 收集计时数据,而不仅仅是行计数。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_timing

auto_explain.log_triggers

Attribute 价值
类别 自定义选项
Description 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_triggers

auto_explain.log_verbose

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN VERBOSE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_verbose

auto_explain.log_wal

Attribute 价值
类别 自定义选项
Description 记录 WAL 使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_wal

auto_explain.sample_rate

Attribute 价值
类别 自定义选项
Description 要处理的查询的占比。
数据类型 数字
默认值 1.0
允许的值 0.0-1.0
参数类型 dynamic
Documentation auto_explain.sample_rate

azure.接受的密码认证方法

Attribute 价值
类别 自定义选项
Description 接受的密码身份验证方法。
数据类型 set
默认值 md5,scram-sha-256
允许的值 md5,scram-sha-256
参数类型 dynamic
Documentation azure.accepted_password_auth_method

azure_cdc.change_batch_buffer_size(更改批处理缓冲区大小)

Attribute 价值
类别 自定义选项
Description 用于更改批处理的缓冲区大小(以 MB 为单位)。 这些缓冲区用于在将 CDC 更改写入磁盘之前临时存储这些更改。
数据类型 整数
默认值 16
允许的值 1-100
参数类型 dynamic
Documentation

azure_cdc.change_batch_export_timeout

Attribute 价值
类别 自定义选项
Description 在一批更改准备好进行导出之前,可等待的最长的时间(以秒为单位)。
数据类型 整数
默认值 30
允许的值 10-60
参数类型 dynamic
Documentation

azure_cdc.max_fabric_mirrors

Attribute 价值
类别 自定义选项
Description 可以同时运行的并行构造镜像的最大数目。
数据类型 整数
默认值 3
允许的值 1-6
参数类型 静态的
Documentation

azure_cdc.max_snapshot_workers

Attribute 价值
类别 自定义选项
Description 为快照导出而启动的最工作线程数量上限。 每个工作线程一次会导出一个表。
数据类型 整数
默认值 3
允许的值 0-100
参数类型 dynamic
Documentation

azure_cdc.onelake_buffer_size

Attribute 价值
类别 自定义选项
Description 要上传到 Onelake 的缓冲区大小(以兆字节为单位)。 Onelake 以区块的形式上传文件,并将数据缓冲到内存中,直至达到此限制。
数据类型 整数
默认值 100
允许的值 1-1024
参数类型 dynamic
Documentation

azure_cdc.parquet_compression

Attribute 价值
类别 自定义选项
Description 用于 parquet 文件的压缩算法。 确定用于 parquet 文件的压缩算法。 支持的值为“未压缩”、“snappy”、“gzip”和“zstd”。
数据类型 枚举
默认值 zstd
允许的值 uncompressed,snappy,gzip,zstd
参数类型 dynamic
Documentation

azure_cdc.snapshot_buffer_size

Attribute 价值
类别 自定义选项
Description 初始快照缓冲区的最大大小(以 MB 为单位)。 每个表,在发送到 Fabric 之前会缓冲这么多数据。 请记住,azure_cdc.snapshot_buffer_size*azure_cdc.max_snapshot_workers 是初始快照期间使用的总内存缓冲区。
数据类型 整数
默认值 1000
允许的值 10-4000
参数类型 dynamic
Documentation

azure_cdc.snapshot_export_timeout

Attribute 价值
类别 自定义选项
Description 在导出数据库快照时,若出现错误,则允许等待的最长时间(以分钟为单位)。
数据类型 整数
默认值 180
允许的值 0-1440
参数类型 dynamic
Documentation

azure.enable_temp_tablespaces_on_local_ssd

Attribute 价值
类别 自定义选项
Description 在临时磁盘上创建临时表空间。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation

azure.extensions

Attribute 价值
类别 自定义选项
Description 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,amcheck,anon,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hll,hstore,hypopg,intagg,intarray,isn,lo,login_hook,ltree,oracle_fdw,orafce,pageinspect,pg_buffercache,pg_cron,pg_diskann,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,tdigest,tds_fdw,timescaledb,topn,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 dynamic
Documentation azure.extensions

azure.fabric_mirror_enabled

Attribute 价值
类别 自定义选项
Description 指定指示是否在服务器上启用镜像的标志。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation azure.fabric_mirror_enabled

azure.migration_copy_with_binary

Attribute 价值
类别 自定义选项
Description 设置为 on 时,此参数将允许在迁移过程中使用二进制格式来复制数据。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_copy_with_binary

azure.migration_skip_analyze

Attribute 价值
类别 自定义选项
Description 设置为“启用”时,此参数将在迁移过程中跳过分析阶段(vacuumdb --analyze-only)。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_analyze

azure.migration_skip_extensions

Attribute 价值
类别 自定义选项
Description 设置为“开启”时,此参数将跳过扩展的迁移。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_extensions

azure.migration_skip_large_objects

Attribute 价值
类别 自定义选项
Description 设置为 on 时,此参数将跳过大型对象(如 BLOB)的迁移。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_large_objects

azure.migration_skip_role_user

Attribute 价值
类别 自定义选项
Description 设置为“启用”时,此参数将从迁移过程中排除用户角色。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation azure.migration_skip_role_user

azure.migration_table_split_size

Attribute 价值
类别 自定义选项
Description 设置时,此参数指定在迁移期间将分区表的大小。
数据类型 整数
默认值 20480
允许的值 1-204800
参数类型 dynamic
Documentation azure.migration_table_split_size

azure.service_principal_id

Attribute 价值
类别 自定义选项
Description Azure 中服务主体的唯一标识符,用于授予租户中资源的权限和访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.service_principal_tenant_id

Attribute 价值
类别 自定义选项
Description 用于创建服务主体的租户的唯一标识符,确保该服务主体在该租户中具有必要的权限和资源访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.single_to_flex_migration

Attribute 价值
类别 自定义选项
Description 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation

azure_storage.allow_network_access

Attribute 价值
类别 自定义选项
Description 允许从 azure_storage 扩展访问 Azure 存储 BLOB 服务。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.allow_network_access

azure_storage.blob_block_size_mb

Attribute 价值
类别 自定义选项
Description PUT blob 操作的 blob 块大小(以兆字节为单位)。
数据类型 整数
默认值 取决于分配给服务器的资源(vCore、RAM 或磁盘空间)。
允许的值 1024
参数类型 只读的
Documentation azure_storage.blob_block_size_mb

特定于 Azure 的注释

预配 Azure Database for PostgreSQL 灵活服务器的实例时,会根据为其计算选择的产品名称计算 azure_storage.blob_block_size_mb 参数的默认值。 如果对支持该灵活服务器的计算进行任何后续产品选择更改,该实例的 azure_storage.blob_block_size_mb 服务器参数的默认值不受任何影响。

截止目前,如果你更改分配给实例的产品,则无法调整 azure_storage.blob_block_size_mb 参数的值,因为该参数已声明为只读。

用于计算 azure_storage.blob_block_size_mb 值的公式是 MIN(3072, MAX(128, memoryGiB * 32))

根据上一个公式,下表列出了此服务器参数将设置为的值,具体取决于预配的内存量:

内存大小 azure_storage.blob_block_size_mb
2 GiB 128 MiB
4 GiB 128 MiB
8 GiB 256 MiB
16 GiB 512 MiB
32 GiB 1024 MiB
48 GiB 1536 MiB
64 GiB 2048 MiB
80 GiB 2560 MiB
128 GiB 3072 MiB
160 GiB 3072 MiB
192 GiB 3072 MiB
256 GiB 3072 MiB
384 GiB 3072 MiB
432 GiB 3072 MiB
672 GiB 3072 MiB

azure_storage.log_level

Attribute 价值
类别 自定义选项
Description azure_storage 扩展使用的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,log,info,notice,warning,error
参数类型 dynamic
Documentation azure_storage.log_level

Azure存储.公共账户访问 (azure_storage.public_account_access)

Attribute 价值
类别 自定义选项
Description 允许所有用户访问没有凭据的存储帐户中的数据,存储帐户访问权限配置为公共。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.public_account_access

connection_throttle.bucket_limit

Attribute 价值
类别 自定义选项
Description 每个 Bucket 的最大登录令牌数。
数据类型 整数
默认值 2000
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.enable

Attribute 价值
类别 自定义选项
Description 启用基于 IP 的临时连接限制,以应对过多的登录失败。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

connection_throttle.factor_bias

Attribute 价值
类别 自定义选项
Description 用于计算 IP Bucket 的令牌数的因子偏差。
数据类型 数字
默认值 0.8
允许的值 0.0-0.9
参数类型 dynamic
Documentation

connection_throttle.hash_entries_max

Attribute 价值
类别 自定义选项
Description 登录失败哈希表中的最大条目数。
数据类型 整数
默认值 500
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.reset_time

Attribute 价值
类别 自定义选项
Description 重置登录 Bucket 的间隔时间。
数据类型 整数
默认值 120
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.restore_factor

Attribute 价值
类别 自定义选项
Description 对失败率较低的 IP 增加令牌数时所使用的因子。
数据类型 数字
默认值 2
允许的值 1.0-100.0
参数类型 dynamic
Documentation

connection_throttle.update_time

Attribute 价值
类别 自定义选项
Description 更新登录 Bucket 的间隔时间。
数据类型 整数
默认值 20
允许的值 1-2147483647
参数类型 dynamic
Documentation

cron.数据库名称

Attribute 价值
类别 自定义选项
Description 设置在其中保留 pg_cron 元数据的数据库。
数据类型 字符串
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 静态的
Documentation cron.database_name

cron.enable_superuser_jobs

Attribute 价值
类别 自定义选项
Description 允许以超级用户身份安排作业。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation cron.enable_superuser_jobs

cron.host

Attribute 价值
类别 自定义选项
Description 要连接到 PostgreSQL 数据库的主机名。 使用后台辅助角色时,此设置不起作用。
数据类型 字符串
默认值 localhost
允许的值 localhost
参数类型 只读的
Documentation cron.host

cron.launch_active_jobs

Attribute 价值
类别 自定义选项
Description 启动被定义为活动的作业。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation cron.launch_active_jobs

cron.log_min_messages

Attribute 价值
类别 自定义选项
Description 启动器 bgworker 的 log_min_messages。
数据类型 枚举
默认值 warning
允许的值 warning
参数类型 只读的
Documentation cron.log_min_messages

cron.log_run

Attribute 价值
类别 自定义选项
Description 将所有作业运行记录到 job_run_details 表中。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_run

cron.log_statement

Attribute 价值
类别 自定义选项
Description 在执行之前记录所有 cron 语句。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_statement

cron.max_running_jobs

Attribute 价值
类别 自定义选项
Description 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 整数
默认值 32
允许的值 0-5000
参数类型 静态的
Documentation cron.max_running_jobs

cron.timezone

Attribute 价值
类别 自定义选项
Description 指定用于 cron 计划的时区。
数据类型 枚举
默认值 GMT
允许的值 GMT
参数类型 只读的
Documentation cron.timezone

cron.use_background_workers

Attribute 价值
类别 自定义选项
Description 使用后台工作者而不是客户端会话。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.use_background_workers

duckdb.max_memory

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存(例如 1GB)。
数据类型 整数
默认值 1024
允许的值 1024-688128
参数类型 静态的
Documentation duckdb.max_memory

duckdb.max_workers_per_postgres_scan

Attribute 价值
类别 自定义选项
Description 用于单个 Postgres 扫描的 PostgreSQL 辅助角色的最大数目。
数据类型 整数
默认值 2
允许的值 0-1024
参数类型 静态的
Documentation duckdb.max_workers_per_postgres_scan

duckdb.memory_limit(内存限制)

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存 (例如 1GB),其别名为 duckdb.max_memory
数据类型 整数
默认值 1024
允许的值 1024-688128
参数类型 静态的
Documentation duckdb.memory_limit

duckdb.threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.threads

duckdb.worker_threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数,duckdb.threads 的别名。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.worker_threads

enable_group_by_reordering

Attribute 价值
类别 自定义选项
Description 启用 GROUP BY 键的重新排序。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation enable_group_by_reordering

huge_pages_status

Attribute 价值
类别 自定义选项
Description 指示巨页的状态。
数据类型 枚举
默认值 on
允许的值 on
参数类型 只读的
Documentation huge_pages_status

index_tuning.analysis_interval

Attribute 价值
类别 自定义选项
Description 将 index_tuning.mode 设置为“REPORT”时触发每个索引优化会话的频率。
数据类型 整数
默认值 720
允许的值 60-10080
参数类型 dynamic
Documentation index_tuning.analysis_interval

index_tuning.max_columns_per_index

Attribute 价值
类别 自定义选项
Description 任何建议索引的索引键中可以包含的最大列数。
数据类型 整数
默认值 2
允许的值 1-10
参数类型 dynamic
Documentation index_tuning.max_columns_per_index

索引调优.最大索引计数 (index_tuning.max_index_count)

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间可以为每个数据库推荐的最大索引数。
数据类型 整数
默认值 10
允许的值 1-25
参数类型 dynamic
Documentation index_tuning.max_index_count

index_tuning.max_indexes_per_table

Attribute 价值
类别 自定义选项
Description 每个表可推荐的最大索引数。
数据类型 整数
默认值 10
允许的值 1-25
参数类型 dynamic
Documentation index_tuning.max_indexes_per_table

index_tuning.max_queries_per_database

Attribute 价值
类别 自定义选项
Description 可向其推荐索引的每个数据库的最慢查询数。
数据类型 整数
默认值 25
允许的值 5-100
参数类型 dynamic
Documentation index_tuning.max_queries_per_database

index_tuning.max_regression_factor

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间所分析的任何查询上,由推荐的索引所引入的可接受回归。
数据类型 数字
默认值 0.1
允许的值 0.05-0.2
参数类型 dynamic
Documentation index_tuning.max_regression_factor

index_tuning.max_total_size_factor

Attribute 价值
类别 自定义选项
Description 任何给定数据库的所有建议索引所能使用的最大总空间占总磁盘空间的百分比。
数据类型 数字
默认值 0.1
允许的值 0-1.0
参数类型 dynamic
Documentation index_tuning.max_total_size_factor

index_tuning.min_improvement_factor

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间,建议的索引必须向至少一个所分析查询提供的成本改善幅度。
数据类型 数字
默认值 0.2
允许的值 0-20.0
参数类型 dynamic
Documentation index_tuning.min_improvement_factor

index_tuning.mode

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

index_tuning.unused_dml_per_table

Attribute 价值
类别 自定义选项
Description 影响表的每日平均 DML 操作的最小数量,超过此值时将考虑删除其未使用的索引。
数据类型 整数
默认值 1000
允许的值 0-9999999
参数类型 dynamic
Documentation index_tuning.unused_dml_per_table

index_tuning.unused_min_period

Attribute 价值
类别 自定义选项
Description 根据系统统计信息,未使用索引的最小天数,超过此值时将考虑删除索引。
数据类型 整数
默认值 35
允许的值 30-720
参数类型 dynamic
Documentation index_tuning.unused_min_period

index_tuning.unused_reads_per_table

Attribute 价值
类别 自定义选项
Description 影响表的每日平均读取操作的最小数量,超过此值时将考虑删除其未使用的索引。
数据类型 整数
默认值 1000
允许的值 0-9999999
参数类型 dynamic
Documentation index_tuning.unused_reads_per_table

io_combine_limit

Attribute 价值
类别 自定义选项
Description 对数据读取和写入大小的限制。
数据类型 整数
默认值 16
允许的值 16
参数类型 只读的
Documentation io_combine_limit

logfiles.download_enable

Attribute 价值
类别 自定义选项
Description 启用或禁用服务器日志功能。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation logfiles.download_enable

logfiles.retention_days(日志文件保留天数)

Attribute 价值
类别 自定义选项
Description 设置服务器日志的保留期时间段(以天为单位)- 数据将在此时间之后被删除。
数据类型 整数
默认值 3
允许的值 1-7
参数类型 dynamic
Documentation 日志文件.保留天数

max_notify_queue_pages

Attribute 价值
类别 自定义选项
Description 设置为 NOTIFY / LISTEN 队列分配的最大页数。
数据类型 整数
默认值 1048576
允许的值 1048576
参数类型 只读的
Documentation max_notify_queue_pages

pgaadauth.enable_group_sync

Attribute 价值
类别 自定义选项
Description 启用对 Entra ID 组成员的同步。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

pgaudit.log

Attribute 价值
类别 自定义选项
Description 指定会话审核日志将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 dynamic
Documentation pgaudit.log

pgaudit.log_catalog

Attribute 价值
类别 自定义选项
Description 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_catalog

pgaudit.log_client

Attribute 价值
类别 自定义选项
Description 指定审核消息是否应对客户端可见。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_client

pgaudit.log_level

Attribute 价值
类别 自定义选项
Description 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 dynamic
Documentation pgaudit.log_level

pgaudit.log_parameter

Attribute 价值
类别 自定义选项
Description 指定审核日志应包含随语句一起传递的参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_parameter

pgaudit.log_parameter_max_size

Attribute 价值
类别 自定义选项
Description 指定要记录的可变长度参数的最大长度(以字节为单位)。 如果为 0(默认值),则不会检查参数的大小。 如果设置,当参数的大小超过设置时,审核日志中的值将替换为占位符。 请注意,对于字符类型,参数编码的长度为字节,而不是字符。
数据类型 整数
默认值 0
允许的值 0-1073741823
参数类型 dynamic
Documentation pgaudit.log_parameter_max_size

pgaudit.log_relation

Attribute 价值
类别 自定义选项
Description 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_relation

pgaudit.log_rows

Attribute 价值
类别 自定义选项
Description 指定日志记录是否会包含由某条语句检索到或影响到的行。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pgaudit.log_rows

pgaudit.log_statement

Attribute 价值
类别 自定义选项
Description 指定日志记录是否包括语句文本和参数。 根据要求,审核日志中可能不需要完整语句文本。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement

pgaudit.log_statement_once

Attribute 价值
类别 自定义选项
Description 指定在日志记录中,语句文本和参数是仅在语句/子语句组合的第一个日志条目中包含,还是在每个条目中都包含。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement_once

pgaudit.role

Attribute 价值
类别 自定义选项
Description 指定要用于对象审核日志的主角色。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pgaudit.role

pg_hint_plan.debug_print

Attribute 价值
类别 自定义选项
Description 记录提示分析的结果。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.debug_print

pg_hint_plan.enable_hint

Attribute 价值
类别 自定义选项
Description 强制规划器使用查询前面的提示注释中指定的计划。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_hint_plan.enable_hint

pg_hint_plan.enable_hint_table

Attribute 价值
类别 自定义选项
Description 让 pg_hint_plan 去查找提示表。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.enable_hint_table

pg_hint_plan.message_level

Attribute 价值
类别 自定义选项
Description 调试消息的消息级别。
数据类型 枚举
默认值 log
允许的值 log
参数类型 只读的
Documentation pg_hint_plan.message_level

pg_hint_plan.parse_messages

Attribute 价值
类别 自定义选项
Description 解析错误的信息级别。
数据类型 枚举
默认值 info
允许的值 info
参数类型 只读的
Documentation pg_hint_plan.parse_messages

pglogical.batch_inserts

Attribute 价值
类别 自定义选项
Description 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pglogical.batch_inserts

pglogical.conflict_log_level

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

pglogical.conflict_resolution (冲突解决)

Attribute 价值
类别 自定义选项
Description 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 dynamic
Documentation pglogical.conflict_resolution

pglogical.extra_connection_options

Attribute 价值
类别 自定义选项
Description 添加到所有对等节点连接的连接选项。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.extra_connection_options

pglogical.synchronous_commit

Attribute 价值
类别 自定义选项
Description pglogical 特定的同步提交值。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pglogical.synchronous_commit

pglogical.temp_directory

Attribute 价值
类别 自定义选项
Description 用于存储本地还原用的备份文件的目录。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.temp_directory

pglogical.use_spi

Attribute 价值
类别 自定义选项
Description 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pglogical.use_spi

pgms_stats.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation

pgms_wait_sampling.history_period

Attribute 价值
类别 自定义选项
Description 设置等待事件采样的频率(以毫秒为单位)。
数据类型 整数
默认值 100
允许的值 1-600000
参数类型 dynamic
Documentation pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为“关闭”,则会禁用等待采样,即使为 pgms_wait_sampling.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

Attribute 价值
类别 自定义选项
Description 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 dynamic
Documentation pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.analyze

pg_partman_bgw.dbname

Attribute 价值
类别 自定义选项
Description 必填。 用于运行 run_maintenance() 的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 字符串
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 dynamic
Documentation pg_partman_bgw.dbname

pg_partman_bgw.interval

Attribute 价值
类别 自定义选项
Description 调用 run_maintenance() 的间隔秒数。
数据类型 整数
默认值 3600
允许的值 1-315360000
参数类型 dynamic
Documentation pg_partman_bgw.interval

pg_partman_bgw.jobmon

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.jobmon

pg_partman_bgw.maintenance_wait

Attribute 价值
类别 自定义选项
Description 运行维护操作时,每个分区集之间的等待时间(以秒为单位)。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation pg_partman_bgw.maintenance_wait

pg_partman_bgw.role

Attribute 价值
类别 自定义选项
Description 用于运行 run_maintenance() 的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pg_partman_bgw.role

pg_prewarm.autoprewarm

Attribute 价值
类别 自定义选项
Description 启动自动预热工作线程。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_prewarm.autoprewarm

pg_prewarm.autoprewarm_interval

Attribute 价值
类别 自定义选项
Description 设置共享缓冲区转储之间的间隔。 如果设置为 0,则禁用基于时间的转储。
数据类型 整数
默认值 300
允许的值 300
参数类型 只读的
Documentation pg_prewarm.autoprewarm_interval

pg_qs.interval_length_minutes

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 整数
默认值 15
允许的值 1-30
参数类型 静态的
Documentation pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为关闭,将禁用查询存储,即使为 pg_qs.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_qs.is_enabled_fs

pg_qs.max_plan_size

Attribute 价值
类别 自定义选项
Description 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 整数
默认值 7500
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_plan_size

pg_qs.max_query_text_length

Attribute 价值
类别 自定义选项
Description 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 整数
默认值 6000
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_query_text_length

pg_qs.parameters_capture_mode

Attribute 价值
类别 自定义选项
Description 是否以及何时捕获查询位置参数。
数据类型 枚举
默认值 capture_parameterless_only
允许的值 capture_parameterless_only,capture_first_sample
参数类型 dynamic
Documentation pg_qs.parameters_capture_mode

pg_qs.query_capture_mode

Attribute 价值
类别 自定义选项
Description 设置查询存储库的查询捕获模式。 “无”表示禁用所有捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_qs.query_capture_mode

pg_qs.retention_period_in_days

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 整数
默认值 7
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.保留周期(天)

pg_qs.store_query_plans

Attribute 价值
类别 自定义选项
Description 为 pg_qs 启用或禁用查询计划
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.store_query_plans

pg_qs.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_qs 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.track_utility

pg_stat_statements.max

Attribute 价值
类别 自定义选项
Description 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 整数
默认值 5000
允许的值 100-2147483647
参数类型 静态的
Documentation pg_stat_statements.max

pg_stat_statements.save

Attribute 价值
类别 自定义选项
Description 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.save

pg_stat_statements.track

Attribute 价值
类别 自定义选项
Description 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_stat_statements.track

pg_stat_statements.track_planning

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪计划持续时间。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_planning

pg_stat_statements.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

Attribute 价值
类别 自定义选项
Description 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 dynamic
Documentation postgis.gdal_enabled_drivers

squeeze.max_xlock_time

Attribute 价值
类别 自定义选项
Description 已处理表可以被独占锁定的最长时间。 源表在处理的最后阶段以独占方式锁定。 如果锁定时间应超过此值,则会释放锁,最后阶段将重试几次。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation squeeze.max_xlock_time

squeeze.worker_autostart

Attribute 价值
类别 自定义选项
Description 后台工作线程自动启动的数据库的名称。 群集启动完成后立即开始压缩工作线程的数据库的逗号分隔列表。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_autostart

squeeze.worker_role

Attribute 价值
类别 自定义选项
Description 后台工作者连接数据库时使用的角色。 如果在群集启动时自动启动后台工作进程,它将使用此角色来启动数据库连接。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_role

squeeze.workers_per_database

Attribute 价值
类别 自定义选项
Description 为每个数据库启动的最大压缩工作线程数。
数据类型 整数
默认值 1
允许的值 1
参数类型 只读的
Documentation squeeze.workers_per_database

summarize_wal

Attribute 价值
类别 自定义选项
Description 启动 WAL 摘要生成器过程以启用增量备份。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation summarize_wal

synchronized_standby_slots

Attribute 价值
类别 自定义选项
Description 列出逻辑 WAL 发送方进程将等待的流式复制备用服务器复制槽名称。 只有在指定的复制槽已确认接收 WAL 后,逻辑 WAL 发送方进程才会将解码的更改发送到输出插件。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation synchronized_standby_slots

sync_replication_slots

Attribute 价值
类别 自定义选项
Description 启用物理备用服务器以从主服务器同步逻辑故障转移槽。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation sync_replication_slots

timescaledb.bgw_launcher_poll_time

Attribute 价值
类别 自定义选项
Description 启动器超时值(以毫秒为单位)。 配置启动器等待查找新的 TimescaleDB 实例的时间。
数据类型 整数
默认值 60000
允许的值 60000
参数类型 只读的
Documentation timescaledb.bgw_launcher_poll_time

timescaledb.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb.disable_load

timescaledb.max_background_workers

Attribute 价值
类别 自定义选项
Description 分配给 TimescaleDB 的最大后台工作线程数。 分配给 TimescaleDB 的最大后台工作线程 - 设置为至少 1 + Postgres 实例中的数据库数量,以使用后台工作线程。
数据类型 整数
默认值 16
允许的值 16
参数类型 只读的
Documentation timescaledb.max_background_workers

timescaledb_osm.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb_osm.disable_load

trace_connection_negotiation

Attribute 价值
类别 自定义选项
Description 记录预身份验证连接握手的详细信息。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation trace_connection_negotiation

wal_summary_keep_time

Attribute 价值
类别 自定义选项
Description 应保留 WAL 摘要文件的时间。
数据类型 整数
默认值 14400
允许的值 14400
参数类型 只读的
Documentation wal_summary_keep_time

age.enable_containment

Attribute 价值
类别 自定义选项
Description 使用 @> 运算符转换 MATCH 的筛选器。 否则,请使用 -> 运算符。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation age.enable_containment

anon.algorithm

Attribute 价值
类别 自定义选项
Description 用于假名化函数的哈希方法。
数据类型 字符串
默认值 sha256
允许的值 sha256
参数类型 只读的
Documentation anon.algorithm

anon.k_anonymity_provider

Attribute 价值
类别 自定义选项
Description 用于 k 匿名的安全标签提供程序。
数据类型 字符串
默认值 k_anonymity
允许的值 k_anonymity
参数类型 只读的
Documentation anon.k_anonymity_provider

anon.masking_policies

Attribute 价值
类别 自定义选项
Description 定义多个掩码策略(尚未实现)。
数据类型 字符串
默认值 anon
允许的值 anon
参数类型 只读的
Documentation anon.masking_policies

anon.maskschema

Attribute 价值
类别 自定义选项
Description 存储动态掩码视图的架构。
数据类型 字符串
默认值 mask
允许的值 mask
参数类型 只读的
Documentation anon.maskschema

anon.privacy_by_default

Attribute 价值
类别 自定义选项
Description 使用 NULL(或 NOT NULL 列的默认值)屏蔽所有列。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.privacy_by_default

anon.restrict_to_trusted_schemas

Attribute 价值
类别 自定义选项
Description 屏蔽筛选器必须位于受信任架构中。 激活此选项可防止非超级用户使用其自己的屏蔽筛选器。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.restrict_to_trusted_schemas

anon.salt

Attribute 价值
类别 自定义选项
Description 用于假名化函数的盐值。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation anon.salt

anon.sourceschema

Attribute 价值
类别 自定义选项
Description 动态掩码引擎屏蔽表时采用的架构。
数据类型 字符串
默认值 public
允许的值 public
参数类型 只读的
Documentation anon.sourceschema

anon.strict_mode

Attribute 价值
类别 自定义选项
Description 掩码规则无法更改列数据类型,除非禁用它。 不建议禁用此模式。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.strict_mode

anon.transparent_dynamic_masking

Attribute 价值
类别 自定义选项
Description 新的掩码引擎(实验性)。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.transparent_dynamic_masking

auto_explain.log_analyze

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN ANALYZE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_analyze

auto_explain.log_buffers

Attribute 价值
类别 自定义选项
Description 记录缓冲区使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_buffers

auto_explain.log_format

Attribute 价值
类别 自定义选项
Description 用于记录计划的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 dynamic
Documentation auto_explain.log_format

auto_explain.log_level

Attribute 价值
类别 自定义选项
Description 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 dynamic
Documentation auto_explain.log_level

auto_explain.log_min_duration

Attribute 价值
类别 自定义选项
Description 设置记录计划的最低执行时间阈值,只有超过此执行时间的计划才会被记录。 零表示输出所有计划。 -1 关闭此功能。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_min_duration

auto_explain.log_nested_statements

Attribute 价值
类别 自定义选项
Description 记录嵌套语句。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_nested_statements

auto_explain.log_parameter_max_length

Attribute 价值
类别 自定义选项
Description 设置要记录的查询参数的最大长度。 零日志没有查询参数,-1 完整记录这些参数。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_parameter_max_length

auto_explain.log_settings

Attribute 价值
类别 自定义选项
Description 记录影响查询计划的已修改配置参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_settings

auto_explain.log_timing

Attribute 价值
类别 自定义选项
Description 收集计时数据,而不仅仅是行计数。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_timing

auto_explain.log_triggers

Attribute 价值
类别 自定义选项
Description 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_triggers

auto_explain.log_verbose

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN VERBOSE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_verbose

auto_explain.log_wal

Attribute 价值
类别 自定义选项
Description 记录 WAL 使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_wal

auto_explain.sample_rate

Attribute 价值
类别 自定义选项
Description 要处理的查询的占比。
数据类型 数字
默认值 1.0
允许的值 0.0-1.0
参数类型 dynamic
Documentation auto_explain.sample_rate

azure.接受的密码认证方法

Attribute 价值
类别 自定义选项
Description 接受的密码身份验证方法。
数据类型 set
默认值 md5,scram-sha-256
允许的值 md5,scram-sha-256
参数类型 dynamic
Documentation azure.accepted_password_auth_method

azure_cdc.change_batch_buffer_size(更改批处理缓冲区大小)

Attribute 价值
类别 自定义选项
Description 用于更改批处理的缓冲区大小(以 MB 为单位)。 这些缓冲区用于在将 CDC 更改写入磁盘之前临时存储这些更改。
数据类型 整数
默认值 16
允许的值 1-100
参数类型 dynamic
Documentation

azure_cdc.change_batch_export_timeout

Attribute 价值
类别 自定义选项
Description 在一批更改准备好进行导出之前,可等待的最长的时间(以秒为单位)。
数据类型 整数
默认值 30
允许的值 10-60
参数类型 dynamic
Documentation

azure_cdc.max_fabric_mirrors

Attribute 价值
类别 自定义选项
Description 可以同时运行的并行构造镜像的最大数目。
数据类型 整数
默认值 3
允许的值 1-6
参数类型 静态的
Documentation

azure_cdc.max_snapshot_workers

Attribute 价值
类别 自定义选项
Description 为快照导出而启动的最工作线程数量上限。 每个工作线程一次会导出一个表。
数据类型 整数
默认值 3
允许的值 0-100
参数类型 dynamic
Documentation

azure_cdc.onelake_buffer_size

Attribute 价值
类别 自定义选项
Description 要上传到 Onelake 的缓冲区大小(以兆字节为单位)。 Onelake 以区块的形式上传文件,并将数据缓冲到内存中,直至达到此限制。
数据类型 整数
默认值 100
允许的值 1-1024
参数类型 dynamic
Documentation

azure_cdc.parquet_compression

Attribute 价值
类别 自定义选项
Description 用于 parquet 文件的压缩算法。 确定用于 parquet 文件的压缩算法。 支持的值为“未压缩”、“snappy”、“gzip”和“zstd”。
数据类型 枚举
默认值 zstd
允许的值 uncompressed,snappy,gzip,zstd
参数类型 dynamic
Documentation

azure_cdc.snapshot_buffer_size

Attribute 价值
类别 自定义选项
Description 初始快照缓冲区的最大大小(以 MB 为单位)。 每个表,在发送到 Fabric 之前会缓冲这么多数据。 请记住,azure_cdc.snapshot_buffer_size*azure_cdc.max_snapshot_workers 是初始快照期间使用的总内存缓冲区。
数据类型 整数
默认值 1000
允许的值 10-4000
参数类型 dynamic
Documentation

azure_cdc.snapshot_export_timeout

Attribute 价值
类别 自定义选项
Description 在导出数据库快照时,若出现错误,则允许等待的最长时间(以分钟为单位)。
数据类型 整数
默认值 180
允许的值 0-1440
参数类型 dynamic
Documentation

azure.enable_temp_tablespaces_on_local_ssd

Attribute 价值
类别 自定义选项
Description 在临时磁盘上创建临时表空间。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation

azure.extensions

Attribute 价值
类别 自定义选项
Description 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,age,amcheck,anon,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hll,hstore,hypopg,intagg,intarray,isn,lo,login_hook,ltree,oracle_fdw,orafce,pageinspect,pg_buffercache,pg_cron,pg_diskann,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,tdigest,tds_fdw,timescaledb,topn,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 dynamic
Documentation azure.extensions

azure.fabric_mirror_enabled

Attribute 价值
类别 自定义选项
Description 指定指示服务器上是否启用镜像的标志。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

azure.migration_copy_with_binary

Attribute 价值
类别 自定义选项
Description 设置为 on 时,此参数将允许在迁移过程中使用二进制格式来复制数据。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_copy_with_binary

azure.migration_skip_analyze

Attribute 价值
类别 自定义选项
Description 设置为“启用”时,此参数将在迁移过程中跳过分析阶段(vacuumdb --analyze-only)。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_analyze

azure.migration_skip_extensions

Attribute 价值
类别 自定义选项
Description 设置为“开启”时,此参数将跳过扩展的迁移。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_extensions

azure.migration_skip_large_objects

Attribute 价值
类别 自定义选项
Description 设置为 on 时,此参数将跳过大型对象(如 BLOB)的迁移。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_large_objects

azure.migration_skip_role_user

Attribute 价值
类别 自定义选项
Description 设置为“启用”时,此参数将从迁移过程中排除用户角色。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation azure.migration_skip_role_user

azure.migration_table_split_size

Attribute 价值
类别 自定义选项
Description 设置时,此参数指定在迁移期间将分区表的大小。
数据类型 整数
默认值 20480
允许的值 1-204800
参数类型 dynamic
Documentation azure.migration_table_split_size

azure.service_principal_id

Attribute 价值
类别 自定义选项
Description Azure 中服务主体的唯一标识符,用于授予租户中资源的权限和访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.service_principal_tenant_id

Attribute 价值
类别 自定义选项
Description 用于创建服务主体的租户的唯一标识符,确保该服务主体在该租户中具有必要的权限和资源访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.single_to_flex_migration

Attribute 价值
类别 自定义选项
Description 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation

azure_storage.allow_network_access

Attribute 价值
类别 自定义选项
Description 允许从 azure_storage 扩展访问 Azure 存储 BLOB 服务。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.allow_network_access

azure_storage.blob_block_size_mb

Attribute 价值
类别 自定义选项
Description PUT blob 操作的 blob 块大小(以兆字节为单位)。
数据类型 整数
默认值 取决于分配给服务器的资源(vCore、RAM 或磁盘空间)。
允许的值 1024
参数类型 只读的
Documentation azure_storage.blob_block_size_mb

特定于 Azure 的注释

预配 Azure Database for PostgreSQL 灵活服务器的实例时,会根据为其计算选择的产品名称计算 azure_storage.blob_block_size_mb 参数的默认值。 如果对支持该灵活服务器的计算进行任何后续产品选择更改,该实例的 azure_storage.blob_block_size_mb 服务器参数的默认值不受任何影响。

截止目前,如果你更改分配给实例的产品,则无法调整 azure_storage.blob_block_size_mb 参数的值,因为该参数已声明为只读。

用于计算 azure_storage.blob_block_size_mb 值的公式是 MIN(3072, MAX(128, memoryGiB * 32))

根据上一个公式,下表列出了此服务器参数将设置为的值,具体取决于预配的内存量:

内存大小 azure_storage.blob_block_size_mb
2 GiB 128 MiB
4 GiB 128 MiB
8 GiB 256 MiB
16 GiB 512 MiB
32 GiB 1024 MiB
48 GiB 1536 MiB
64 GiB 2048 MiB
80 GiB 2560 MiB
128 GiB 3072 MiB
160 GiB 3072 MiB
192 GiB 3072 MiB
256 GiB 3072 MiB
384 GiB 3072 MiB
432 GiB 3072 MiB
672 GiB 3072 MiB

azure_storage.log_level

Attribute 价值
类别 自定义选项
Description azure_storage 扩展使用的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,log,info,notice,warning,error
参数类型 dynamic
Documentation azure_storage.log_level

Azure存储.公共账户访问 (azure_storage.public_account_access)

Attribute 价值
类别 自定义选项
Description 允许所有用户访问没有凭据的存储帐户中的数据,存储帐户访问权限配置为公共。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.public_account_access

connection_throttle.bucket_limit

Attribute 价值
类别 自定义选项
Description 每个 Bucket 的最大登录令牌数。
数据类型 整数
默认值 2000
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.enable

Attribute 价值
类别 自定义选项
Description 启用基于 IP 的临时连接限制,以应对过多的登录失败。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

connection_throttle.factor_bias

Attribute 价值
类别 自定义选项
Description 用于计算 IP Bucket 的令牌数的因子偏差。
数据类型 数字
默认值 0.8
允许的值 0.0-0.9
参数类型 dynamic
Documentation

connection_throttle.hash_entries_max

Attribute 价值
类别 自定义选项
Description 登录失败哈希表中的最大条目数。
数据类型 整数
默认值 500
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.reset_time

Attribute 价值
类别 自定义选项
Description 重置登录 Bucket 的间隔时间。
数据类型 整数
默认值 120
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.restore_factor

Attribute 价值
类别 自定义选项
Description 对失败率较低的 IP 增加令牌数时所使用的因子。
数据类型 数字
默认值 2
允许的值 1.0-100.0
参数类型 dynamic
Documentation

connection_throttle.update_time

Attribute 价值
类别 自定义选项
Description 更新登录 Bucket 的间隔时间。
数据类型 整数
默认值 20
允许的值 1-2147483647
参数类型 dynamic
Documentation

cron.数据库名称

Attribute 价值
类别 自定义选项
Description 设置在其中保留 pg_cron 元数据的数据库。
数据类型 字符串
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 静态的
Documentation cron.database_name

cron.enable_superuser_jobs

Attribute 价值
类别 自定义选项
Description 允许以超级用户身份安排作业。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.enable_superuser_jobs

cron.host

Attribute 价值
类别 自定义选项
Description 要连接到 PostgreSQL 数据库的主机名。 使用后台辅助角色时,此设置不起作用。
数据类型 字符串
默认值 /tmp
允许的值 /tmp
参数类型 只读的
Documentation cron.host

cron.launch_active_jobs

Attribute 价值
类别 自定义选项
Description 启动被定义为活动的作业。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation cron.launch_active_jobs

cron.log_min_messages

Attribute 价值
类别 自定义选项
Description 启动器 bgworker 的 log_min_messages。
数据类型 枚举
默认值 warning
允许的值 warning
参数类型 只读的
Documentation cron.log_min_messages

cron.log_run

Attribute 价值
类别 自定义选项
Description 将所有作业运行记录到 job_run_details 表中。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_run

cron.log_statement

Attribute 价值
类别 自定义选项
Description 在执行之前记录所有 cron 语句。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_statement

cron.max_running_jobs

Attribute 价值
类别 自定义选项
Description 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 整数
默认值 32
允许的值 0-5000
参数类型 静态的
Documentation cron.max_running_jobs

cron.timezone

Attribute 价值
类别 自定义选项
Description 指定用于 cron 计划的时区。
数据类型 枚举
默认值 GMT
允许的值 GMT
参数类型 只读的
Documentation cron.timezone

cron.use_background_workers

Attribute 价值
类别 自定义选项
Description 使用后台工作者而不是客户端会话。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.use_background_workers

duckdb.allow_community_extensions

Attribute 价值
类别 自定义选项
Description 禁用安装社区扩展。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.allow_community_extensions

duckdb.allow_unsigned_extensions

Attribute 价值
类别 自定义选项
Description 允许 DuckDB 加载签名无效或缺失的扩展。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.allow_unsigned_extensions

duckdb.autoinstall_known_extensions

Attribute 价值
类别 自定义选项
Description 当 DuckDB 查询依赖于已知扩展时,是否允许自动安装这些已知扩展。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.autoinstall_known_extensions

duckdb.autoload_known_extensions

Attribute 价值
类别 自定义选项
Description 当 DuckDB 查询依赖于已知扩展时,是否允许自动加载这些已知扩展。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.autoload_known_extensions

duckdb.disabled_filesystems

Attribute 价值
类别 自定义选项
Description 禁用会阻止访问的特定文件系统(例如 LocalFileSystem)。
数据类型 字符串
默认值 LocalFileSystem, S3FileSystem
允许的值 LocalFileSystem, S3FileSystem
参数类型 只读的
Documentation duckdb.disabled_filesystems

duckdb.enable_external_access

Attribute 价值
类别 自定义选项
Description 允许 DuckDB 访问外部状态。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.enable_external_access

duckdb.force_execution

Attribute 价值
类别 自定义选项
Description 强制查询使用 DuckDB 执行。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.force_execution

duckdb.max_memory

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存(例如 1GB)。
数据类型 整数
默认值 1024
允许的值 1024-688128
参数类型 静态的
Documentation duckdb.max_memory

duckdb.max_workers_per_postgres_scan

Attribute 价值
类别 自定义选项
Description 用于单个 Postgres 扫描的 PostgreSQL 辅助角色的最大数目。
数据类型 整数
默认值 2
允许的值 0-1024
参数类型 静态的
Documentation duckdb.max_workers_per_postgres_scan

duckdb.memory_limit(内存限制)

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存 (例如 1GB),其别名为 duckdb.max_memory
数据类型 整数
默认值 1024
允许的值 1024-688128
参数类型 静态的
Documentation duckdb.memory_limit

duckdb.postgres_role

Attribute 价值
类别 自定义选项
Description 应允许哪个 postgres 角色使用 DuckDB 执行、使用机密和创建 MotherDuck 表。 默认设置为仅超级用户。
数据类型 字符串
默认值 azure_pg_duckdb_admin
允许的值 azure_pg_duckdb_admin
参数类型 只读的
Documentation duckdb.postgres_role

duckdb.threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.threads

duckdb.worker_threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数,duckdb.threads 的别名。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.worker_threads

index_tuning.analysis_interval

Attribute 价值
类别 自定义选项
Description 将 index_tuning.mode 设置为“REPORT”时触发每个索引优化会话的频率。
数据类型 整数
默认值 720
允许的值 60-10080
参数类型 dynamic
Documentation index_tuning.analysis_interval

index_tuning.max_columns_per_index

Attribute 价值
类别 自定义选项
Description 任何建议索引的索引键中可以包含的最大列数。
数据类型 整数
默认值 2
允许的值 1-10
参数类型 dynamic
Documentation index_tuning.max_columns_per_index

索引调优.最大索引计数 (index_tuning.max_index_count)

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间可以为每个数据库推荐的最大索引数。
数据类型 整数
默认值 10
允许的值 1-25
参数类型 dynamic
Documentation index_tuning.max_index_count

index_tuning.max_indexes_per_table

Attribute 价值
类别 自定义选项
Description 每个表可推荐的最大索引数。
数据类型 整数
默认值 10
允许的值 1-25
参数类型 dynamic
Documentation index_tuning.max_indexes_per_table

index_tuning.max_queries_per_database

Attribute 价值
类别 自定义选项
Description 可向其推荐索引的每个数据库的最慢查询数。
数据类型 整数
默认值 25
允许的值 5-100
参数类型 dynamic
Documentation index_tuning.max_queries_per_database

index_tuning.max_regression_factor

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间所分析的任何查询上,由推荐的索引所引入的可接受回归。
数据类型 数字
默认值 0.1
允许的值 0.05-0.2
参数类型 dynamic
Documentation index_tuning.max_regression_factor

index_tuning.max_total_size_factor

Attribute 价值
类别 自定义选项
Description 任何给定数据库的所有建议索引所能使用的最大总空间占总磁盘空间的百分比。
数据类型 数字
默认值 0.1
允许的值 0-1.0
参数类型 dynamic
Documentation index_tuning.max_total_size_factor

index_tuning.min_improvement_factor

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间,建议的索引必须向至少一个所分析查询提供的成本改善幅度。
数据类型 数字
默认值 0.2
允许的值 0-20.0
参数类型 dynamic
Documentation index_tuning.min_improvement_factor

index_tuning.mode

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

index_tuning.unused_dml_per_table

Attribute 价值
类别 自定义选项
Description 影响表的每日平均 DML 操作的最小数量,超过此值时将考虑删除其未使用的索引。
数据类型 整数
默认值 1000
允许的值 0-9999999
参数类型 dynamic
Documentation index_tuning.unused_dml_per_table

index_tuning.unused_min_period

Attribute 价值
类别 自定义选项
Description 根据系统统计信息,未使用索引的最小天数,超过此值时将考虑删除索引。
数据类型 整数
默认值 35
允许的值 30-720
参数类型 dynamic
Documentation index_tuning.unused_min_period

index_tuning.unused_reads_per_table

Attribute 价值
类别 自定义选项
Description 影响表的每日平均读取操作的最小数量,超过此值时将考虑删除其未使用的索引。
数据类型 整数
默认值 1000
允许的值 0-9999999
参数类型 dynamic
Documentation index_tuning.unused_reads_per_table

logfiles.download_enable

Attribute 价值
类别 自定义选项
Description 启用或禁用服务器日志功能。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation logfiles.download_enable

logfiles.retention_days(日志文件保留天数)

Attribute 价值
类别 自定义选项
Description 设置服务器日志的保留期时间段(以天为单位)- 数据将在此时间之后被删除。
数据类型 整数
默认值 3
允许的值 1-7
参数类型 dynamic
Documentation 日志文件.保留天数

pgaadauth.enable_group_sync

Attribute 价值
类别 自定义选项
Description 启用对 Entra ID 组成员的同步。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

pgaudit.log

Attribute 价值
类别 自定义选项
Description 指定会话审核日志将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 dynamic
Documentation pgaudit.log

pgaudit.log_catalog

Attribute 价值
类别 自定义选项
Description 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_catalog

pgaudit.log_client

Attribute 价值
类别 自定义选项
Description 指定审核消息是否应对客户端可见。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_client

pgaudit.log_level

Attribute 价值
类别 自定义选项
Description 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 dynamic
Documentation pgaudit.log_level

pgaudit.log_parameter

Attribute 价值
类别 自定义选项
Description 指定审核日志应包含随语句一起传递的参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_parameter

pgaudit.log_parameter_max_size

Attribute 价值
类别 自定义选项
Description 指定要记录的可变长度参数的最大长度(以字节为单位)。 如果为 0(默认值),则不会检查参数的大小。 如果设置,当参数的大小超过设置时,审核日志中的值将替换为占位符。 请注意,对于字符类型,参数编码的长度为字节,而不是字符。
数据类型 整数
默认值 0
允许的值 0-1073741823
参数类型 dynamic
Documentation pgaudit.log_parameter_max_size

pgaudit.log_relation

Attribute 价值
类别 自定义选项
Description 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_relation

pgaudit.log_rows

Attribute 价值
类别 自定义选项
Description 指定日志记录是否会包含由某条语句检索到或影响到的行。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pgaudit.log_rows

pgaudit.log_statement

Attribute 价值
类别 自定义选项
Description 指定日志记录是否包括语句文本和参数。 根据要求,审核日志中可能不需要完整语句文本。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement

pgaudit.log_statement_once

Attribute 价值
类别 自定义选项
Description 指定在日志记录中,语句文本和参数是仅在语句/子语句组合的第一个日志条目中包含,还是在每个条目中都包含。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement_once

pgaudit.role

Attribute 价值
类别 自定义选项
Description 指定要用于对象审核日志的主角色。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pgaudit.role

pg_failover_slots.drop_extra_slots

Attribute 价值
类别 自定义选项
Description 是否删除与 pg_failover_slots.synchronize_slot_names 不匹配的额外备用槽位。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_failover_slots.drop_extra_slots

pg_failover_slots.primary_dsn

Attribute 价值
类别 自定义选项
Description 用于在备用服务器上同步逻辑复制槽的主服务器连接串。 如果为空,则使用默认值primary_conninfo。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pg_failover_slots.primary_dsn

pg_failover_slots.standby_slot_names

Attribute 价值
类别 自定义选项
Description 在解码插件发送更改之前,必须确认的槽名称列表。 物理复制槽列表,在输出插件将某个 LSN 之前的提交复制到逻辑对等方之前,必须确认该 LSN 的持久化刷新。 在逻辑复制之前强制执行物理复制的顺序。
数据类型 字符串
默认值 azure_standby_, wal_replica_
允许的值 azure_standby_, wal_replica_
参数类型 只读的
Documentation pg_failover_slots.standby_slot_names

pg_failover_slots.standby_slots_min_confirmed

Attribute 价值
类别 自定义选项
Description pg_failover_slots.standby_slot_names 的槽位数量,这些槽位必须确认 LSN。 修改 pg_failover_slots.standby_slot_names 的行为,以便在至少有 pg_failover_slots.standby_slots_min_confirmed 个物理对等方确认该事务已成功持久刷新之后,能够对事务进行逻辑复制。 值 -1(默认值)表示 pg_failover_slots.standby_slot_names 中的所有条目必须确认写入。 当取值为 0 时,pg_failover_slots.standby_slots_min_confirmed 将被有效地忽略。
数据类型 整数
默认值 1
允许的值 1
参数类型 只读的
Documentation pg_failover_slots.standby_slots_min_confirmed

pg_failover_slots.synchronize_slot_names

Attribute 价值
类别 自定义选项
Description 要从主服务器同步到物理备用服务器的插槽列表。
数据类型 字符串
默认值 name_like:%%
允许的值 name_like:%%
参数类型 只读的
Documentation pg_failover_slots.synchronize_slot_names

pg_failover_slots.version

Attribute 价值
类别 自定义选项
Description pg_failover_slots模块版本。
数据类型 字符串
默认值 1.0.1
允许的值 1.0.1
参数类型 只读的
Documentation pg_failover_slots.version

pg_failover_slots.wait_for_inactive_slots

Attribute 价值
类别 自定义选项
Description 是否要等待主服务器上处于闲置状态的复制槽位来与备用服务器同步。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_failover_slots.wait_for_inactive_slots

pg_hint_plan.debug_print

Attribute 价值
类别 自定义选项
Description 记录提示分析的结果。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.debug_print

pg_hint_plan.enable_hint

Attribute 价值
类别 自定义选项
Description 强制规划器使用查询前面的提示注释中指定的计划。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_hint_plan.enable_hint

pg_hint_plan.enable_hint_table

Attribute 价值
类别 自定义选项
Description 让 pg_hint_plan 去查找提示表。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.enable_hint_table

pg_hint_plan.hints_anywhere

Attribute 价值
类别 自定义选项
Description 从查询中的任何位置读取提示。 此选项允许pg_hint_plan忽略语法,因此对误读应谨慎。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.hints_anywhere

pg_hint_plan.message_level

Attribute 价值
类别 自定义选项
Description 调试消息的消息级别。
数据类型 枚举
默认值 log
允许的值 log
参数类型 只读的
Documentation pg_hint_plan.message_level

pg_hint_plan.parse_messages

Attribute 价值
类别 自定义选项
Description 解析错误的信息级别。
数据类型 枚举
默认值 info
允许的值 info
参数类型 只读的
Documentation pg_hint_plan.parse_messages

pglogical.batch_inserts

Attribute 价值
类别 自定义选项
Description 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pglogical.batch_inserts

pglogical.conflict_log_level

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

pglogical.conflict_resolution (冲突解决)

Attribute 价值
类别 自定义选项
Description 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 dynamic
Documentation pglogical.conflict_resolution

pglogical.extra_connection_options

Attribute 价值
类别 自定义选项
Description 添加到所有对等节点连接的连接选项。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.extra_connection_options

pglogical.synchronous_commit

Attribute 价值
类别 自定义选项
Description pglogical 特定的同步提交值。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pglogical.synchronous_commit

pglogical.temp_directory

Attribute 价值
类别 自定义选项
Description 用于存储本地还原用的备份文件的目录。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.temp_directory

pglogical.use_spi

Attribute 价值
类别 自定义选项
Description 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pglogical.use_spi

pgms_stats.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation

pgms_wait_sampling.history_period

Attribute 价值
类别 自定义选项
Description 设置等待事件采样的频率(以毫秒为单位)。
数据类型 整数
默认值 100
允许的值 1-600000
参数类型 dynamic
Documentation pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为“关闭”,则会禁用等待采样,即使为 pgms_wait_sampling.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

Attribute 价值
类别 自定义选项
Description 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 dynamic
Documentation pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.analyze

pg_partman_bgw.dbname

Attribute 价值
类别 自定义选项
Description 必填。 用于运行 run_maintenance() 的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 字符串
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 dynamic
Documentation pg_partman_bgw.dbname

pg_partman_bgw.interval

Attribute 价值
类别 自定义选项
Description 调用 run_maintenance() 的间隔秒数。
数据类型 整数
默认值 3600
允许的值 1-315360000
参数类型 dynamic
Documentation pg_partman_bgw.interval

pg_partman_bgw.jobmon

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.jobmon

pg_partman_bgw.maintenance_wait

Attribute 价值
类别 自定义选项
Description 运行维护操作时,每个分区集之间的等待时间(以秒为单位)。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation pg_partman_bgw.maintenance_wait

pg_partman_bgw.role

Attribute 价值
类别 自定义选项
Description 用于运行 run_maintenance() 的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pg_partman_bgw.role

pg_prewarm.autoprewarm

Attribute 价值
类别 自定义选项
Description 启动自动预热工作线程。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_prewarm.autoprewarm

pg_prewarm.autoprewarm_interval

Attribute 价值
类别 自定义选项
Description 设置共享缓冲区转储之间的间隔。 如果设置为 0,则禁用基于时间的转储。
数据类型 整数
默认值 300
允许的值 300
参数类型 只读的
Documentation pg_prewarm.autoprewarm_interval

pg_qs.interval_length_minutes

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 整数
默认值 15
允许的值 1-30
参数类型 静态的
Documentation pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为关闭,将禁用查询存储,即使为 pg_qs.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_qs.is_enabled_fs

pg_qs.max_plan_size

Attribute 价值
类别 自定义选项
Description 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 整数
默认值 7500
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_plan_size

pg_qs.max_query_text_length

Attribute 价值
类别 自定义选项
Description 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 整数
默认值 6000
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_query_text_length

pg_qs.parameters_capture_mode

Attribute 价值
类别 自定义选项
Description 是否以及何时捕获查询位置参数。
数据类型 枚举
默认值 capture_parameterless_only
允许的值 capture_parameterless_only,capture_first_sample
参数类型 dynamic
Documentation pg_qs.parameters_capture_mode

pg_qs.query_capture_mode

Attribute 价值
类别 自定义选项
Description 设置查询存储库的查询捕获模式。 “无”表示禁用所有捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_qs.query_capture_mode

pg_qs.retention_period_in_days

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 整数
默认值 7
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.保留周期(天)

pg_qs.store_query_plans

Attribute 价值
类别 自定义选项
Description 为 pg_qs 启用或禁用查询计划
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.store_query_plans

pg_qs.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_qs 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.track_utility

pg_stat_statements.max

Attribute 价值
类别 自定义选项
Description 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 整数
默认值 5000
允许的值 100-2147483647
参数类型 静态的
Documentation pg_stat_statements.max

pg_stat_statements.save

Attribute 价值
类别 自定义选项
Description 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.save

pg_stat_statements.track

Attribute 价值
类别 自定义选项
Description 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_stat_statements.track

pg_stat_statements.track_planning

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪计划持续时间。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_planning

pg_stat_statements.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

Attribute 价值
类别 自定义选项
Description 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 dynamic
Documentation postgis.gdal_enabled_drivers

squeeze.max_xlock_time

Attribute 价值
类别 自定义选项
Description 已处理表可以被独占锁定的最长时间。 源表在处理的最后阶段以独占方式锁定。 如果锁定时间应超过此值,则会释放锁,最后阶段将重试几次。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation squeeze.max_xlock_time

squeeze.worker_autostart

Attribute 价值
类别 自定义选项
Description 后台工作线程自动启动的数据库的名称。 群集启动完成后立即开始压缩工作线程的数据库的逗号分隔列表。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_autostart

squeeze.worker_role

Attribute 价值
类别 自定义选项
Description 后台工作者连接数据库时使用的角色。 如果在群集启动时自动启动后台工作进程,它将使用此角色来启动数据库连接。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_role

squeeze.workers_per_database

Attribute 价值
类别 自定义选项
Description 为每个数据库启动的最大压缩工作线程数。
数据类型 整数
默认值 1
允许的值 1
参数类型 只读的
Documentation squeeze.workers_per_database

timescaledb.bgw_launcher_poll_time

Attribute 价值
类别 自定义选项
Description 启动器超时值(以毫秒为单位)。 配置启动器等待查找新的 TimescaleDB 实例的时间。
数据类型 整数
默认值 60000
允许的值 60000
参数类型 只读的
Documentation timescaledb.bgw_launcher_poll_time

timescaledb.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb.disable_load

timescaledb.max_background_workers

Attribute 价值
类别 自定义选项
Description 分配给 TimescaleDB 的最大后台工作线程数。 分配给 TimescaleDB 的最大后台工作线程 - 设置为至少 1 + Postgres 实例中的数据库数量,以使用后台工作线程。
数据类型 整数
默认值 16
允许的值 16
参数类型 只读的
Documentation timescaledb.max_background_workers

timescaledb_osm.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb_osm.disable_load

age.enable_containment

Attribute 价值
类别 自定义选项
Description 使用 @> 运算符转换 MATCH 的筛选器。 否则,请使用 -> 运算符。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation age.enable_containment

anon.algorithm

Attribute 价值
类别 自定义选项
Description 用于假名化函数的哈希方法。
数据类型 字符串
默认值 sha256
允许的值 sha256
参数类型 只读的
Documentation anon.algorithm

anon.k_anonymity_provider

Attribute 价值
类别 自定义选项
Description 用于 k 匿名的安全标签提供程序。
数据类型 字符串
默认值 k_anonymity
允许的值 k_anonymity
参数类型 只读的
Documentation anon.k_anonymity_provider

anon.masking_policies

Attribute 价值
类别 自定义选项
Description 定义多个掩码策略(尚未实现)。
数据类型 字符串
默认值 anon
允许的值 anon
参数类型 只读的
Documentation anon.masking_policies

anon.maskschema

Attribute 价值
类别 自定义选项
Description 存储动态掩码视图的架构。
数据类型 字符串
默认值 mask
允许的值 mask
参数类型 只读的
Documentation anon.maskschema

anon.privacy_by_default

Attribute 价值
类别 自定义选项
Description 使用 NULL(或 NOT NULL 列的默认值)屏蔽所有列。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.privacy_by_default

anon.restrict_to_trusted_schemas

Attribute 价值
类别 自定义选项
Description 屏蔽筛选器必须位于受信任架构中。 激活此选项可防止非超级用户使用其自己的屏蔽筛选器。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.restrict_to_trusted_schemas

anon.salt

Attribute 价值
类别 自定义选项
Description 用于假名化函数的盐值。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation anon.salt

anon.sourceschema

Attribute 价值
类别 自定义选项
Description 动态掩码引擎屏蔽表时采用的架构。
数据类型 字符串
默认值 public
允许的值 public
参数类型 只读的
Documentation anon.sourceschema

anon.strict_mode

Attribute 价值
类别 自定义选项
Description 掩码规则无法更改列数据类型,除非禁用它。 不建议禁用此模式。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.strict_mode

anon.transparent_dynamic_masking

Attribute 价值
类别 自定义选项
Description 新的掩码引擎(实验性)。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.transparent_dynamic_masking

auto_explain.log_analyze

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN ANALYZE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_analyze

auto_explain.log_buffers

Attribute 价值
类别 自定义选项
Description 记录缓冲区使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_buffers

auto_explain.log_format

Attribute 价值
类别 自定义选项
Description 用于记录计划的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 dynamic
Documentation auto_explain.log_format

auto_explain.log_level

Attribute 价值
类别 自定义选项
Description 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 dynamic
Documentation auto_explain.log_level

auto_explain.log_min_duration

Attribute 价值
类别 自定义选项
Description 设置记录计划的最低执行时间阈值,只有超过此执行时间的计划才会被记录。 零表示输出所有计划。 -1 关闭此功能。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_min_duration

auto_explain.log_nested_statements

Attribute 价值
类别 自定义选项
Description 记录嵌套语句。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_nested_statements

auto_explain.log_settings

Attribute 价值
类别 自定义选项
Description 记录影响查询计划的已修改配置参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_settings

auto_explain.log_timing

Attribute 价值
类别 自定义选项
Description 收集计时数据,而不仅仅是行计数。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_timing

auto_explain.log_triggers

Attribute 价值
类别 自定义选项
Description 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_triggers

auto_explain.log_verbose

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN VERBOSE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_verbose

auto_explain.log_wal

Attribute 价值
类别 自定义选项
Description 记录 WAL 使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_wal

auto_explain.sample_rate

Attribute 价值
类别 自定义选项
Description 要处理的查询的占比。
数据类型 数字
默认值 1.0
允许的值 0.0-1.0
参数类型 dynamic
Documentation auto_explain.sample_rate

azure.接受的密码认证方法

Attribute 价值
类别 自定义选项
Description 接受的密码身份验证方法。
数据类型 set
默认值 md5,scram-sha-256
允许的值 md5,scram-sha-256
参数类型 dynamic
Documentation azure.accepted_password_auth_method

azure_cdc.change_batch_buffer_size(更改批处理缓冲区大小)

Attribute 价值
类别 自定义选项
Description 用于更改批处理的缓冲区大小(以 MB 为单位)。 这些缓冲区用于在将 CDC 更改写入磁盘之前临时存储这些更改。
数据类型 整数
默认值 16
允许的值 1-100
参数类型 dynamic
Documentation

azure_cdc.change_batch_export_timeout

Attribute 价值
类别 自定义选项
Description 在一批更改准备好进行导出之前,可等待的最长的时间(以秒为单位)。
数据类型 整数
默认值 30
允许的值 10-60
参数类型 dynamic
Documentation

azure_cdc.max_fabric_mirrors

Attribute 价值
类别 自定义选项
Description 可以同时运行的并行构造镜像的最大数目。
数据类型 整数
默认值 3
允许的值 1-6
参数类型 静态的
Documentation

azure_cdc.max_snapshot_workers

Attribute 价值
类别 自定义选项
Description 为快照导出而启动的最工作线程数量上限。 每个工作线程一次会导出一个表。
数据类型 整数
默认值 3
允许的值 0-100
参数类型 dynamic
Documentation

azure_cdc.onelake_buffer_size

Attribute 价值
类别 自定义选项
Description 要上传到 Onelake 的缓冲区大小(以兆字节为单位)。 Onelake 以区块的形式上传文件,并将数据缓冲到内存中,直至达到此限制。
数据类型 整数
默认值 100
允许的值 1-1024
参数类型 dynamic
Documentation

azure_cdc.parquet_compression

Attribute 价值
类别 自定义选项
Description 用于 parquet 文件的压缩算法。 确定用于 parquet 文件的压缩算法。 支持的值为“未压缩”、“snappy”、“gzip”和“zstd”。
数据类型 枚举
默认值 zstd
允许的值 uncompressed,snappy,gzip,zstd
参数类型 dynamic
Documentation

azure_cdc.snapshot_buffer_size

Attribute 价值
类别 自定义选项
Description 初始快照缓冲区的最大大小(以 MB 为单位)。 每个表,在发送到 Fabric 之前会缓冲这么多数据。 请记住,azure_cdc.snapshot_buffer_size*azure_cdc.max_snapshot_workers 是初始快照期间使用的总内存缓冲区。
数据类型 整数
默认值 1000
允许的值 10-4000
参数类型 dynamic
Documentation

azure_cdc.snapshot_export_timeout

Attribute 价值
类别 自定义选项
Description 在导出数据库快照时,若出现错误,则允许等待的最长时间(以分钟为单位)。
数据类型 整数
默认值 180
允许的值 0-1440
参数类型 dynamic
Documentation

azure.enable_temp_tablespaces_on_local_ssd

Attribute 价值
类别 自定义选项
Description 在临时磁盘上创建临时表空间。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation

azure.extensions

Attribute 价值
类别 自定义选项
Description 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,age,amcheck,anon,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hll,hstore,hypopg,intagg,intarray,isn,lo,login_hook,ltree,oracle_fdw,orafce,pageinspect,pg_buffercache,pg_cron,pg_diskann,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,tdigest,tds_fdw,timescaledb,topn,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 dynamic
Documentation azure.extensions

azure.fabric_mirror_enabled

Attribute 价值
类别 自定义选项
Description 指定指示服务器上是否启用镜像的标志。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

azure.migration_copy_with_binary

Attribute 价值
类别 自定义选项
Description 设置为 on 时,此参数将允许在迁移过程中使用二进制格式来复制数据。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_copy_with_binary

azure.migration_skip_analyze

Attribute 价值
类别 自定义选项
Description 设置为“启用”时,此参数将在迁移过程中跳过分析阶段(vacuumdb --analyze-only)。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_analyze

azure.migration_skip_extensions

Attribute 价值
类别 自定义选项
Description 设置为“开启”时,此参数将跳过扩展的迁移。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_extensions

azure.migration_skip_large_objects

Attribute 价值
类别 自定义选项
Description 设置为 on 时,此参数将跳过大型对象(如 BLOB)的迁移。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_large_objects

azure.migration_skip_role_user

Attribute 价值
类别 自定义选项
Description 设置为“启用”时,此参数将从迁移过程中排除用户角色。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_role_user

azure.migration_table_split_size

Attribute 价值
类别 自定义选项
Description 设置时,此参数指定在迁移期间将分区表的大小。
数据类型 整数
默认值 20480
允许的值 1-204800
参数类型 dynamic
Documentation azure.migration_table_split_size

azure.service_principal_id

Attribute 价值
类别 自定义选项
Description Azure 中服务主体的唯一标识符,用于授予租户中资源的权限和访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.service_principal_tenant_id

Attribute 价值
类别 自定义选项
Description 用于创建服务主体的租户的唯一标识符,确保该服务主体在该租户中具有必要的权限和资源访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.single_to_flex_migration

Attribute 价值
类别 自定义选项
Description 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation

azure_storage.allow_network_access

Attribute 价值
类别 自定义选项
Description 允许从 azure_storage 扩展访问 Azure 存储 BLOB 服务。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.allow_network_access

azure_storage.blob_block_size_mb

Attribute 价值
类别 自定义选项
Description PUT blob 操作的 blob 块大小(以兆字节为单位)。
数据类型 整数
默认值 取决于分配给服务器的资源(vCore、RAM 或磁盘空间)。
允许的值 1024
参数类型 只读的
Documentation azure_storage.blob_block_size_mb

特定于 Azure 的注释

预配 Azure Database for PostgreSQL 灵活服务器的实例时,会根据为其计算选择的产品名称计算 azure_storage.blob_block_size_mb 参数的默认值。 如果对支持该灵活服务器的计算进行任何后续产品选择更改,该实例的 azure_storage.blob_block_size_mb 服务器参数的默认值不受任何影响。

截止目前,如果你更改分配给实例的产品,则无法调整 azure_storage.blob_block_size_mb 参数的值,因为该参数已声明为只读。

用于计算 azure_storage.blob_block_size_mb 值的公式是 MIN(3072, MAX(128, memoryGiB * 32))

根据上一个公式,下表列出了此服务器参数将设置为的值,具体取决于预配的内存量:

内存大小 azure_storage.blob_block_size_mb
2 GiB 128 MiB
4 GiB 128 MiB
8 GiB 256 MiB
16 GiB 512 MiB
32 GiB 1024 MiB
48 GiB 1536 MiB
64 GiB 2048 MiB
80 GiB 2560 MiB
128 GiB 3072 MiB
160 GiB 3072 MiB
192 GiB 3072 MiB
256 GiB 3072 MiB
384 GiB 3072 MiB
432 GiB 3072 MiB
672 GiB 3072 MiB

azure_storage.log_level

Attribute 价值
类别 自定义选项
Description azure_storage 扩展使用的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,log,info,notice,warning,error
参数类型 dynamic
Documentation azure_storage.log_level

Azure存储.公共账户访问 (azure_storage.public_account_access)

Attribute 价值
类别 自定义选项
Description 允许所有用户访问没有凭据的存储帐户中的数据,存储帐户访问权限配置为公共。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.public_account_access

connection_throttle.bucket_limit

Attribute 价值
类别 自定义选项
Description 每个 Bucket 的最大登录令牌数。
数据类型 整数
默认值 2000
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.enable

Attribute 价值
类别 自定义选项
Description 启用基于 IP 的临时连接限制,以应对过多的登录失败。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

connection_throttle.factor_bias

Attribute 价值
类别 自定义选项
Description 用于计算 IP Bucket 的令牌数的因子偏差。
数据类型 数字
默认值 0.8
允许的值 0.0-0.9
参数类型 dynamic
Documentation

connection_throttle.hash_entries_max

Attribute 价值
类别 自定义选项
Description 登录失败哈希表中的最大条目数。
数据类型 整数
默认值 500
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.reset_time

Attribute 价值
类别 自定义选项
Description 重置登录 Bucket 的间隔时间。
数据类型 整数
默认值 120
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.restore_factor

Attribute 价值
类别 自定义选项
Description 对失败率较低的 IP 增加令牌数时所使用的因子。
数据类型 数字
默认值 2
允许的值 1.0-100.0
参数类型 dynamic
Documentation

connection_throttle.update_time

Attribute 价值
类别 自定义选项
Description 更新登录 Bucket 的间隔时间。
数据类型 整数
默认值 20
允许的值 1-2147483647
参数类型 dynamic
Documentation

cron.数据库名称

Attribute 价值
类别 自定义选项
Description 设置在其中保留 pg_cron 元数据的数据库。
数据类型 字符串
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 静态的
Documentation cron.database_name

cron.enable_superuser_jobs

Attribute 价值
类别 自定义选项
Description 允许以超级用户身份安排作业。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.enable_superuser_jobs

cron.host

Attribute 价值
类别 自定义选项
Description 要连接到 PostgreSQL 数据库的主机名。 使用后台辅助角色时,此设置不起作用。
数据类型 字符串
默认值 /tmp
允许的值 /tmp
参数类型 只读的
Documentation cron.host

cron.launch_active_jobs

Attribute 价值
类别 自定义选项
Description 启动被定义为活动的作业。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation cron.launch_active_jobs

cron.log_min_messages

Attribute 价值
类别 自定义选项
Description 启动器 bgworker 的 log_min_messages。
数据类型 枚举
默认值 warning
允许的值 warning
参数类型 只读的
Documentation cron.log_min_messages

cron.log_run

Attribute 价值
类别 自定义选项
Description 将所有作业运行记录到 job_run_details 表中。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_run

cron.log_statement

Attribute 价值
类别 自定义选项
Description 在执行之前记录所有 cron 语句。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_statement

cron.max_running_jobs

Attribute 价值
类别 自定义选项
Description 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 整数
默认值 32
允许的值 0-5000
参数类型 静态的
Documentation cron.max_running_jobs

cron.timezone

Attribute 价值
类别 自定义选项
Description 指定用于 cron 计划的时区。
数据类型 枚举
默认值 GMT
允许的值 GMT
参数类型 只读的
Documentation cron.timezone

cron.use_background_workers

Attribute 价值
类别 自定义选项
Description 使用后台工作者而不是客户端会话。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.use_background_workers

duckdb.allow_community_extensions

Attribute 价值
类别 自定义选项
Description 禁用安装社区扩展。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.allow_community_extensions

duckdb.allow_unsigned_extensions

Attribute 价值
类别 自定义选项
Description 允许 DuckDB 加载签名无效或缺失的扩展。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.allow_unsigned_extensions

duckdb.autoinstall_known_extensions

Attribute 价值
类别 自定义选项
Description 当 DuckDB 查询依赖于已知扩展时,是否允许自动安装这些已知扩展。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.autoinstall_known_extensions

duckdb.autoload_known_extensions

Attribute 价值
类别 自定义选项
Description 当 DuckDB 查询依赖于已知扩展时,是否允许自动加载这些已知扩展。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.autoload_known_extensions

duckdb.disabled_filesystems

Attribute 价值
类别 自定义选项
Description 禁用会阻止访问的特定文件系统(例如 LocalFileSystem)。
数据类型 字符串
默认值 LocalFileSystem, S3FileSystem
允许的值 LocalFileSystem, S3FileSystem
参数类型 只读的
Documentation duckdb.disabled_filesystems

duckdb.enable_external_access

Attribute 价值
类别 自定义选项
Description 允许 DuckDB 访问外部状态。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.enable_external_access

duckdb.force_execution

Attribute 价值
类别 自定义选项
Description 强制查询使用 DuckDB 执行。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.force_execution

duckdb.max_memory

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存(例如 1GB)。
数据类型 整数
默认值 1024
允许的值 1024-688128
参数类型 静态的
Documentation duckdb.max_memory

duckdb.max_workers_per_postgres_scan

Attribute 价值
类别 自定义选项
Description 用于单个 Postgres 扫描的 PostgreSQL 辅助角色的最大数目。
数据类型 整数
默认值 2
允许的值 0-1024
参数类型 静态的
Documentation duckdb.max_workers_per_postgres_scan

duckdb.memory_limit(内存限制)

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存 (例如 1GB),其别名为 duckdb.max_memory
数据类型 整数
默认值 1024
允许的值 1024-688128
参数类型 静态的
Documentation duckdb.memory_limit

duckdb.postgres_role

Attribute 价值
类别 自定义选项
Description 应允许哪个 postgres 角色使用 DuckDB 执行、使用机密和创建 MotherDuck 表。 默认设置为仅超级用户。
数据类型 字符串
默认值 azure_pg_duckdb_admin
允许的值 azure_pg_duckdb_admin
参数类型 只读的
Documentation duckdb.postgres_role

duckdb.threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.threads

duckdb.worker_threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数,duckdb.threads 的别名。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.worker_threads

index_tuning.analysis_interval

Attribute 价值
类别 自定义选项
Description 将 index_tuning.mode 设置为“REPORT”时触发每个索引优化会话的频率。
数据类型 整数
默认值 720
允许的值 60-10080
参数类型 dynamic
Documentation index_tuning.analysis_interval

index_tuning.max_columns_per_index

Attribute 价值
类别 自定义选项
Description 任何建议索引的索引键中可以包含的最大列数。
数据类型 整数
默认值 2
允许的值 1-10
参数类型 dynamic
Documentation index_tuning.max_columns_per_index

索引调优.最大索引计数 (index_tuning.max_index_count)

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间可以为每个数据库推荐的最大索引数。
数据类型 整数
默认值 10
允许的值 1-25
参数类型 dynamic
Documentation index_tuning.max_index_count

index_tuning.max_indexes_per_table

Attribute 价值
类别 自定义选项
Description 每个表可推荐的最大索引数。
数据类型 整数
默认值 10
允许的值 1-25
参数类型 dynamic
Documentation index_tuning.max_indexes_per_table

index_tuning.max_queries_per_database

Attribute 价值
类别 自定义选项
Description 可向其推荐索引的每个数据库的最慢查询数。
数据类型 整数
默认值 25
允许的值 5-100
参数类型 dynamic
Documentation index_tuning.max_queries_per_database

index_tuning.max_regression_factor

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间所分析的任何查询上,由推荐的索引所引入的可接受回归。
数据类型 数字
默认值 0.1
允许的值 0.05-0.2
参数类型 dynamic
Documentation index_tuning.max_regression_factor

index_tuning.max_total_size_factor

Attribute 价值
类别 自定义选项
Description 任何给定数据库的所有建议索引所能使用的最大总空间占总磁盘空间的百分比。
数据类型 数字
默认值 0.1
允许的值 0-1.0
参数类型 dynamic
Documentation index_tuning.max_total_size_factor

index_tuning.min_improvement_factor

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间,建议的索引必须向至少一个所分析查询提供的成本改善幅度。
数据类型 数字
默认值 0.2
允许的值 0-20.0
参数类型 dynamic
Documentation index_tuning.min_improvement_factor

index_tuning.mode

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

index_tuning.unused_dml_per_table

Attribute 价值
类别 自定义选项
Description 影响表的每日平均 DML 操作的最小数量,超过此值时将考虑删除其未使用的索引。
数据类型 整数
默认值 1000
允许的值 0-9999999
参数类型 dynamic
Documentation index_tuning.unused_dml_per_table

index_tuning.unused_min_period

Attribute 价值
类别 自定义选项
Description 根据系统统计信息,未使用索引的最小天数,超过此值时将考虑删除索引。
数据类型 整数
默认值 35
允许的值 30-720
参数类型 dynamic
Documentation index_tuning.unused_min_period

index_tuning.unused_reads_per_table

Attribute 价值
类别 自定义选项
Description 影响表的每日平均读取操作的最小数量,超过此值时将考虑删除其未使用的索引。
数据类型 整数
默认值 1000
允许的值 0-9999999
参数类型 dynamic
Documentation index_tuning.unused_reads_per_table

logfiles.download_enable

Attribute 价值
类别 自定义选项
Description 启用或禁用服务器日志功能。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation logfiles.download_enable

logfiles.retention_days(日志文件保留天数)

Attribute 价值
类别 自定义选项
Description 设置服务器日志的保留期时间段(以天为单位)- 数据将在此时间之后被删除。
数据类型 整数
默认值 3
允许的值 1-7
参数类型 dynamic
Documentation 日志文件.保留天数

pgaadauth.enable_group_sync

Attribute 价值
类别 自定义选项
Description 启用对 Entra ID 组成员的同步。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

pgaudit.log

Attribute 价值
类别 自定义选项
Description 指定会话审核日志将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 dynamic
Documentation pgaudit.log

pgaudit.log_catalog

Attribute 价值
类别 自定义选项
Description 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_catalog

pgaudit.log_client

Attribute 价值
类别 自定义选项
Description 指定审核消息是否应对客户端可见。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_client

pgaudit.log_level

Attribute 价值
类别 自定义选项
Description 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 dynamic
Documentation pgaudit.log_level

pgaudit.log_parameter

Attribute 价值
类别 自定义选项
Description 指定审核日志应包含随语句一起传递的参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_parameter

pgaudit.log_relation

Attribute 价值
类别 自定义选项
Description 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_relation

pgaudit.log_rows

Attribute 价值
类别 自定义选项
Description 指定日志记录是否会包含由某条语句检索到或影响到的行。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pgaudit.log_rows

pgaudit.log_statement

Attribute 价值
类别 自定义选项
Description 指定日志记录是否包括语句文本和参数。 根据要求,审核日志中可能不需要完整语句文本。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement

pgaudit.log_statement_once

Attribute 价值
类别 自定义选项
Description 指定在日志记录中,语句文本和参数是仅在语句/子语句组合的第一个日志条目中包含,还是在每个条目中都包含。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement_once

pgaudit.role

Attribute 价值
类别 自定义选项
Description 指定要用于对象审核日志的主角色。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pgaudit.role

pg_failover_slots.drop_extra_slots

Attribute 价值
类别 自定义选项
Description 是否删除与 pg_failover_slots.synchronize_slot_names 不匹配的额外备用槽位。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_failover_slots.drop_extra_slots

pg_failover_slots.primary_dsn

Attribute 价值
类别 自定义选项
Description 用于在备用服务器上同步逻辑复制槽的主服务器连接串。 如果为空,则使用默认值primary_conninfo。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pg_failover_slots.primary_dsn

pg_failover_slots.standby_slot_names

Attribute 价值
类别 自定义选项
Description 在解码插件发送更改之前,必须确认的槽名称列表。 物理复制槽列表,在输出插件将某个 LSN 之前的提交复制到逻辑对等方之前,必须确认该 LSN 的持久化刷新。 在逻辑复制之前强制执行物理复制的顺序。
数据类型 字符串
默认值 azure_standby_, wal_replica_
允许的值 azure_standby_, wal_replica_
参数类型 只读的
Documentation pg_failover_slots.standby_slot_names

pg_failover_slots.standby_slots_min_confirmed

Attribute 价值
类别 自定义选项
Description pg_failover_slots.standby_slot_names 的槽位数量,这些槽位必须确认 LSN。 修改 pg_failover_slots.standby_slot_names 的行为,以便在至少有 pg_failover_slots.standby_slots_min_confirmed 个物理对等方确认该事务已成功持久刷新之后,能够对事务进行逻辑复制。 值 -1(默认值)表示 pg_failover_slots.standby_slot_names 中的所有条目必须确认写入。 当取值为 0 时,pg_failover_slots.standby_slots_min_confirmed 将被有效地忽略。
数据类型 整数
默认值 1
允许的值 1
参数类型 只读的
Documentation pg_failover_slots.standby_slots_min_confirmed

pg_failover_slots.synchronize_slot_names

Attribute 价值
类别 自定义选项
Description 要从主服务器同步到物理备用服务器的插槽列表。
数据类型 字符串
默认值 name_like:%%
允许的值 name_like:%%
参数类型 只读的
Documentation pg_failover_slots.synchronize_slot_names

pg_failover_slots.version

Attribute 价值
类别 自定义选项
Description pg_failover_slots模块版本。
数据类型 字符串
默认值 1.0.1
允许的值 1.0.1
参数类型 只读的
Documentation pg_failover_slots.version

pg_failover_slots.wait_for_inactive_slots

Attribute 价值
类别 自定义选项
Description 是否要等待主服务器上处于闲置状态的复制槽位来与备用服务器同步。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_failover_slots.wait_for_inactive_slots

pg_hint_plan.debug_print

Attribute 价值
类别 自定义选项
Description 记录提示分析的结果。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.debug_print

pg_hint_plan.enable_hint

Attribute 价值
类别 自定义选项
Description 强制规划器使用查询前面的提示注释中指定的计划。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_hint_plan.enable_hint

pg_hint_plan.enable_hint_table

Attribute 价值
类别 自定义选项
Description 让 pg_hint_plan 去查找提示表。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.enable_hint_table

pg_hint_plan.hints_anywhere

Attribute 价值
类别 自定义选项
Description 从查询中的任何位置读取提示。 此选项允许pg_hint_plan忽略语法,因此对误读应谨慎。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.hints_anywhere

pg_hint_plan.message_level

Attribute 价值
类别 自定义选项
Description 调试消息的消息级别。
数据类型 枚举
默认值 log
允许的值 log
参数类型 只读的
Documentation pg_hint_plan.message_level

pg_hint_plan.parse_messages

Attribute 价值
类别 自定义选项
Description 解析错误的信息级别。
数据类型 枚举
默认值 info
允许的值 info
参数类型 只读的
Documentation pg_hint_plan.parse_messages

pglogical.batch_inserts

Attribute 价值
类别 自定义选项
Description 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pglogical.batch_inserts

pglogical.conflict_log_level

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

pglogical.conflict_resolution (冲突解决)

Attribute 价值
类别 自定义选项
Description 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 dynamic
Documentation pglogical.conflict_resolution

pglogical.extra_connection_options

Attribute 价值
类别 自定义选项
Description 添加到所有对等节点连接的连接选项。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.extra_connection_options

pglogical.synchronous_commit

Attribute 价值
类别 自定义选项
Description pglogical 特定的同步提交值。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pglogical.synchronous_commit

pglogical.temp_directory

Attribute 价值
类别 自定义选项
Description 用于存储本地还原用的备份文件的目录。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.temp_directory

pglogical.use_spi

Attribute 价值
类别 自定义选项
Description 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pglogical.use_spi

pgms_stats.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation

pgms_wait_sampling.history_period

Attribute 价值
类别 自定义选项
Description 设置等待事件采样的频率(以毫秒为单位)。
数据类型 整数
默认值 100
允许的值 1-600000
参数类型 dynamic
Documentation pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为“关闭”,则会禁用等待采样,即使为 pgms_wait_sampling.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

Attribute 价值
类别 自定义选项
Description 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 dynamic
Documentation pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.analyze

pg_partman_bgw.dbname

Attribute 价值
类别 自定义选项
Description 必填。 用于运行 run_maintenance() 的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 字符串
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 dynamic
Documentation pg_partman_bgw.dbname

pg_partman_bgw.interval

Attribute 价值
类别 自定义选项
Description 调用 run_maintenance() 的间隔秒数。
数据类型 整数
默认值 3600
允许的值 1-315360000
参数类型 dynamic
Documentation pg_partman_bgw.interval

pg_partman_bgw.jobmon

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.jobmon

pg_partman_bgw.role

Attribute 价值
类别 自定义选项
Description 用于运行 run_maintenance() 的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pg_partman_bgw.role

pg_prewarm.autoprewarm

Attribute 价值
类别 自定义选项
Description 启动自动预热工作线程。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_prewarm.autoprewarm

pg_prewarm.autoprewarm_interval

Attribute 价值
类别 自定义选项
Description 设置共享缓冲区转储之间的间隔。 如果设置为 0,则禁用基于时间的转储。
数据类型 整数
默认值 300
允许的值 300
参数类型 只读的
Documentation pg_prewarm.autoprewarm_interval

pg_qs.interval_length_minutes

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 整数
默认值 15
允许的值 1-30
参数类型 静态的
Documentation pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为关闭,将禁用查询存储,即使为 pg_qs.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_qs.is_enabled_fs

pg_qs.max_plan_size

Attribute 价值
类别 自定义选项
Description 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 整数
默认值 7500
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_plan_size

pg_qs.max_query_text_length

Attribute 价值
类别 自定义选项
Description 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 整数
默认值 6000
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_query_text_length

pg_qs.parameters_capture_mode

Attribute 价值
类别 自定义选项
Description 是否以及何时捕获查询位置参数。
数据类型 枚举
默认值 capture_parameterless_only
允许的值 capture_parameterless_only,capture_first_sample
参数类型 dynamic
Documentation pg_qs.parameters_capture_mode

pg_qs.query_capture_mode

Attribute 价值
类别 自定义选项
Description 设置查询存储库的查询捕获模式。 “无”表示禁用所有捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_qs.query_capture_mode

pg_qs.retention_period_in_days

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 整数
默认值 7
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.保留周期(天)

pg_qs.store_query_plans

Attribute 价值
类别 自定义选项
Description 为 pg_qs 启用或禁用查询计划
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.store_query_plans

pg_qs.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_qs 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.track_utility

pg_stat_statements.max

Attribute 价值
类别 自定义选项
Description 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 整数
默认值 5000
允许的值 100-2147483647
参数类型 静态的
Documentation pg_stat_statements.max

pg_stat_statements.save

Attribute 价值
类别 自定义选项
Description 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.save

pg_stat_statements.track

Attribute 价值
类别 自定义选项
Description 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_stat_statements.track

pg_stat_statements.track_planning

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪计划持续时间。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_planning

pg_stat_statements.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

Attribute 价值
类别 自定义选项
Description 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 dynamic
Documentation postgis.gdal_enabled_drivers

squeeze.max_xlock_time

Attribute 价值
类别 自定义选项
Description 已处理表可以被独占锁定的最长时间。 源表在处理的最后阶段以独占方式锁定。 如果锁定时间应超过此值,则会释放锁,最后阶段将重试几次。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation squeeze.max_xlock_time

squeeze.worker_autostart

Attribute 价值
类别 自定义选项
Description 后台工作线程自动启动的数据库的名称。 群集启动完成后立即开始压缩工作线程的数据库的逗号分隔列表。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_autostart

squeeze.worker_role

Attribute 价值
类别 自定义选项
Description 后台工作者连接数据库时使用的角色。 如果在群集启动时自动启动后台工作进程,它将使用此角色来启动数据库连接。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_role

squeeze.workers_per_database

Attribute 价值
类别 自定义选项
Description 为每个数据库启动的最大压缩工作线程数。
数据类型 整数
默认值 1
允许的值 1
参数类型 只读的
Documentation squeeze.workers_per_database

timescaledb.bgw_launcher_poll_time

Attribute 价值
类别 自定义选项
Description 启动器超时值(以毫秒为单位)。 配置启动器等待查找新的 TimescaleDB 实例的时间。
数据类型 整数
默认值 60000
允许的值 60000
参数类型 只读的
Documentation timescaledb.bgw_launcher_poll_time

timescaledb.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb.disable_load

timescaledb.max_background_workers

Attribute 价值
类别 自定义选项
Description 分配给 TimescaleDB 的最大后台工作线程数。 分配给 TimescaleDB 的最大后台工作线程 - 设置为至少 1 + Postgres 实例中的数据库数量,以使用后台工作线程。
数据类型 整数
默认值 16
允许的值 16
参数类型 只读的
Documentation timescaledb.max_background_workers

timescaledb_osm.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb_osm.disable_load

age.enable_containment

Attribute 价值
类别 自定义选项
Description 使用 @> 运算符转换 MATCH 的筛选器。 否则,请使用 -> 运算符。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation age.enable_containment

anon.algorithm

Attribute 价值
类别 自定义选项
Description 用于假名化函数的哈希方法。
数据类型 字符串
默认值 sha256
允许的值 sha256
参数类型 只读的
Documentation anon.algorithm

anon.k_anonymity_provider

Attribute 价值
类别 自定义选项
Description 用于 k 匿名的安全标签提供程序。
数据类型 字符串
默认值 k_anonymity
允许的值 k_anonymity
参数类型 只读的
Documentation anon.k_anonymity_provider

anon.masking_policies

Attribute 价值
类别 自定义选项
Description 定义多个掩码策略(尚未实现)。
数据类型 字符串
默认值 anon
允许的值 anon
参数类型 只读的
Documentation anon.masking_policies

anon.maskschema

Attribute 价值
类别 自定义选项
Description 存储动态掩码视图的架构。
数据类型 字符串
默认值 mask
允许的值 mask
参数类型 只读的
Documentation anon.maskschema

anon.privacy_by_default

Attribute 价值
类别 自定义选项
Description 使用 NULL(或 NOT NULL 列的默认值)屏蔽所有列。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.privacy_by_default

anon.restrict_to_trusted_schemas

Attribute 价值
类别 自定义选项
Description 屏蔽筛选器必须位于受信任架构中。 激活此选项可防止非超级用户使用其自己的屏蔽筛选器。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.restrict_to_trusted_schemas

anon.salt

Attribute 价值
类别 自定义选项
Description 用于假名化函数的盐值。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation anon.salt

anon.sourceschema

Attribute 价值
类别 自定义选项
Description 动态掩码引擎屏蔽表时采用的架构。
数据类型 字符串
默认值 public
允许的值 public
参数类型 只读的
Documentation anon.sourceschema

anon.strict_mode

Attribute 价值
类别 自定义选项
Description 掩码规则无法更改列数据类型,除非禁用它。 不建议禁用此模式。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.strict_mode

anon.transparent_dynamic_masking

Attribute 价值
类别 自定义选项
Description 新的掩码引擎(实验性)。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.transparent_dynamic_masking

auto_explain.log_analyze

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN ANALYZE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_analyze

auto_explain.log_buffers

Attribute 价值
类别 自定义选项
Description 记录缓冲区使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_buffers

auto_explain.log_format

Attribute 价值
类别 自定义选项
Description 用于记录计划的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 dynamic
Documentation auto_explain.log_format

auto_explain.log_level

Attribute 价值
类别 自定义选项
Description 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 dynamic
Documentation auto_explain.log_level

auto_explain.log_min_duration

Attribute 价值
类别 自定义选项
Description 设置记录计划的最低执行时间阈值,只有超过此执行时间的计划才会被记录。 零表示输出所有计划。 -1 关闭此功能。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_min_duration

auto_explain.log_nested_statements

Attribute 价值
类别 自定义选项
Description 记录嵌套语句。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_nested_statements

auto_explain.log_settings

Attribute 价值
类别 自定义选项
Description 记录影响查询计划的已修改配置参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_settings

auto_explain.log_timing

Attribute 价值
类别 自定义选项
Description 收集计时数据,而不仅仅是行计数。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_timing

auto_explain.log_triggers

Attribute 价值
类别 自定义选项
Description 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_triggers

auto_explain.log_verbose

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN VERBOSE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_verbose

auto_explain.log_wal

Attribute 价值
类别 自定义选项
Description 记录 WAL 使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_wal

auto_explain.sample_rate

Attribute 价值
类别 自定义选项
Description 要处理的查询的占比。
数据类型 数字
默认值 1.0
允许的值 0.0-1.0
参数类型 dynamic
Documentation auto_explain.sample_rate

azure.接受的密码认证方法

Attribute 价值
类别 自定义选项
Description 接受的密码身份验证方法。
数据类型 set
默认值 md5,scram-sha-256
允许的值 md5,scram-sha-256
参数类型 dynamic
Documentation azure.accepted_password_auth_method

azure_cdc.change_batch_buffer_size(更改批处理缓冲区大小)

Attribute 价值
类别 自定义选项
Description 用于更改批处理的缓冲区大小(以 MB 为单位)。 这些缓冲区用于在将 CDC 更改写入磁盘之前临时存储这些更改。
数据类型 整数
默认值 16
允许的值 1-100
参数类型 dynamic
Documentation

azure_cdc.change_batch_export_timeout

Attribute 价值
类别 自定义选项
Description 在一批更改准备好进行导出之前,可等待的最长的时间(以秒为单位)。
数据类型 整数
默认值 30
允许的值 10-60
参数类型 dynamic
Documentation

azure_cdc.max_fabric_mirrors

Attribute 价值
类别 自定义选项
Description 可以同时运行的并行构造镜像的最大数目。
数据类型 整数
默认值 3
允许的值 1-6
参数类型 静态的
Documentation

azure_cdc.max_snapshot_workers

Attribute 价值
类别 自定义选项
Description 为快照导出而启动的最工作线程数量上限。 每个工作线程一次会导出一个表。
数据类型 整数
默认值 3
允许的值 0-100
参数类型 dynamic
Documentation

azure_cdc.onelake_buffer_size

Attribute 价值
类别 自定义选项
Description 要上传到 Onelake 的缓冲区大小(以兆字节为单位)。 Onelake 以区块的形式上传文件,并将数据缓冲到内存中,直至达到此限制。
数据类型 整数
默认值 100
允许的值 1-1024
参数类型 dynamic
Documentation

azure_cdc.parquet_compression

Attribute 价值
类别 自定义选项
Description 用于 parquet 文件的压缩算法。 确定用于 parquet 文件的压缩算法。 支持的值为“未压缩”、“snappy”、“gzip”和“zstd”。
数据类型 枚举
默认值 zstd
允许的值 uncompressed,snappy,gzip,zstd
参数类型 dynamic
Documentation

azure_cdc.snapshot_buffer_size

Attribute 价值
类别 自定义选项
Description 初始快照缓冲区的最大大小(以 MB 为单位)。 每个表,在发送到 Fabric 之前会缓冲这么多数据。 请记住,azure_cdc.snapshot_buffer_size*azure_cdc.max_snapshot_workers 是初始快照期间使用的总内存缓冲区。
数据类型 整数
默认值 1000
允许的值 10-4000
参数类型 dynamic
Documentation

azure_cdc.snapshot_export_timeout

Attribute 价值
类别 自定义选项
Description 在导出数据库快照时,若出现错误,则允许等待的最长时间(以分钟为单位)。
数据类型 整数
默认值 180
允许的值 0-1440
参数类型 dynamic
Documentation

azure.enable_temp_tablespaces_on_local_ssd

Attribute 价值
类别 自定义选项
Description 在临时磁盘上创建临时表空间。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation

azure.extensions

Attribute 价值
类别 自定义选项
Description 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,age,amcheck,anon,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hll,hstore,hypopg,intagg,intarray,isn,lo,login_hook,ltree,oracle_fdw,orafce,pageinspect,pg_buffercache,pg_cron,pg_diskann,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,tdigest,tds_fdw,timescaledb,topn,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 dynamic
Documentation azure.extensions

azure.fabric_mirror_enabled

Attribute 价值
类别 自定义选项
Description 指定指示服务器上是否启用镜像的标志。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

azure.migration_copy_with_binary

Attribute 价值
类别 自定义选项
Description 设置为 on 时,此参数将允许在迁移过程中使用二进制格式来复制数据。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_copy_with_binary

azure.migration_skip_analyze

Attribute 价值
类别 自定义选项
Description 设置为“启用”时,此参数将在迁移过程中跳过分析阶段(vacuumdb --analyze-only)。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_analyze

azure.migration_skip_extensions

Attribute 价值
类别 自定义选项
Description 设置为“开启”时,此参数将跳过扩展的迁移。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_extensions

azure.migration_skip_large_objects

Attribute 价值
类别 自定义选项
Description 设置为 on 时,此参数将跳过大型对象(如 BLOB)的迁移。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_large_objects

azure.migration_skip_role_user

Attribute 价值
类别 自定义选项
Description 设置为“启用”时,此参数将从迁移过程中排除用户角色。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_role_user

azure.migration_table_split_size

Attribute 价值
类别 自定义选项
Description 设置时,此参数指定在迁移期间将分区表的大小。
数据类型 整数
默认值 20480
允许的值 1-204800
参数类型 dynamic
Documentation azure.migration_table_split_size

azure.service_principal_id

Attribute 价值
类别 自定义选项
Description Azure 中服务主体的唯一标识符,用于授予租户中资源的权限和访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.service_principal_tenant_id

Attribute 价值
类别 自定义选项
Description 用于创建服务主体的租户的唯一标识符,确保该服务主体在该租户中具有必要的权限和资源访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.single_to_flex_migration

Attribute 价值
类别 自定义选项
Description 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation

azure_storage.allow_network_access

Attribute 价值
类别 自定义选项
Description 允许从 azure_storage 扩展访问 Azure 存储 BLOB 服务。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.allow_network_access

azure_storage.blob_block_size_mb

Attribute 价值
类别 自定义选项
Description PUT blob 操作的 blob 块大小(以兆字节为单位)。
数据类型 整数
默认值 取决于分配给服务器的资源(vCore、RAM 或磁盘空间)。
允许的值 1024
参数类型 只读的
Documentation azure_storage.blob_block_size_mb

特定于 Azure 的注释

预配 Azure Database for PostgreSQL 灵活服务器的实例时,会根据为其计算选择的产品名称计算 azure_storage.blob_block_size_mb 参数的默认值。 如果对支持该灵活服务器的计算进行任何后续产品选择更改,该实例的 azure_storage.blob_block_size_mb 服务器参数的默认值不受任何影响。

截止目前,如果你更改分配给实例的产品,则无法调整 azure_storage.blob_block_size_mb 参数的值,因为该参数已声明为只读。

用于计算 azure_storage.blob_block_size_mb 值的公式是 MIN(3072, MAX(128, memoryGiB * 32))

根据上一个公式,下表列出了此服务器参数将设置为的值,具体取决于预配的内存量:

内存大小 azure_storage.blob_block_size_mb
2 GiB 128 MiB
4 GiB 128 MiB
8 GiB 256 MiB
16 GiB 512 MiB
32 GiB 1024 MiB
48 GiB 1536 MiB
64 GiB 2048 MiB
80 GiB 2560 MiB
128 GiB 3072 MiB
160 GiB 3072 MiB
192 GiB 3072 MiB
256 GiB 3072 MiB
384 GiB 3072 MiB
432 GiB 3072 MiB
672 GiB 3072 MiB

azure_storage.log_level

Attribute 价值
类别 自定义选项
Description azure_storage 扩展使用的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,log,info,notice,warning,error
参数类型 dynamic
Documentation azure_storage.log_level

Azure存储.公共账户访问 (azure_storage.public_account_access)

Attribute 价值
类别 自定义选项
Description 允许所有用户访问没有凭据的存储帐户中的数据,存储帐户访问权限配置为公共。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.public_account_access

connection_throttle.bucket_limit

Attribute 价值
类别 自定义选项
Description 每个 Bucket 的最大登录令牌数。
数据类型 整数
默认值 2000
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.enable

Attribute 价值
类别 自定义选项
Description 启用基于 IP 的临时连接限制,以应对过多的登录失败。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

connection_throttle.factor_bias

Attribute 价值
类别 自定义选项
Description 用于计算 IP Bucket 的令牌数的因子偏差。
数据类型 数字
默认值 0.8
允许的值 0.0-0.9
参数类型 dynamic
Documentation

connection_throttle.hash_entries_max

Attribute 价值
类别 自定义选项
Description 登录失败哈希表中的最大条目数。
数据类型 整数
默认值 500
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.reset_time

Attribute 价值
类别 自定义选项
Description 重置登录 Bucket 的间隔时间。
数据类型 整数
默认值 120
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.restore_factor

Attribute 价值
类别 自定义选项
Description 对失败率较低的 IP 增加令牌数时所使用的因子。
数据类型 数字
默认值 2
允许的值 1.0-100.0
参数类型 dynamic
Documentation

connection_throttle.update_time

Attribute 价值
类别 自定义选项
Description 更新登录 Bucket 的间隔时间。
数据类型 整数
默认值 20
允许的值 1-2147483647
参数类型 dynamic
Documentation

cron.数据库名称

Attribute 价值
类别 自定义选项
Description 设置在其中保留 pg_cron 元数据的数据库。
数据类型 字符串
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 静态的
Documentation cron.database_name

cron.enable_superuser_jobs

Attribute 价值
类别 自定义选项
Description 允许以超级用户身份安排作业。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.enable_superuser_jobs

cron.host

Attribute 价值
类别 自定义选项
Description 要连接到 PostgreSQL 数据库的主机名。 使用后台辅助角色时,此设置不起作用。
数据类型 字符串
默认值 /tmp
允许的值 /tmp
参数类型 只读的
Documentation cron.host

cron.launch_active_jobs

Attribute 价值
类别 自定义选项
Description 启动被定义为活动的作业。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation cron.launch_active_jobs

cron.log_min_messages

Attribute 价值
类别 自定义选项
Description 启动器 bgworker 的 log_min_messages。
数据类型 枚举
默认值 warning
允许的值 warning
参数类型 只读的
Documentation cron.log_min_messages

cron.log_run

Attribute 价值
类别 自定义选项
Description 将所有作业运行记录到 job_run_details 表中。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_run

cron.log_statement

Attribute 价值
类别 自定义选项
Description 在执行之前记录所有 cron 语句。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_statement

cron.max_running_jobs

Attribute 价值
类别 自定义选项
Description 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 整数
默认值 32
允许的值 0-5000
参数类型 静态的
Documentation cron.max_running_jobs

cron.timezone

Attribute 价值
类别 自定义选项
Description 指定用于 cron 计划的时区。
数据类型 枚举
默认值 GMT
允许的值 GMT
参数类型 只读的
Documentation cron.timezone

cron.use_background_workers

Attribute 价值
类别 自定义选项
Description 使用后台工作者而不是客户端会话。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.use_background_workers

duckdb.allow_community_extensions

Attribute 价值
类别 自定义选项
Description 禁用安装社区扩展。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.allow_community_extensions

duckdb.allow_unsigned_extensions

Attribute 价值
类别 自定义选项
Description 允许 DuckDB 加载签名无效或缺失的扩展。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.allow_unsigned_extensions

duckdb.autoinstall_known_extensions

Attribute 价值
类别 自定义选项
Description 当 DuckDB 查询依赖于已知扩展时,是否允许自动安装这些已知扩展。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.autoinstall_known_extensions

duckdb.autoload_known_extensions

Attribute 价值
类别 自定义选项
Description 当 DuckDB 查询依赖于已知扩展时,是否允许自动加载这些已知扩展。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.autoload_known_extensions

duckdb.disabled_filesystems

Attribute 价值
类别 自定义选项
Description 禁用会阻止访问的特定文件系统(例如 LocalFileSystem)。
数据类型 字符串
默认值 LocalFileSystem, S3FileSystem
允许的值 LocalFileSystem, S3FileSystem
参数类型 只读的
Documentation duckdb.disabled_filesystems

duckdb.enable_external_access

Attribute 价值
类别 自定义选项
Description 允许 DuckDB 访问外部状态。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.enable_external_access

duckdb.force_execution

Attribute 价值
类别 自定义选项
Description 强制查询使用 DuckDB 执行。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.force_execution

duckdb.max_memory

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存(例如 1GB)。
数据类型 整数
默认值 1024
允许的值 1024-688128
参数类型 静态的
Documentation duckdb.max_memory

duckdb.max_workers_per_postgres_scan

Attribute 价值
类别 自定义选项
Description 用于单个 Postgres 扫描的 PostgreSQL 辅助角色的最大数目。
数据类型 整数
默认值 2
允许的值 0-1024
参数类型 静态的
Documentation duckdb.max_workers_per_postgres_scan

duckdb.memory_limit(内存限制)

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存 (例如 1GB),其别名为 duckdb.max_memory
数据类型 整数
默认值 1024
允许的值 1024-688128
参数类型 静态的
Documentation duckdb.memory_limit

duckdb.postgres_role

Attribute 价值
类别 自定义选项
Description 应允许哪个 postgres 角色使用 DuckDB 执行、使用机密和创建 MotherDuck 表。 默认设置为仅超级用户。
数据类型 字符串
默认值 azure_pg_duckdb_admin
允许的值 azure_pg_duckdb_admin
参数类型 只读的
Documentation duckdb.postgres_role

duckdb.threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.threads

duckdb.worker_threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数,duckdb.threads 的别名。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.worker_threads

index_tuning.analysis_interval

Attribute 价值
类别 自定义选项
Description 将 index_tuning.mode 设置为“REPORT”时触发每个索引优化会话的频率。
数据类型 整数
默认值 720
允许的值 60-10080
参数类型 dynamic
Documentation index_tuning.analysis_interval

index_tuning.max_columns_per_index

Attribute 价值
类别 自定义选项
Description 任何建议索引的索引键中可以包含的最大列数。
数据类型 整数
默认值 2
允许的值 1-10
参数类型 dynamic
Documentation index_tuning.max_columns_per_index

索引调优.最大索引计数 (index_tuning.max_index_count)

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间可以为每个数据库推荐的最大索引数。
数据类型 整数
默认值 10
允许的值 1-25
参数类型 dynamic
Documentation index_tuning.max_index_count

index_tuning.max_indexes_per_table

Attribute 价值
类别 自定义选项
Description 每个表可推荐的最大索引数。
数据类型 整数
默认值 10
允许的值 1-25
参数类型 dynamic
Documentation index_tuning.max_indexes_per_table

index_tuning.max_queries_per_database

Attribute 价值
类别 自定义选项
Description 可向其推荐索引的每个数据库的最慢查询数。
数据类型 整数
默认值 25
允许的值 5-100
参数类型 dynamic
Documentation index_tuning.max_queries_per_database

index_tuning.max_regression_factor

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间所分析的任何查询上,由推荐的索引所引入的可接受回归。
数据类型 数字
默认值 0.1
允许的值 0.05-0.2
参数类型 dynamic
Documentation index_tuning.max_regression_factor

index_tuning.max_total_size_factor

Attribute 价值
类别 自定义选项
Description 任何给定数据库的所有建议索引所能使用的最大总空间占总磁盘空间的百分比。
数据类型 数字
默认值 0.1
允许的值 0-1.0
参数类型 dynamic
Documentation index_tuning.max_total_size_factor

index_tuning.min_improvement_factor

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间,建议的索引必须向至少一个所分析查询提供的成本改善幅度。
数据类型 数字
默认值 0.2
允许的值 0-20.0
参数类型 dynamic
Documentation index_tuning.min_improvement_factor

index_tuning.mode

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

index_tuning.unused_dml_per_table

Attribute 价值
类别 自定义选项
Description 影响表的每日平均 DML 操作的最小数量,超过此值时将考虑删除其未使用的索引。
数据类型 整数
默认值 1000
允许的值 0-9999999
参数类型 dynamic
Documentation index_tuning.unused_dml_per_table

index_tuning.unused_min_period

Attribute 价值
类别 自定义选项
Description 根据系统统计信息,未使用索引的最小天数,超过此值时将考虑删除索引。
数据类型 整数
默认值 35
允许的值 30-720
参数类型 dynamic
Documentation index_tuning.unused_min_period

index_tuning.unused_reads_per_table

Attribute 价值
类别 自定义选项
Description 影响表的每日平均读取操作的最小数量,超过此值时将考虑删除其未使用的索引。
数据类型 整数
默认值 1000
允许的值 0-9999999
参数类型 dynamic
Documentation index_tuning.unused_reads_per_table

logfiles.download_enable

Attribute 价值
类别 自定义选项
Description 启用或禁用服务器日志功能。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation logfiles.download_enable

logfiles.retention_days(日志文件保留天数)

Attribute 价值
类别 自定义选项
Description 设置服务器日志的保留期时间段(以天为单位)- 数据将在此时间之后被删除。
数据类型 整数
默认值 3
允许的值 1-7
参数类型 dynamic
Documentation 日志文件.保留天数

pgaadauth.enable_group_sync

Attribute 价值
类别 自定义选项
Description 启用对 Entra ID 组成员的同步。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

pgaudit.log

Attribute 价值
类别 自定义选项
Description 指定会话审核日志将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 dynamic
Documentation pgaudit.log

pgaudit.log_catalog

Attribute 价值
类别 自定义选项
Description 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_catalog

pgaudit.log_client

Attribute 价值
类别 自定义选项
Description 指定审核消息是否应对客户端可见。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_client

pgaudit.log_level

Attribute 价值
类别 自定义选项
Description 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 dynamic
Documentation pgaudit.log_level

pgaudit.log_parameter

Attribute 价值
类别 自定义选项
Description 指定审核日志应包含随语句一起传递的参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_parameter

pgaudit.log_relation

Attribute 价值
类别 自定义选项
Description 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_relation

pgaudit.log_rows

Attribute 价值
类别 自定义选项
Description 指定日志记录是否会包含由某条语句检索到或影响到的行。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pgaudit.log_rows

pgaudit.log_statement

Attribute 价值
类别 自定义选项
Description 指定日志记录是否包括语句文本和参数。 根据要求,审核日志中可能不需要完整语句文本。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement

pgaudit.log_statement_once

Attribute 价值
类别 自定义选项
Description 指定在日志记录中,语句文本和参数是仅在语句/子语句组合的第一个日志条目中包含,还是在每个条目中都包含。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement_once

pgaudit.role

Attribute 价值
类别 自定义选项
Description 指定要用于对象审核日志的主角色。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pgaudit.role

pg_failover_slots.drop_extra_slots

Attribute 价值
类别 自定义选项
Description 是否删除与 pg_failover_slots.synchronize_slot_names 不匹配的额外备用槽位。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_failover_slots.drop_extra_slots

pg_failover_slots.primary_dsn

Attribute 价值
类别 自定义选项
Description 用于在备用服务器上同步逻辑复制槽的主服务器连接串。 如果为空,则使用默认值primary_conninfo。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pg_failover_slots.primary_dsn

pg_failover_slots.standby_slot_names

Attribute 价值
类别 自定义选项
Description 在解码插件发送更改之前,必须确认的槽名称列表。 物理复制槽列表,在输出插件将某个 LSN 之前的提交复制到逻辑对等方之前,必须确认该 LSN 的持久化刷新。 在逻辑复制之前强制执行物理复制的顺序。
数据类型 字符串
默认值 azure_standby_, wal_replica_
允许的值 azure_standby_, wal_replica_
参数类型 只读的
Documentation pg_failover_slots.standby_slot_names

pg_failover_slots.standby_slots_min_confirmed

Attribute 价值
类别 自定义选项
Description pg_failover_slots.standby_slot_names 的槽位数量,这些槽位必须确认 LSN。 修改 pg_failover_slots.standby_slot_names 的行为,以便在至少有 pg_failover_slots.standby_slots_min_confirmed 个物理对等方确认该事务已成功持久刷新之后,能够对事务进行逻辑复制。 值 -1(默认值)表示 pg_failover_slots.standby_slot_names 中的所有条目必须确认写入。 当取值为 0 时,pg_failover_slots.standby_slots_min_confirmed 将被有效地忽略。
数据类型 整数
默认值 1
允许的值 1
参数类型 只读的
Documentation pg_failover_slots.standby_slots_min_confirmed

pg_failover_slots.synchronize_slot_names

Attribute 价值
类别 自定义选项
Description 要从主服务器同步到物理备用服务器的插槽列表。
数据类型 字符串
默认值 name_like:%%
允许的值 name_like:%%
参数类型 只读的
Documentation pg_failover_slots.synchronize_slot_names

pg_failover_slots.version

Attribute 价值
类别 自定义选项
Description pg_failover_slots模块版本。
数据类型 字符串
默认值 1.0.1
允许的值 1.0.1
参数类型 只读的
Documentation pg_failover_slots.version

pg_failover_slots.wait_for_inactive_slots

Attribute 价值
类别 自定义选项
Description 是否要等待主服务器上处于闲置状态的复制槽位来与备用服务器同步。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_failover_slots.wait_for_inactive_slots

pg_hint_plan.debug_print

Attribute 价值
类别 自定义选项
Description 记录提示分析的结果。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.debug_print

pg_hint_plan.enable_hint

Attribute 价值
类别 自定义选项
Description 强制规划器使用查询前面的提示注释中指定的计划。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_hint_plan.enable_hint

pg_hint_plan.enable_hint_table

Attribute 价值
类别 自定义选项
Description 让 pg_hint_plan 去查找提示表。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.enable_hint_table

pg_hint_plan.hints_anywhere

Attribute 价值
类别 自定义选项
Description 从查询中的任何位置读取提示。 此选项允许pg_hint_plan忽略语法,因此对误读应谨慎。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.hints_anywhere

pg_hint_plan.message_level

Attribute 价值
类别 自定义选项
Description 调试消息的消息级别。
数据类型 枚举
默认值 log
允许的值 log
参数类型 只读的
Documentation pg_hint_plan.message_level

pg_hint_plan.parse_messages

Attribute 价值
类别 自定义选项
Description 解析错误的信息级别。
数据类型 枚举
默认值 info
允许的值 info
参数类型 只读的
Documentation pg_hint_plan.parse_messages

pglogical.batch_inserts

Attribute 价值
类别 自定义选项
Description 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pglogical.batch_inserts

pglogical.conflict_log_level

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

pglogical.conflict_resolution (冲突解决)

Attribute 价值
类别 自定义选项
Description 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 dynamic
Documentation pglogical.conflict_resolution

pglogical.extra_connection_options

Attribute 价值
类别 自定义选项
Description 添加到所有对等节点连接的连接选项。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.extra_connection_options

pglogical.synchronous_commit

Attribute 价值
类别 自定义选项
Description pglogical 特定的同步提交值。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pglogical.synchronous_commit

pglogical.temp_directory

Attribute 价值
类别 自定义选项
Description 用于存储本地还原用的备份文件的目录。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.temp_directory

pglogical.use_spi

Attribute 价值
类别 自定义选项
Description 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pglogical.use_spi

pgms_stats.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation

pgms_wait_sampling.history_period

Attribute 价值
类别 自定义选项
Description 设置等待事件采样的频率(以毫秒为单位)。
数据类型 整数
默认值 100
允许的值 1-600000
参数类型 dynamic
Documentation pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为“关闭”,则会禁用等待采样,即使为 pgms_wait_sampling.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

Attribute 价值
类别 自定义选项
Description 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 dynamic
Documentation pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.analyze

pg_partman_bgw.dbname

Attribute 价值
类别 自定义选项
Description 必填。 用于运行 run_maintenance() 的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 字符串
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 dynamic
Documentation pg_partman_bgw.dbname

pg_partman_bgw.interval

Attribute 价值
类别 自定义选项
Description 调用 run_maintenance() 的间隔秒数。
数据类型 整数
默认值 3600
允许的值 1-315360000
参数类型 dynamic
Documentation pg_partman_bgw.interval

pg_partman_bgw.jobmon

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.jobmon

pg_partman_bgw.role

Attribute 价值
类别 自定义选项
Description 用于运行 run_maintenance() 的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pg_partman_bgw.role

pg_prewarm.autoprewarm

Attribute 价值
类别 自定义选项
Description 启动自动预热工作线程。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_prewarm.autoprewarm

pg_prewarm.autoprewarm_interval

Attribute 价值
类别 自定义选项
Description 设置共享缓冲区转储之间的间隔。 如果设置为 0,则禁用基于时间的转储。
数据类型 整数
默认值 300
允许的值 300
参数类型 只读的
Documentation pg_prewarm.autoprewarm_interval

pg_qs.interval_length_minutes

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 整数
默认值 15
允许的值 1-30
参数类型 静态的
Documentation pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为关闭,将禁用查询存储,即使为 pg_qs.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_qs.is_enabled_fs

pg_qs.max_plan_size

Attribute 价值
类别 自定义选项
Description 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 整数
默认值 7500
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_plan_size

pg_qs.max_query_text_length

Attribute 价值
类别 自定义选项
Description 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 整数
默认值 6000
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_query_text_length

pg_qs.parameters_capture_mode

Attribute 价值
类别 自定义选项
Description 是否以及何时捕获查询位置参数。
数据类型 枚举
默认值 capture_parameterless_only
允许的值 capture_parameterless_only,capture_first_sample
参数类型 dynamic
Documentation pg_qs.parameters_capture_mode

pg_qs.query_capture_mode

Attribute 价值
类别 自定义选项
Description 设置查询存储库的查询捕获模式。 “无”表示禁用所有捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_qs.query_capture_mode

pg_qs.retention_period_in_days

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 整数
默认值 7
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.保留周期(天)

pg_qs.store_query_plans

Attribute 价值
类别 自定义选项
Description 为 pg_qs 启用或禁用查询计划
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.store_query_plans

pg_qs.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_qs 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.track_utility

pg_stat_statements.max

Attribute 价值
类别 自定义选项
Description 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 整数
默认值 5000
允许的值 100-2147483647
参数类型 静态的
Documentation pg_stat_statements.max

pg_stat_statements.save

Attribute 价值
类别 自定义选项
Description 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.save

pg_stat_statements.track

Attribute 价值
类别 自定义选项
Description 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_stat_statements.track

pg_stat_statements.track_planning

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪计划持续时间。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_planning

pg_stat_statements.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

Attribute 价值
类别 自定义选项
Description 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 dynamic
Documentation postgis.gdal_enabled_drivers

squeeze.max_xlock_time

Attribute 价值
类别 自定义选项
Description 已处理表可以被独占锁定的最长时间。 源表在处理的最后阶段以独占方式锁定。 如果锁定时间应超过此值,则会释放锁,最后阶段将重试几次。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation squeeze.max_xlock_time

squeeze.worker_autostart

Attribute 价值
类别 自定义选项
Description 后台工作线程自动启动的数据库的名称。 群集启动完成后立即开始压缩工作线程的数据库的逗号分隔列表。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_autostart

squeeze.worker_role

Attribute 价值
类别 自定义选项
Description 后台工作者连接数据库时使用的角色。 如果在群集启动时自动启动后台工作进程,它将使用此角色来启动数据库连接。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_role

timescaledb.bgw_launcher_poll_time

Attribute 价值
类别 自定义选项
Description 启动器超时值(以毫秒为单位)。 配置启动器等待查找新的 TimescaleDB 实例的时间。
数据类型 整数
默认值 60000
允许的值 60000
参数类型 只读的
Documentation timescaledb.bgw_launcher_poll_time

timescaledb.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb.disable_load

timescaledb.max_background_workers

Attribute 价值
类别 自定义选项
Description 分配给 TimescaleDB 的最大后台工作线程数。 分配给 TimescaleDB 的最大后台工作线程 - 设置为至少 1 + Postgres 实例中的数据库数量,以使用后台工作线程。
数据类型 整数
默认值 16
允许的值 16
参数类型 只读的
Documentation timescaledb.max_background_workers

timescaledb_osm.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb_osm.disable_load

age.enable_containment

Attribute 价值
类别 自定义选项
Description 使用 @> 运算符转换 MATCH 的筛选器。 否则,请使用 -> 运算符。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation age.enable_containment

anon.algorithm

Attribute 价值
类别 自定义选项
Description 用于假名化函数的哈希方法。
数据类型 字符串
默认值 sha256
允许的值 sha256
参数类型 只读的
Documentation anon.algorithm

anon.k_anonymity_provider

Attribute 价值
类别 自定义选项
Description 用于 k 匿名的安全标签提供程序。
数据类型 字符串
默认值 k_anonymity
允许的值 k_anonymity
参数类型 只读的
Documentation anon.k_anonymity_provider

anon.masking_policies

Attribute 价值
类别 自定义选项
Description 定义多个掩码策略(尚未实现)。
数据类型 字符串
默认值 anon
允许的值 anon
参数类型 只读的
Documentation anon.masking_policies

anon.maskschema

Attribute 价值
类别 自定义选项
Description 存储动态掩码视图的架构。
数据类型 字符串
默认值 mask
允许的值 mask
参数类型 只读的
Documentation anon.maskschema

anon.privacy_by_default

Attribute 价值
类别 自定义选项
Description 使用 NULL(或 NOT NULL 列的默认值)屏蔽所有列。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.privacy_by_default

anon.restrict_to_trusted_schemas

Attribute 价值
类别 自定义选项
Description 屏蔽筛选器必须位于受信任架构中。 激活此选项可防止非超级用户使用其自己的屏蔽筛选器。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.restrict_to_trusted_schemas

anon.salt

Attribute 价值
类别 自定义选项
Description 用于假名化函数的盐值。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation anon.salt

anon.sourceschema

Attribute 价值
类别 自定义选项
Description 动态掩码引擎屏蔽表时采用的架构。
数据类型 字符串
默认值 public
允许的值 public
参数类型 只读的
Documentation anon.sourceschema

anon.strict_mode

Attribute 价值
类别 自定义选项
Description 掩码规则无法更改列数据类型,除非禁用它。 不建议禁用此模式。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.strict_mode

anon.transparent_dynamic_masking

Attribute 价值
类别 自定义选项
Description 新的掩码引擎(实验性)。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.transparent_dynamic_masking

auto_explain.log_analyze

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN ANALYZE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_analyze

auto_explain.log_buffers

Attribute 价值
类别 自定义选项
Description 记录缓冲区使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_buffers

auto_explain.log_format

Attribute 价值
类别 自定义选项
Description 用于记录计划的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 dynamic
Documentation auto_explain.log_format

auto_explain.log_level

Attribute 价值
类别 自定义选项
Description 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 dynamic
Documentation auto_explain.log_level

auto_explain.log_min_duration

Attribute 价值
类别 自定义选项
Description 设置记录计划的最低执行时间阈值,只有超过此执行时间的计划才会被记录。 零表示输出所有计划。 -1 关闭此功能。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_min_duration

auto_explain.log_nested_statements

Attribute 价值
类别 自定义选项
Description 记录嵌套语句。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_nested_statements

auto_explain.log_settings

Attribute 价值
类别 自定义选项
Description 记录影响查询计划的已修改配置参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_settings

auto_explain.log_timing

Attribute 价值
类别 自定义选项
Description 收集计时数据,而不仅仅是行计数。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_timing

auto_explain.log_triggers

Attribute 价值
类别 自定义选项
Description 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_triggers

auto_explain.log_verbose

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN VERBOSE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_verbose

auto_explain.log_wal

Attribute 价值
类别 自定义选项
Description 记录 WAL 使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_wal

auto_explain.sample_rate

Attribute 价值
类别 自定义选项
Description 要处理的查询的占比。
数据类型 数字
默认值 1.0
允许的值 0.0-1.0
参数类型 dynamic
Documentation auto_explain.sample_rate

azure.接受的密码认证方法

Attribute 价值
类别 自定义选项
Description 接受的密码身份验证方法。
数据类型 set
默认值 md5
允许的值 md5,scram-sha-256
参数类型 dynamic
Documentation azure.accepted_password_auth_method

azure_cdc.change_batch_buffer_size(更改批处理缓冲区大小)

Attribute 价值
类别 自定义选项
Description 用于更改批处理的缓冲区大小(以 MB 为单位)。 这些缓冲区用于在将 CDC 更改写入磁盘之前临时存储这些更改。
数据类型 整数
默认值 16
允许的值 1-100
参数类型 dynamic
Documentation

azure_cdc.change_batch_export_timeout

Attribute 价值
类别 自定义选项
Description 在一批更改准备好进行导出之前,可等待的最长的时间(以秒为单位)。
数据类型 整数
默认值 30
允许的值 10-60
参数类型 dynamic
Documentation

azure_cdc.max_fabric_mirrors

Attribute 价值
类别 自定义选项
Description 可以同时运行的并行构造镜像的最大数目。
数据类型 整数
默认值 3
允许的值 1-6
参数类型 静态的
Documentation

azure_cdc.max_snapshot_workers

Attribute 价值
类别 自定义选项
Description 为快照导出而启动的最工作线程数量上限。 每个工作线程一次会导出一个表。
数据类型 整数
默认值 3
允许的值 0-100
参数类型 dynamic
Documentation

azure_cdc.onelake_buffer_size

Attribute 价值
类别 自定义选项
Description 要上传到 Onelake 的缓冲区大小(以兆字节为单位)。 Onelake 以区块的形式上传文件,并将数据缓冲到内存中,直至达到此限制。
数据类型 整数
默认值 100
允许的值 1-1024
参数类型 dynamic
Documentation

azure_cdc.parquet_compression

Attribute 价值
类别 自定义选项
Description 用于 parquet 文件的压缩算法。 确定用于 parquet 文件的压缩算法。 支持的值为“未压缩”、“snappy”、“gzip”和“zstd”。
数据类型 枚举
默认值 zstd
允许的值 uncompressed,snappy,gzip,zstd
参数类型 dynamic
Documentation

azure_cdc.snapshot_buffer_size

Attribute 价值
类别 自定义选项
Description 初始快照缓冲区的最大大小(以 MB 为单位)。 每个表,在发送到 Fabric 之前会缓冲这么多数据。 请记住,azure_cdc.snapshot_buffer_size*azure_cdc.max_snapshot_workers 是初始快照期间使用的总内存缓冲区。
数据类型 整数
默认值 1000
允许的值 10-4000
参数类型 dynamic
Documentation

azure_cdc.snapshot_export_timeout

Attribute 价值
类别 自定义选项
Description 在导出数据库快照时,若出现错误,则允许等待的最长时间(以分钟为单位)。
数据类型 整数
默认值 180
允许的值 0-1440
参数类型 dynamic
Documentation

azure.enable_temp_tablespaces_on_local_ssd

Attribute 价值
类别 自定义选项
Description 在临时磁盘上创建临时表空间。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation

azure.extensions

Attribute 价值
类别 自定义选项
Description 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,age,amcheck,anon,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hll,hstore,hypopg,intagg,intarray,isn,lo,login_hook,ltree,oracle_fdw,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,tdigest,tds_fdw,timescaledb,topn,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 dynamic
Documentation azure.extensions

azure.fabric_mirror_enabled

Attribute 价值
类别 自定义选项
Description 指定指示是否在服务器上启用镜像的标志。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation azure.fabric_mirror_enabled

azure.migration_copy_with_binary

Attribute 价值
类别 自定义选项
Description 设置为 on 时,此参数将允许在迁移过程中使用二进制格式来复制数据。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_copy_with_binary

azure.migration_skip_analyze

Attribute 价值
类别 自定义选项
Description 设置为“启用”时,此参数将在迁移过程中跳过分析阶段(vacuumdb --analyze-only)。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_analyze

azure.migration_skip_extensions

Attribute 价值
类别 自定义选项
Description 设置为“开启”时,此参数将跳过扩展的迁移。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_extensions

azure.migration_skip_large_objects

Attribute 价值
类别 自定义选项
Description 设置为 on 时,此参数将跳过大型对象(如 BLOB)的迁移。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_large_objects

azure.migration_skip_role_user

Attribute 价值
类别 自定义选项
Description 设置为“启用”时,此参数将从迁移过程中排除用户角色。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_role_user

azure.migration_table_split_size

Attribute 价值
类别 自定义选项
Description 设置时,此参数指定在迁移期间将分区表的大小。
数据类型 整数
默认值 20480
允许的值 1-204800
参数类型 dynamic
Documentation azure.migration_table_split_size

azure.service_principal_id

Attribute 价值
类别 自定义选项
Description Azure 中服务主体的唯一标识符,用于授予租户中资源的权限和访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.service_principal_tenant_id

Attribute 价值
类别 自定义选项
Description 用于创建服务主体的租户的唯一标识符,确保该服务主体在该租户中具有必要的权限和资源访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.single_to_flex_migration

Attribute 价值
类别 自定义选项
Description 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation

azure_storage.allow_network_access

Attribute 价值
类别 自定义选项
Description 允许从 azure_storage 扩展访问 Azure 存储 BLOB 服务。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.allow_network_access

azure_storage.blob_block_size_mb

Attribute 价值
类别 自定义选项
Description PUT blob 操作的 blob 块大小(以兆字节为单位)。
数据类型 整数
默认值 取决于分配给服务器的资源(vCore、RAM 或磁盘空间)。
允许的值 1024
参数类型 只读的
Documentation azure_storage.blob_block_size_mb

特定于 Azure 的注释

预配 Azure Database for PostgreSQL 灵活服务器的实例时,会根据为其计算选择的产品名称计算 azure_storage.blob_block_size_mb 参数的默认值。 如果对支持该灵活服务器的计算进行任何后续产品选择更改,该实例的 azure_storage.blob_block_size_mb 服务器参数的默认值不受任何影响。

截止目前,如果你更改分配给实例的产品,则无法调整 azure_storage.blob_block_size_mb 参数的值,因为该参数已声明为只读。

用于计算 azure_storage.blob_block_size_mb 值的公式是 MIN(3072, MAX(128, memoryGiB * 32))

根据上一个公式,下表列出了此服务器参数将设置为的值,具体取决于预配的内存量:

内存大小 azure_storage.blob_block_size_mb
2 GiB 128 MiB
4 GiB 128 MiB
8 GiB 256 MiB
16 GiB 512 MiB
32 GiB 1024 MiB
48 GiB 1536 MiB
64 GiB 2048 MiB
80 GiB 2560 MiB
128 GiB 3072 MiB
160 GiB 3072 MiB
192 GiB 3072 MiB
256 GiB 3072 MiB
384 GiB 3072 MiB
432 GiB 3072 MiB
672 GiB 3072 MiB

azure_storage.log_level

Attribute 价值
类别 自定义选项
Description azure_storage 扩展使用的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,log,info,notice,warning,error
参数类型 dynamic
Documentation azure_storage.log_level

Azure存储.公共账户访问 (azure_storage.public_account_access)

Attribute 价值
类别 自定义选项
Description 允许所有用户访问没有凭据的存储帐户中的数据,存储帐户访问权限配置为公共。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.public_account_access

connection_throttle.bucket_limit

Attribute 价值
类别 自定义选项
Description 每个 Bucket 的最大登录令牌数。
数据类型 整数
默认值 2000
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.enable

Attribute 价值
类别 自定义选项
Description 启用基于 IP 的临时连接限制,以应对过多的登录失败。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

connection_throttle.factor_bias

Attribute 价值
类别 自定义选项
Description 用于计算 IP Bucket 的令牌数的因子偏差。
数据类型 数字
默认值 0.8
允许的值 0.0-0.9
参数类型 dynamic
Documentation

connection_throttle.hash_entries_max

Attribute 价值
类别 自定义选项
Description 登录失败哈希表中的最大条目数。
数据类型 整数
默认值 500
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.reset_time

Attribute 价值
类别 自定义选项
Description 重置登录 Bucket 的间隔时间。
数据类型 整数
默认值 120
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.restore_factor

Attribute 价值
类别 自定义选项
Description 对失败率较低的 IP 增加令牌数时所使用的因子。
数据类型 数字
默认值 2
允许的值 1.0-100.0
参数类型 dynamic
Documentation

connection_throttle.update_time

Attribute 价值
类别 自定义选项
Description 更新登录 Bucket 的间隔时间。
数据类型 整数
默认值 20
允许的值 1-2147483647
参数类型 dynamic
Documentation

cron.数据库名称

Attribute 价值
类别 自定义选项
Description 设置在其中保留 pg_cron 元数据的数据库。
数据类型 字符串
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 静态的
Documentation cron.database_name

cron.enable_superuser_jobs

Attribute 价值
类别 自定义选项
Description 允许以超级用户身份安排作业。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.enable_superuser_jobs

cron.host

Attribute 价值
类别 自定义选项
Description 要连接到 PostgreSQL 数据库的主机名。 使用后台辅助角色时,此设置不起作用。
数据类型 字符串
默认值 /tmp
允许的值 /tmp
参数类型 只读的
Documentation cron.host

cron.launch_active_jobs

Attribute 价值
类别 自定义选项
Description 启动被定义为活动的作业。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation cron.launch_active_jobs

cron.log_min_messages

Attribute 价值
类别 自定义选项
Description 启动器 bgworker 的 log_min_messages。
数据类型 枚举
默认值 warning
允许的值 warning
参数类型 只读的
Documentation cron.log_min_messages

cron.log_run

Attribute 价值
类别 自定义选项
Description 将所有作业运行记录到 job_run_details 表中。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_run

cron.log_statement

Attribute 价值
类别 自定义选项
Description 在执行之前记录所有 cron 语句。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_statement

cron.max_running_jobs

Attribute 价值
类别 自定义选项
Description 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 整数
默认值 32
允许的值 0-5000
参数类型 静态的
Documentation cron.max_running_jobs

cron.timezone

Attribute 价值
类别 自定义选项
Description 指定用于 cron 计划的时区。
数据类型 枚举
默认值 GMT
允许的值 GMT
参数类型 只读的
Documentation cron.timezone

cron.use_background_workers

Attribute 价值
类别 自定义选项
Description 使用后台工作者而不是客户端会话。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.use_background_workers

index_tuning.analysis_interval

Attribute 价值
类别 自定义选项
Description 将 index_tuning.mode 设置为“REPORT”时触发每个索引优化会话的频率。
数据类型 整数
默认值 720
允许的值 60-10080
参数类型 dynamic
Documentation index_tuning.analysis_interval

index_tuning.max_columns_per_index

Attribute 价值
类别 自定义选项
Description 任何建议索引的索引键中可以包含的最大列数。
数据类型 整数
默认值 2
允许的值 1-10
参数类型 dynamic
Documentation index_tuning.max_columns_per_index

索引调优.最大索引计数 (index_tuning.max_index_count)

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间可以为每个数据库推荐的最大索引数。
数据类型 整数
默认值 10
允许的值 1-25
参数类型 dynamic
Documentation index_tuning.max_index_count

index_tuning.max_indexes_per_table

Attribute 价值
类别 自定义选项
Description 每个表可推荐的最大索引数。
数据类型 整数
默认值 10
允许的值 1-25
参数类型 dynamic
Documentation index_tuning.max_indexes_per_table

index_tuning.max_queries_per_database

Attribute 价值
类别 自定义选项
Description 可向其推荐索引的每个数据库的最慢查询数。
数据类型 整数
默认值 25
允许的值 5-100
参数类型 dynamic
Documentation index_tuning.max_queries_per_database

index_tuning.max_regression_factor

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间所分析的任何查询上,由推荐的索引所引入的可接受回归。
数据类型 数字
默认值 0.1
允许的值 0.05-0.2
参数类型 dynamic
Documentation index_tuning.max_regression_factor

index_tuning.max_total_size_factor

Attribute 价值
类别 自定义选项
Description 任何给定数据库的所有建议索引所能使用的最大总空间占总磁盘空间的百分比。
数据类型 数字
默认值 0.1
允许的值 0-1.0
参数类型 dynamic
Documentation index_tuning.max_total_size_factor

index_tuning.min_improvement_factor

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间,建议的索引必须向至少一个所分析查询提供的成本改善幅度。
数据类型 数字
默认值 0.2
允许的值 0-20.0
参数类型 dynamic
Documentation index_tuning.min_improvement_factor

index_tuning.mode

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

index_tuning.unused_dml_per_table

Attribute 价值
类别 自定义选项
Description 影响表的每日平均 DML 操作的最小数量,超过此值时将考虑删除其未使用的索引。
数据类型 整数
默认值 1000
允许的值 0-9999999
参数类型 dynamic
Documentation index_tuning.unused_dml_per_table

index_tuning.unused_min_period

Attribute 价值
类别 自定义选项
Description 根据系统统计信息,未使用索引的最小天数,超过此值时将考虑删除索引。
数据类型 整数
默认值 35
允许的值 30-720
参数类型 dynamic
Documentation index_tuning.unused_min_period

index_tuning.unused_reads_per_table

Attribute 价值
类别 自定义选项
Description 影响表的每日平均读取操作的最小数量,超过此值时将考虑删除其未使用的索引。
数据类型 整数
默认值 1000
允许的值 0-9999999
参数类型 dynamic
Documentation index_tuning.unused_reads_per_table

logfiles.download_enable

Attribute 价值
类别 自定义选项
Description 启用或禁用服务器日志功能。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation logfiles.download_enable

logfiles.retention_days(日志文件保留天数)

Attribute 价值
类别 自定义选项
Description 设置服务器日志的保留期时间段(以天为单位)- 数据将在此时间之后被删除。
数据类型 整数
默认值 3
允许的值 1-7
参数类型 dynamic
Documentation 日志文件.保留天数

pgaadauth.enable_group_sync

Attribute 价值
类别 自定义选项
Description 启用对 Entra ID 组成员的同步。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

pgaudit.log

Attribute 价值
类别 自定义选项
Description 指定会话审核日志将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 dynamic
Documentation pgaudit.log

pgaudit.log_catalog

Attribute 价值
类别 自定义选项
Description 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_catalog

pgaudit.log_client

Attribute 价值
类别 自定义选项
Description 指定审核消息是否应对客户端可见。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_client

pgaudit.log_level

Attribute 价值
类别 自定义选项
Description 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 dynamic
Documentation pgaudit.log_level

pgaudit.log_parameter

Attribute 价值
类别 自定义选项
Description 指定审核日志应包含随语句一起传递的参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_parameter

pgaudit.log_relation

Attribute 价值
类别 自定义选项
Description 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_relation

pgaudit.log_statement_once

Attribute 价值
类别 自定义选项
Description 指定在日志记录中,语句文本和参数是仅在语句/子语句组合的第一个日志条目中包含,还是在每个条目中都包含。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement_once

pgaudit.role

Attribute 价值
类别 自定义选项
Description 指定要用于对象审核日志的主角色。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pgaudit.role

pg_failover_slots.drop_extra_slots

Attribute 价值
类别 自定义选项
Description 是否删除与 pg_failover_slots.synchronize_slot_names 不匹配的额外备用槽位。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_failover_slots.drop_extra_slots

pg_failover_slots.primary_dsn

Attribute 价值
类别 自定义选项
Description 用于在备用服务器上同步逻辑复制槽的主服务器连接串。 如果为空,则使用默认值primary_conninfo。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pg_failover_slots.primary_dsn

pg_failover_slots.standby_slot_names

Attribute 价值
类别 自定义选项
Description 在解码插件发送更改之前,必须确认的槽名称列表。 物理复制槽列表,在输出插件将某个 LSN 之前的提交复制到逻辑对等方之前,必须确认该 LSN 的持久化刷新。 在逻辑复制之前强制执行物理复制的顺序。
数据类型 字符串
默认值 azure_standby_, wal_replica_
允许的值 azure_standby_, wal_replica_
参数类型 只读的
Documentation pg_failover_slots.standby_slot_names

pg_failover_slots.standby_slots_min_confirmed

Attribute 价值
类别 自定义选项
Description pg_failover_slots.standby_slot_names 的槽位数量,这些槽位必须确认 LSN。 修改 pg_failover_slots.standby_slot_names 的行为,以便在至少有 pg_failover_slots.standby_slots_min_confirmed 个物理对等方确认该事务已成功持久刷新之后,能够对事务进行逻辑复制。 值 -1(默认值)表示 pg_failover_slots.standby_slot_names 中的所有条目必须确认写入。 当取值为 0 时,pg_failover_slots.standby_slots_min_confirmed 将被有效地忽略。
数据类型 整数
默认值 1
允许的值 1
参数类型 只读的
Documentation pg_failover_slots.standby_slots_min_confirmed

pg_failover_slots.synchronize_slot_names

Attribute 价值
类别 自定义选项
Description 要从主服务器同步到物理备用服务器的插槽列表。
数据类型 字符串
默认值 name_like:%%
允许的值 name_like:%%
参数类型 只读的
Documentation pg_failover_slots.synchronize_slot_names

pg_failover_slots.version

Attribute 价值
类别 自定义选项
Description pg_failover_slots模块版本。
数据类型 字符串
默认值 1.0.1
允许的值 1.0.1
参数类型 只读的
Documentation pg_failover_slots.version

pg_failover_slots.wait_for_inactive_slots

Attribute 价值
类别 自定义选项
Description 是否要等待主服务器上处于闲置状态的复制槽位来与备用服务器同步。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_failover_slots.wait_for_inactive_slots

pg_hint_plan.debug_print

Attribute 价值
类别 自定义选项
Description 记录提示分析的结果。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.debug_print

pg_hint_plan.enable_hint

Attribute 价值
类别 自定义选项
Description 强制规划器使用查询前面的提示注释中指定的计划。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_hint_plan.enable_hint

pg_hint_plan.enable_hint_table

Attribute 价值
类别 自定义选项
Description 让 pg_hint_plan 去查找提示表。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.enable_hint_table

pg_hint_plan.hints_anywhere

Attribute 价值
类别 自定义选项
Description 从查询中的任何位置读取提示。 此选项允许pg_hint_plan忽略语法,因此对误读应谨慎。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.hints_anywhere

pg_hint_plan.message_level

Attribute 价值
类别 自定义选项
Description 调试消息的消息级别。
数据类型 枚举
默认值 log
允许的值 log
参数类型 只读的
Documentation pg_hint_plan.message_level

pg_hint_plan.parse_messages

Attribute 价值
类别 自定义选项
Description 解析错误的信息级别。
数据类型 枚举
默认值 info
允许的值 info
参数类型 只读的
Documentation pg_hint_plan.parse_messages

pglogical.batch_inserts

Attribute 价值
类别 自定义选项
Description 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pglogical.batch_inserts

pglogical.conflict_log_level

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

pglogical.conflict_resolution (冲突解决)

Attribute 价值
类别 自定义选项
Description 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 dynamic
Documentation pglogical.conflict_resolution

pglogical.extra_connection_options

Attribute 价值
类别 自定义选项
Description 添加到所有对等节点连接的连接选项。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.extra_connection_options

pglogical.synchronous_commit

Attribute 价值
类别 自定义选项
Description pglogical 特定的同步提交值。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pglogical.synchronous_commit

pglogical.temp_directory

Attribute 价值
类别 自定义选项
Description 用于存储本地还原用的备份文件的目录。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.temp_directory

pglogical.use_spi

Attribute 价值
类别 自定义选项
Description 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pglogical.use_spi

pgms_stats.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation

pgms_wait_sampling.history_period

Attribute 价值
类别 自定义选项
Description 设置等待事件采样的频率(以毫秒为单位)。
数据类型 整数
默认值 100
允许的值 1-600000
参数类型 dynamic
Documentation pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为“关闭”,则会禁用等待采样,即使为 pgms_wait_sampling.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

Attribute 价值
类别 自定义选项
Description 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 dynamic
Documentation pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.analyze

pg_partman_bgw.dbname

Attribute 价值
类别 自定义选项
Description 必填。 用于运行 run_maintenance() 的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 字符串
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 dynamic
Documentation pg_partman_bgw.dbname

pg_partman_bgw.interval

Attribute 价值
类别 自定义选项
Description 调用 run_maintenance() 的间隔秒数。
数据类型 整数
默认值 3600
允许的值 1-315360000
参数类型 dynamic
Documentation pg_partman_bgw.interval

pg_partman_bgw.jobmon

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.jobmon

pg_partman_bgw.role

Attribute 价值
类别 自定义选项
Description 用于运行 run_maintenance() 的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pg_partman_bgw.role

pg_prewarm.autoprewarm

Attribute 价值
类别 自定义选项
Description 启动自动预热工作线程。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_prewarm.autoprewarm

pg_prewarm.autoprewarm_interval

Attribute 价值
类别 自定义选项
Description 设置共享缓冲区转储之间的间隔。 如果设置为 0,则禁用基于时间的转储。
数据类型 整数
默认值 300
允许的值 300
参数类型 只读的
Documentation pg_prewarm.autoprewarm_interval

pg_qs.interval_length_minutes

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 整数
默认值 15
允许的值 1-30
参数类型 静态的
Documentation pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为关闭,将禁用查询存储,即使为 pg_qs.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_qs.is_enabled_fs

pg_qs.max_plan_size

Attribute 价值
类别 自定义选项
Description 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 整数
默认值 7500
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_plan_size

pg_qs.max_query_text_length

Attribute 价值
类别 自定义选项
Description 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 整数
默认值 6000
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_query_text_length

pg_qs.parameters_capture_mode

Attribute 价值
类别 自定义选项
Description 是否以及何时捕获查询位置参数。
数据类型 枚举
默认值 capture_parameterless_only
允许的值 capture_parameterless_only,capture_first_sample
参数类型 dynamic
Documentation pg_qs.parameters_capture_mode

pg_qs.query_capture_mode

Attribute 价值
类别 自定义选项
Description 设置查询存储库的查询捕获模式。 “无”表示禁用所有捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_qs.query_capture_mode

pg_qs.retention_period_in_days

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 整数
默认值 7
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.保留周期(天)

pg_qs.store_query_plans

Attribute 价值
类别 自定义选项
Description 为 pg_qs 启用或禁用查询计划
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.store_query_plans

pg_qs.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_qs 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.track_utility

pg_stat_statements.max

Attribute 价值
类别 自定义选项
Description 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 整数
默认值 5000
允许的值 100-2147483647
参数类型 静态的
Documentation pg_stat_statements.max

pg_stat_statements.save

Attribute 价值
类别 自定义选项
Description 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.save

pg_stat_statements.track

Attribute 价值
类别 自定义选项
Description 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_stat_statements.track

pg_stat_statements.track_planning

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪计划持续时间。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_planning

pg_stat_statements.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

Attribute 价值
类别 自定义选项
Description 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 dynamic
Documentation postgis.gdal_enabled_drivers

squeeze.max_xlock_time

Attribute 价值
类别 自定义选项
Description 已处理表可以被独占锁定的最长时间。 源表在处理的最后阶段以独占方式锁定。 如果锁定时间应超过此值,则会释放锁,最后阶段将重试几次。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation squeeze.max_xlock_time

squeeze.worker_autostart

Attribute 价值
类别 自定义选项
Description 后台工作线程自动启动的数据库的名称。 群集启动完成后立即开始压缩工作线程的数据库的逗号分隔列表。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_autostart

squeeze.worker_role

Attribute 价值
类别 自定义选项
Description 后台工作者连接数据库时使用的角色。 如果在群集启动时自动启动后台工作进程,它将使用此角色来启动数据库连接。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_role

timescaledb.bgw_launcher_poll_time

Attribute 价值
类别 自定义选项
Description 启动器超时值(以毫秒为单位)。 配置启动器等待查找新的 TimescaleDB 实例的时间。
数据类型 整数
默认值 60000
允许的值 60000
参数类型 只读的
Documentation timescaledb.bgw_launcher_poll_time

timescaledb.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb.disable_load

timescaledb.max_background_workers

Attribute 价值
类别 自定义选项
Description 分配给 TimescaleDB 的最大后台工作线程数。 分配给 TimescaleDB 的最大后台工作线程 - 设置为至少 1 + Postgres 实例中的数据库数量,以使用后台工作线程。
数据类型 整数
默认值 16
允许的值 16
参数类型 只读的
Documentation timescaledb.max_background_workers

timescaledb_osm.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb_osm.disable_load

anon.algorithm

Attribute 价值
类别 自定义选项
Description 用于假名化函数的哈希方法。
数据类型 字符串
默认值 sha256
允许的值 sha256
参数类型 只读的
Documentation anon.algorithm

anon.k_anonymity_provider

Attribute 价值
类别 自定义选项
Description 用于 k 匿名的安全标签提供程序。
数据类型 字符串
默认值 k_anonymity
允许的值 k_anonymity
参数类型 只读的
Documentation anon.k_anonymity_provider

anon.masking_policies

Attribute 价值
类别 自定义选项
Description 定义多个掩码策略(尚未实现)。
数据类型 字符串
默认值 anon
允许的值 anon
参数类型 只读的
Documentation anon.masking_policies

anon.maskschema

Attribute 价值
类别 自定义选项
Description 存储动态掩码视图的架构。
数据类型 字符串
默认值 mask
允许的值 mask
参数类型 只读的
Documentation anon.maskschema

anon.privacy_by_default

Attribute 价值
类别 自定义选项
Description 使用 NULL(或 NOT NULL 列的默认值)屏蔽所有列。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.privacy_by_default

anon.restrict_to_trusted_schemas

Attribute 价值
类别 自定义选项
Description 屏蔽筛选器必须位于受信任架构中。 激活此选项可防止非超级用户使用其自己的屏蔽筛选器。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.restrict_to_trusted_schemas

anon.salt

Attribute 价值
类别 自定义选项
Description 用于假名化函数的盐值。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation anon.salt

anon.sourceschema

Attribute 价值
类别 自定义选项
Description 动态掩码引擎屏蔽表时采用的架构。
数据类型 字符串
默认值 public
允许的值 public
参数类型 只读的
Documentation anon.sourceschema

anon.strict_mode

Attribute 价值
类别 自定义选项
Description 掩码规则无法更改列数据类型,除非禁用它。 不建议禁用此模式。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.strict_mode

anon.transparent_dynamic_masking

Attribute 价值
类别 自定义选项
Description 新的掩码引擎(实验性)。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.transparent_dynamic_masking

auto_explain.log_analyze

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN ANALYZE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_analyze

auto_explain.log_buffers

Attribute 价值
类别 自定义选项
Description 记录缓冲区使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_buffers

auto_explain.log_format

Attribute 价值
类别 自定义选项
Description 用于记录计划的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 dynamic
Documentation auto_explain.log_format

auto_explain.log_level

Attribute 价值
类别 自定义选项
Description 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 dynamic
Documentation auto_explain.log_level

auto_explain.log_min_duration

Attribute 价值
类别 自定义选项
Description 设置记录计划的最低执行时间阈值,只有超过此执行时间的计划才会被记录。 零表示输出所有计划。 -1 关闭此功能。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_min_duration

auto_explain.log_nested_statements

Attribute 价值
类别 自定义选项
Description 记录嵌套语句。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_nested_statements

auto_explain.log_settings

Attribute 价值
类别 自定义选项
Description 记录影响查询计划的已修改配置参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_settings

auto_explain.log_timing

Attribute 价值
类别 自定义选项
Description 收集计时数据,而不仅仅是行计数。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_timing

auto_explain.log_triggers

Attribute 价值
类别 自定义选项
Description 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_triggers

auto_explain.log_verbose

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN VERBOSE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_verbose

auto_explain.sample_rate

Attribute 价值
类别 自定义选项
Description 要处理的查询的占比。
数据类型 数字
默认值 1.0
允许的值 0.0-1.0
参数类型 dynamic
Documentation auto_explain.sample_rate

azure.接受的密码认证方法

Attribute 价值
类别 自定义选项
Description 接受的密码身份验证方法。
数据类型 set
默认值 md5
允许的值 md5,scram-sha-256
参数类型 dynamic
Documentation azure.accepted_password_auth_method

azure.enable_temp_tablespaces_on_local_ssd

Attribute 价值
类别 自定义选项
Description 在临时磁盘上创建临时表空间。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

azure.extensions

Attribute 价值
类别 自定义选项
Description 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,amcheck,anon,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hll,hstore,hypopg,intagg,intarray,isn,lo,login_hook,ltree,oracle_fdw,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,tdigest,tds_fdw,timescaledb,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 dynamic
Documentation azure.extensions

azure.migration_copy_with_binary

Attribute 价值
类别 自定义选项
Description 设置为 on 时,此参数将允许在迁移过程中使用二进制格式来复制数据。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_copy_with_binary

azure.migration_skip_analyze

Attribute 价值
类别 自定义选项
Description 设置为“启用”时,此参数将在迁移过程中跳过分析阶段(vacuumdb --analyze-only)。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_analyze

azure.migration_skip_extensions

Attribute 价值
类别 自定义选项
Description 设置为“开启”时,此参数将跳过扩展的迁移。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_extensions

azure.migration_skip_large_objects

Attribute 价值
类别 自定义选项
Description 设置为 on 时,此参数将跳过大型对象(如 BLOB)的迁移。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_large_objects

azure.migration_skip_role_user

Attribute 价值
类别 自定义选项
Description 设置为“启用”时,此参数将从迁移过程中排除用户角色。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_role_user

azure.migration_table_split_size

Attribute 价值
类别 自定义选项
Description 设置时,此参数指定在迁移期间将分区表的大小。
数据类型 整数
默认值 20480
允许的值 1-204800
参数类型 dynamic
Documentation azure.migration_table_split_size

azure.single_to_flex_migration

Attribute 价值
类别 自定义选项
Description 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation

azure_storage.allow_network_access

Attribute 价值
类别 自定义选项
Description 允许从 azure_storage 扩展访问 Azure 存储 BLOB 服务。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.allow_network_access

azure_storage.blob_block_size_mb

Attribute 价值
类别 自定义选项
Description PUT blob 操作的 blob 块大小(以兆字节为单位)。
数据类型 整数
默认值 取决于分配给服务器的资源(vCore、RAM 或磁盘空间)。
允许的值 1024
参数类型 只读的
Documentation azure_storage.blob_block_size_mb

特定于 Azure 的注释

预配 Azure Database for PostgreSQL 灵活服务器的实例时,会根据为其计算选择的产品名称计算 azure_storage.blob_block_size_mb 参数的默认值。 如果对支持该灵活服务器的计算进行任何后续产品选择更改,该实例的 azure_storage.blob_block_size_mb 服务器参数的默认值不受任何影响。

截止目前,如果你更改分配给实例的产品,则无法调整 azure_storage.blob_block_size_mb 参数的值,因为该参数已声明为只读。

用于计算 azure_storage.blob_block_size_mb 值的公式是 MIN(3072, MAX(128, memoryGiB * 32))

根据上一个公式,下表列出了此服务器参数将设置为的值,具体取决于预配的内存量:

内存大小 azure_storage.blob_block_size_mb
2 GiB 128 MiB
4 GiB 128 MiB
8 GiB 256 MiB
16 GiB 512 MiB
32 GiB 1024 MiB
48 GiB 1536 MiB
64 GiB 2048 MiB
80 GiB 2560 MiB
128 GiB 3072 MiB
160 GiB 3072 MiB
192 GiB 3072 MiB
256 GiB 3072 MiB
384 GiB 3072 MiB
432 GiB 3072 MiB
672 GiB 3072 MiB

azure_storage.log_level

Attribute 价值
类别 自定义选项
Description azure_storage 扩展使用的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,log,info,notice,warning,error
参数类型 dynamic
Documentation azure_storage.log_level

Azure存储.公共账户访问 (azure_storage.public_account_access)

Attribute 价值
类别 自定义选项
Description 允许所有用户访问没有凭据的存储帐户中的数据,存储帐户访问权限配置为公共。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.public_account_access

connection_throttle.bucket_limit

Attribute 价值
类别 自定义选项
Description 每个 Bucket 的最大登录令牌数。
数据类型 整数
默认值 2000
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.enable

Attribute 价值
类别 自定义选项
Description 启用基于 IP 的临时连接限制,以应对过多的登录失败。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

connection_throttle.factor_bias

Attribute 价值
类别 自定义选项
Description 用于计算 IP Bucket 的令牌数的因子偏差。
数据类型 数字
默认值 0.8
允许的值 0.0-0.9
参数类型 dynamic
Documentation

connection_throttle.hash_entries_max

Attribute 价值
类别 自定义选项
Description 登录失败哈希表中的最大条目数。
数据类型 整数
默认值 500
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.reset_time

Attribute 价值
类别 自定义选项
Description 重置登录 Bucket 的间隔时间。
数据类型 整数
默认值 120
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.restore_factor

Attribute 价值
类别 自定义选项
Description 对失败率较低的 IP 增加令牌数时所使用的因子。
数据类型 数字
默认值 2
允许的值 1.0-100.0
参数类型 dynamic
Documentation

connection_throttle.update_time

Attribute 价值
类别 自定义选项
Description 更新登录 Bucket 的间隔时间。
数据类型 整数
默认值 20
允许的值 1-2147483647
参数类型 dynamic
Documentation

cron.数据库名称

Attribute 价值
类别 自定义选项
Description 设置在其中保留 pg_cron 元数据的数据库。
数据类型 字符串
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 静态的
Documentation cron.database_name

cron.enable_superuser_jobs

Attribute 价值
类别 自定义选项
Description 允许以超级用户身份安排作业。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.enable_superuser_jobs

cron.host

Attribute 价值
类别 自定义选项
Description 要连接到 PostgreSQL 数据库的主机名。 使用后台辅助角色时,此设置不起作用。
数据类型 字符串
默认值 /tmp
允许的值 /tmp
参数类型 只读的
Documentation cron.host

cron.launch_active_jobs

Attribute 价值
类别 自定义选项
Description 启动被定义为活动的作业。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation cron.launch_active_jobs

cron.log_min_messages

Attribute 价值
类别 自定义选项
Description 启动器 bgworker 的 log_min_messages。
数据类型 枚举
默认值 warning
允许的值 warning
参数类型 只读的
Documentation cron.log_min_messages

cron.log_run

Attribute 价值
类别 自定义选项
Description 将所有作业运行记录到 job_run_details 表中。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_run

cron.log_statement

Attribute 价值
类别 自定义选项
Description 在执行之前记录所有 cron 语句。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_statement

cron.max_running_jobs

Attribute 价值
类别 自定义选项
Description 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 整数
默认值 32
允许的值 0-5000
参数类型 静态的
Documentation cron.max_running_jobs

cron.timezone

Attribute 价值
类别 自定义选项
Description 指定用于 cron 计划的时区。
数据类型 枚举
默认值 GMT
允许的值 GMT
参数类型 只读的
Documentation cron.timezone

cron.use_background_workers

Attribute 价值
类别 自定义选项
Description 使用后台工作者而不是客户端会话。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.use_background_workers

index_tuning.analysis_interval

Attribute 价值
类别 自定义选项
Description 将 index_tuning.mode 设置为“REPORT”时触发每个索引优化会话的频率。
数据类型 整数
默认值 720
允许的值 60-10080
参数类型 dynamic
Documentation index_tuning.analysis_interval

index_tuning.max_columns_per_index

Attribute 价值
类别 自定义选项
Description 任何建议索引的索引键中可以包含的最大列数。
数据类型 整数
默认值 2
允许的值 1-10
参数类型 dynamic
Documentation index_tuning.max_columns_per_index

索引调优.最大索引计数 (index_tuning.max_index_count)

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间可以为每个数据库推荐的最大索引数。
数据类型 整数
默认值 10
允许的值 1-25
参数类型 dynamic
Documentation index_tuning.max_index_count

index_tuning.max_indexes_per_table

Attribute 价值
类别 自定义选项
Description 每个表可推荐的最大索引数。
数据类型 整数
默认值 10
允许的值 1-25
参数类型 dynamic
Documentation index_tuning.max_indexes_per_table

index_tuning.max_queries_per_database

Attribute 价值
类别 自定义选项
Description 可向其推荐索引的每个数据库的最慢查询数。
数据类型 整数
默认值 25
允许的值 5-100
参数类型 dynamic
Documentation index_tuning.max_queries_per_database

index_tuning.max_regression_factor

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间所分析的任何查询上,由推荐的索引所引入的可接受回归。
数据类型 数字
默认值 0.1
允许的值 0.05-0.2
参数类型 dynamic
Documentation index_tuning.max_regression_factor

index_tuning.max_total_size_factor

Attribute 价值
类别 自定义选项
Description 任何给定数据库的所有建议索引所能使用的最大总空间占总磁盘空间的百分比。
数据类型 数字
默认值 0.1
允许的值 0-1.0
参数类型 dynamic
Documentation index_tuning.max_total_size_factor

index_tuning.min_improvement_factor

Attribute 价值
类别 自定义选项
Description 在一个优化会话期间,建议的索引必须向至少一个所分析查询提供的成本改善幅度。
数据类型 数字
默认值 0.2
允许的值 0-20.0
参数类型 dynamic
Documentation index_tuning.min_improvement_factor

index_tuning.mode

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

index_tuning.unused_dml_per_table

Attribute 价值
类别 自定义选项
Description 影响表的每日平均 DML 操作的最小数量,超过此值时将考虑删除其未使用的索引。
数据类型 整数
默认值 1000
允许的值 0-9999999
参数类型 dynamic
Documentation index_tuning.unused_dml_per_table

index_tuning.unused_min_period

Attribute 价值
类别 自定义选项
Description 根据系统统计信息,未使用索引的最小天数,超过此值时将考虑删除索引。
数据类型 整数
默认值 35
允许的值 30-720
参数类型 dynamic
Documentation index_tuning.unused_min_period

index_tuning.unused_reads_per_table

Attribute 价值
类别 自定义选项
Description 影响表的每日平均读取操作的最小数量,超过此值时将考虑删除其未使用的索引。
数据类型 整数
默认值 1000
允许的值 0-9999999
参数类型 dynamic
Documentation index_tuning.unused_reads_per_table

logfiles.download_enable

Attribute 价值
类别 自定义选项
Description 启用或禁用服务器日志功能。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation logfiles.download_enable

logfiles.retention_days(日志文件保留天数)

Attribute 价值
类别 自定义选项
Description 设置服务器日志的保留期时间段(以天为单位)- 数据将在此时间之后被删除。
数据类型 整数
默认值 3
允许的值 1-7
参数类型 dynamic
Documentation 日志文件.保留天数

pgaadauth.enable_group_sync

Attribute 价值
类别 自定义选项
Description 启用对 Entra ID 组成员的同步。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

pgaudit.log

Attribute 价值
类别 自定义选项
Description 指定会话审核日志将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 dynamic
Documentation pgaudit.log

pgaudit.log_catalog

Attribute 价值
类别 自定义选项
Description 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_catalog

pgaudit.log_client

Attribute 价值
类别 自定义选项
Description 指定审核消息是否应对客户端可见。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_client

pgaudit.log_level

Attribute 价值
类别 自定义选项
Description 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 dynamic
Documentation pgaudit.log_level

pgaudit.log_parameter

Attribute 价值
类别 自定义选项
Description 指定审核日志应包含随语句一起传递的参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_parameter

pgaudit.log_relation

Attribute 价值
类别 自定义选项
Description 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_relation

pgaudit.log_statement_once

Attribute 价值
类别 自定义选项
Description 指定在日志记录中,语句文本和参数是仅在语句/子语句组合的第一个日志条目中包含,还是在每个条目中都包含。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement_once

pgaudit.role

Attribute 价值
类别 自定义选项
Description 指定要用于对象审核日志的主角色。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pgaudit.role

pg_failover_slots.drop_extra_slots

Attribute 价值
类别 自定义选项
Description 是否删除与 pg_failover_slots.synchronize_slot_names 不匹配的额外备用槽位。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_failover_slots.drop_extra_slots

pg_failover_slots.primary_dsn

Attribute 价值
类别 自定义选项
Description 用于在备用服务器上同步逻辑复制槽的主服务器连接串。 如果为空,则使用默认值primary_conninfo。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pg_failover_slots.primary_dsn

pg_failover_slots.standby_slot_names

Attribute 价值
类别 自定义选项
Description 在解码插件发送更改之前,必须确认的槽名称列表。 物理复制槽列表,在输出插件将某个 LSN 之前的提交复制到逻辑对等方之前,必须确认该 LSN 的持久化刷新。 在逻辑复制之前强制执行物理复制的顺序。
数据类型 字符串
默认值 azure_standby_, wal_replica_
允许的值 azure_standby_, wal_replica_
参数类型 只读的
Documentation pg_failover_slots.standby_slot_names

pg_failover_slots.standby_slots_min_confirmed

Attribute 价值
类别 自定义选项
Description pg_failover_slots.standby_slot_names 的槽位数量,这些槽位必须确认 LSN。 修改 pg_failover_slots.standby_slot_names 的行为,以便在至少有 pg_failover_slots.standby_slots_min_confirmed 个物理对等方确认该事务已成功持久刷新之后,能够对事务进行逻辑复制。 值 -1(默认值)表示 pg_failover_slots.standby_slot_names 中的所有条目必须确认写入。 当取值为 0 时,pg_failover_slots.standby_slots_min_confirmed 将被有效地忽略。
数据类型 整数
默认值 1
允许的值 1
参数类型 只读的
Documentation pg_failover_slots.standby_slots_min_confirmed

pg_failover_slots.synchronize_slot_names

Attribute 价值
类别 自定义选项
Description 要从主服务器同步到物理备用服务器的插槽列表。
数据类型 字符串
默认值 name_like:%%
允许的值 name_like:%%
参数类型 只读的
Documentation pg_failover_slots.synchronize_slot_names

pg_failover_slots.version

Attribute 价值
类别 自定义选项
Description pg_failover_slots模块版本。
数据类型 字符串
默认值 1.0.1
允许的值 1.0.1
参数类型 只读的
Documentation pg_failover_slots.version

pg_failover_slots.wait_for_inactive_slots

Attribute 价值
类别 自定义选项
Description 是否要等待主服务器上处于闲置状态的复制槽位来与备用服务器同步。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_failover_slots.wait_for_inactive_slots

pg_hint_plan.debug_print

Attribute 价值
类别 自定义选项
Description 记录提示分析的结果。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.debug_print

pg_hint_plan.enable_hint

Attribute 价值
类别 自定义选项
Description 强制规划器使用查询前面的提示注释中指定的计划。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_hint_plan.enable_hint

pg_hint_plan.enable_hint_table

Attribute 价值
类别 自定义选项
Description 让 pg_hint_plan 去查找提示表。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.enable_hint_table

pg_hint_plan.message_level

Attribute 价值
类别 自定义选项
Description 调试消息的消息级别。
数据类型 枚举
默认值 log
允许的值 log
参数类型 只读的
Documentation pg_hint_plan.message_level

pg_hint_plan.parse_messages

Attribute 价值
类别 自定义选项
Description 解析错误的信息级别。
数据类型 枚举
默认值 info
允许的值 info
参数类型 只读的
Documentation pg_hint_plan.parse_messages

pglogical.batch_inserts

Attribute 价值
类别 自定义选项
Description 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pglogical.batch_inserts

pglogical.conflict_log_level

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

pglogical.conflict_resolution (冲突解决)

Attribute 价值
类别 自定义选项
Description 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 dynamic
Documentation pglogical.conflict_resolution

pglogical.extra_connection_options

Attribute 价值
类别 自定义选项
Description 添加到所有对等节点连接的连接选项。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.extra_connection_options

pglogical.synchronous_commit

Attribute 价值
类别 自定义选项
Description pglogical 特定的同步提交值。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pglogical.synchronous_commit

pglogical.temp_directory

Attribute 价值
类别 自定义选项
Description 用于存储本地还原用的备份文件的目录。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.temp_directory

pglogical.use_spi

Attribute 价值
类别 自定义选项
Description 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pglogical.use_spi

pgms_stats.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation

pgms_wait_sampling.history_period

Attribute 价值
类别 自定义选项
Description 设置等待事件采样的频率(以毫秒为单位)。
数据类型 整数
默认值 100
允许的值 1-600000
参数类型 dynamic
Documentation pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为“关闭”,则会禁用等待采样,即使为 pgms_wait_sampling.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

Attribute 价值
类别 自定义选项
Description 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 dynamic
Documentation pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.analyze

pg_partman_bgw.dbname

Attribute 价值
类别 自定义选项
Description 必填。 用于运行 run_maintenance() 的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 字符串
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 dynamic
Documentation pg_partman_bgw.dbname

pg_partman_bgw.interval

Attribute 价值
类别 自定义选项
Description 调用 run_maintenance() 的间隔秒数。
数据类型 整数
默认值 3600
允许的值 1-315360000
参数类型 dynamic
Documentation pg_partman_bgw.interval

pg_partman_bgw.jobmon

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.jobmon

pg_partman_bgw.role

Attribute 价值
类别 自定义选项
Description 用于运行 run_maintenance() 的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pg_partman_bgw.role

pg_prewarm.autoprewarm

Attribute 价值
类别 自定义选项
Description 启动自动预热工作线程。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_prewarm.autoprewarm

pg_prewarm.autoprewarm_interval

Attribute 价值
类别 自定义选项
Description 设置共享缓冲区转储之间的间隔。 如果设置为 0,则禁用基于时间的转储。
数据类型 整数
默认值 300
允许的值 300
参数类型 只读的
Documentation pg_prewarm.autoprewarm_interval

pg_qs.interval_length_minutes

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 整数
默认值 15
允许的值 1-30
参数类型 静态的
Documentation pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为关闭,将禁用查询存储,即使为 pg_qs.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_qs.is_enabled_fs

pg_qs.max_plan_size

Attribute 价值
类别 自定义选项
Description 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 整数
默认值 7500
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_plan_size

pg_qs.max_query_text_length

Attribute 价值
类别 自定义选项
Description 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 整数
默认值 6000
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_query_text_length

pg_qs.parameters_capture_mode

Attribute 价值
类别 自定义选项
Description 是否以及何时捕获查询位置参数。
数据类型 枚举
默认值 capture_parameterless_only
允许的值 capture_parameterless_only,capture_first_sample
参数类型 dynamic
Documentation pg_qs.parameters_capture_mode

pg_qs.query_capture_mode

Attribute 价值
类别 自定义选项
Description 设置查询存储库的查询捕获模式。 “无”表示禁用所有捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_qs.query_capture_mode

pg_qs.retention_period_in_days

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 整数
默认值 7
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.保留周期(天)

pg_qs.store_query_plans

Attribute 价值
类别 自定义选项
Description 为 pg_qs 启用或禁用查询计划
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.store_query_plans

pg_qs.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_qs 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.track_utility

pg_stat_statements.max

Attribute 价值
类别 自定义选项
Description 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 整数
默认值 5000
允许的值 100-2147483647
参数类型 静态的
Documentation pg_stat_statements.max

pg_stat_statements.save

Attribute 价值
类别 自定义选项
Description 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.save

pg_stat_statements.track

Attribute 价值
类别 自定义选项
Description 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_stat_statements.track

pg_stat_statements.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

Attribute 价值
类别 自定义选项
Description 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 dynamic
Documentation postgis.gdal_enabled_drivers

squeeze.max_xlock_time

Attribute 价值
类别 自定义选项
Description 已处理表可以被独占锁定的最长时间。 源表在处理的最后阶段以独占方式锁定。 如果锁定时间应超过此值,则会释放锁,最后阶段将重试几次。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation squeeze.max_xlock_time

squeeze.worker_autostart

Attribute 价值
类别 自定义选项
Description 后台工作线程自动启动的数据库的名称。 群集启动完成后立即开始压缩工作线程的数据库的逗号分隔列表。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_autostart

squeeze.worker_role

Attribute 价值
类别 自定义选项
Description 后台工作者连接数据库时使用的角色。 如果在群集启动时自动启动后台工作进程,它将使用此角色来启动数据库连接。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_role

timescaledb.bgw_launcher_poll_time

Attribute 价值
类别 自定义选项
Description 启动器超时值(以毫秒为单位)。 配置启动器等待查找新的 TimescaleDB 实例的时间。
数据类型 整数
默认值 60000
允许的值 60000
参数类型 只读的
Documentation timescaledb.bgw_launcher_poll_time

timescaledb.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb.disable_load

timescaledb.max_background_workers

Attribute 价值
类别 自定义选项
Description 分配给 TimescaleDB 的最大后台工作线程数。 分配给 TimescaleDB 的最大后台工作线程 - 设置为至少 1 + Postgres 实例中的数据库数量,以使用后台工作线程。
数据类型 整数
默认值 16
允许的值 16
参数类型 只读的
Documentation timescaledb.max_background_workers

auto_explain.log_analyze

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN ANALYZE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_analyze

auto_explain.log_buffers

Attribute 价值
类别 自定义选项
Description 记录缓冲区使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_buffers

auto_explain.log_format

Attribute 价值
类别 自定义选项
Description 用于记录计划的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 dynamic
Documentation auto_explain.log_format

auto_explain.log_min_duration

Attribute 价值
类别 自定义选项
Description 设置记录计划的最低执行时间阈值,只有超过此执行时间的计划才会被记录。 零表示输出所有计划。 -1 关闭此功能。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_min_duration

auto_explain.log_nested_statements

Attribute 价值
类别 自定义选项
Description 记录嵌套语句。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_nested_statements

auto_explain.log_timing

Attribute 价值
类别 自定义选项
Description 收集计时数据,而不仅仅是行计数。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_timing

auto_explain.log_triggers

Attribute 价值
类别 自定义选项
Description 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_triggers

auto_explain.log_verbose

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN VERBOSE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_verbose

auto_explain.sample_rate

Attribute 价值
类别 自定义选项
Description 要处理的查询的占比。
数据类型 数字
默认值 1.0
允许的值 0.0-1.0
参数类型 dynamic
Documentation auto_explain.sample_rate

azure.接受的密码认证方法

Attribute 价值
类别 自定义选项
Description 接受的密码身份验证方法。
数据类型 set
默认值 md5
允许的值 md5,scram-sha-256
参数类型 dynamic
Documentation azure.accepted_password_auth_method

azure.allow_hostname_in_username

Attribute 价值
类别 自定义选项
Description 指定是否允许在 Azure Database for PostgreSQL 灵活服务器的用户名中使用主机名。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation

azure.enable_temp_tablespaces_on_local_ssd

Attribute 价值
类别 自定义选项
Description 在临时磁盘上创建临时表空间。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

azure.extensions

Attribute 价值
类别 自定义选项
Description 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,amcheck,anon,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
参数类型 dynamic
Documentation azure.extensions

azure.migration_copy_with_binary

Attribute 价值
类别 自定义选项
Description 设置为 on 时,此参数将允许在迁移过程中使用二进制格式来复制数据。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_copy_with_binary

azure.migration_skip_analyze

Attribute 价值
类别 自定义选项
Description 设置为“启用”时,此参数将在迁移过程中跳过分析阶段(vacuumdb --analyze-only)。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_analyze

azure.migration_skip_extensions

Attribute 价值
类别 自定义选项
Description 设置为“开启”时,此参数将跳过扩展的迁移。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_extensions

azure.migration_skip_large_objects

Attribute 价值
类别 自定义选项
Description 设置为 on 时,此参数将跳过大型对象(如 BLOB)的迁移。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_large_objects

azure.migration_skip_role_user

Attribute 价值
类别 自定义选项
Description 设置为“启用”时,此参数将从迁移过程中排除用户角色。
数据类型 布尔
默认值 off
允许的值 on, off
参数类型 dynamic
Documentation azure.migration_skip_role_user

azure.migration_table_split_size

Attribute 价值
类别 自定义选项
Description 设置时,此参数指定在迁移期间将分区表的大小。
数据类型 整数
默认值 20480
允许的值 1-204800
参数类型 dynamic
Documentation azure.migration_table_split_size

azure.single_to_flex_migration

Attribute 价值
类别 自定义选项
Description 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation

connection_throttle.bucket_limit

Attribute 价值
类别 自定义选项
Description 每个 Bucket 的最大登录令牌数。
数据类型 整数
默认值 2000
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.enable

Attribute 价值
类别 自定义选项
Description 启用基于 IP 的临时连接限制,以应对过多的登录失败。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

connection_throttle.factor_bias

Attribute 价值
类别 自定义选项
Description 用于计算 IP Bucket 的令牌数的因子偏差。
数据类型 数字
默认值 0.8
允许的值 0.0-0.9
参数类型 dynamic
Documentation

connection_throttle.hash_entries_max

Attribute 价值
类别 自定义选项
Description 登录失败哈希表中的最大条目数。
数据类型 整数
默认值 500
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.reset_time

Attribute 价值
类别 自定义选项
Description 重置登录 Bucket 的间隔时间。
数据类型 整数
默认值 120
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.restore_factor

Attribute 价值
类别 自定义选项
Description 对失败率较低的 IP 增加令牌数时所使用的因子。
数据类型 数字
默认值 2
允许的值 1.0-100.0
参数类型 dynamic
Documentation

connection_throttle.update_time

Attribute 价值
类别 自定义选项
Description 更新登录 Bucket 的间隔时间。
数据类型 整数
默认值 20
允许的值 1-2147483647
参数类型 dynamic
Documentation

cron.数据库名称

Attribute 价值
类别 自定义选项
Description 设置在其中保留 pg_cron 元数据的数据库。
数据类型 字符串
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 静态的
Documentation cron.database_name

cron.log_run

Attribute 价值
类别 自定义选项
Description 将所有作业运行记录到 job_run_details 表中。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_run

cron.log_statement

Attribute 价值
类别 自定义选项
Description 在执行之前记录所有 cron 语句。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_statement

cron.max_running_jobs

Attribute 价值
类别 自定义选项
Description 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 整数
默认值 32
允许的值 0-5000
参数类型 静态的
Documentation cron.max_running_jobs

logfiles.download_enable

Attribute 价值
类别 自定义选项
Description 启用或禁用服务器日志功能。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation logfiles.download_enable

logfiles.retention_days(日志文件保留天数)

Attribute 价值
类别 自定义选项
Description 设置服务器日志的保留期时间段(以天为单位)- 数据将在此时间之后被删除。
数据类型 整数
默认值 3
允许的值 1-7
参数类型 dynamic
Documentation 日志文件.保留天数

pgaudit.log

Attribute 价值
类别 自定义选项
Description 指定会话审核日志将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 dynamic
Documentation pgaudit.log

pgaudit.log_catalog

Attribute 价值
类别 自定义选项
Description 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_catalog

pgaudit.log_client

Attribute 价值
类别 自定义选项
Description 指定审核消息是否应对客户端可见。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_client

pgaudit.log_level

Attribute 价值
类别 自定义选项
Description 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 dynamic
Documentation pgaudit.log_level

pgaudit.log_parameter

Attribute 价值
类别 自定义选项
Description 指定审核日志应包含随语句一起传递的参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_parameter

pgaudit.log_relation

Attribute 价值
类别 自定义选项
Description 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_relation

pgaudit.log_statement_once

Attribute 价值
类别 自定义选项
Description 指定在日志记录中,语句文本和参数是仅在语句/子语句组合的第一个日志条目中包含,还是在每个条目中都包含。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement_once

pgaudit.role

Attribute 价值
类别 自定义选项
Description 指定要用于对象审核日志的主角色。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pgaudit.role

pglogical.batch_inserts

Attribute 价值
类别 自定义选项
Description 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pglogical.batch_inserts

pglogical.conflict_log_level

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

pglogical.conflict_resolution (冲突解决)

Attribute 价值
类别 自定义选项
Description 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 dynamic
Documentation pglogical.conflict_resolution

pglogical.use_spi

Attribute 价值
类别 自定义选项
Description 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pglogical.use_spi

pgms_stats.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation

pgms_wait_sampling.history_period

Attribute 价值
类别 自定义选项
Description 设置等待事件采样的频率(以毫秒为单位)。
数据类型 整数
默认值 100
允许的值 1-600000
参数类型 dynamic
Documentation pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为“关闭”,则会禁用等待采样,即使为 pgms_wait_sampling.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

Attribute 价值
类别 自定义选项
Description 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 dynamic
Documentation pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.analyze

pg_partman_bgw.dbname

Attribute 价值
类别 自定义选项
Description 必填。 用于运行 run_maintenance() 的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 字符串
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 dynamic
Documentation pg_partman_bgw.dbname

pg_partman_bgw.interval

Attribute 价值
类别 自定义选项
Description 调用 run_maintenance() 的间隔秒数。
数据类型 整数
默认值 3600
允许的值 1-315360000
参数类型 dynamic
Documentation pg_partman_bgw.interval

pg_partman_bgw.jobmon

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.jobmon

pg_partman_bgw.role

Attribute 价值
类别 自定义选项
Description 用于运行 run_maintenance() 的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pg_partman_bgw.role

pg_qs.interval_length_minutes

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 整数
默认值 15
允许的值 1-30
参数类型 静态的
Documentation pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为关闭,将禁用查询存储,即使为 pg_qs.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_qs.is_enabled_fs

pg_qs.max_plan_size

Attribute 价值
类别 自定义选项
Description 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 整数
默认值 7500
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_plan_size

pg_qs.max_query_text_length

Attribute 价值
类别 自定义选项
Description 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 整数
默认值 6000
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_query_text_length

pg_qs.parameters_capture_mode

Attribute 价值
类别 自定义选项
Description 是否以及何时捕获查询位置参数。
数据类型 枚举
默认值 capture_parameterless_only
允许的值 capture_parameterless_only,capture_first_sample
参数类型 dynamic
Documentation pg_qs.parameters_capture_mode

pg_qs.query_capture_mode

Attribute 价值
类别 自定义选项
Description 设置查询存储库的查询捕获模式。 “无”表示禁用所有捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_qs.query_capture_mode

pg_qs.retention_period_in_days

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 整数
默认值 7
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.保留周期(天)

pg_qs.store_query_plans

Attribute 价值
类别 自定义选项
Description 为 pg_qs 启用或禁用查询计划
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.store_query_plans

pg_qs.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_qs 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.track_utility

pg_stat_statements.max

Attribute 价值
类别 自定义选项
Description 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 整数
默认值 5000
允许的值 100-2147483647
参数类型 静态的
Documentation pg_stat_statements.max

pg_stat_statements.save

Attribute 价值
类别 自定义选项
Description 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.save

pg_stat_statements.track

Attribute 价值
类别 自定义选项
Description 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_stat_statements.track

pg_stat_statements.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

Attribute 价值
类别 自定义选项
Description 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 dynamic
Documentation postgis.gdal_enabled_drivers