wal_consistency_checking

用于验证 WAL 重做例程的一个系统参数

wal_consistency_checking 是一个 配置参数,用于启用 WAL 重做例程的验证。它不适用于生产环境。

wal_consistency_checkingPostgreSQL 10 中被添加。

用法

wal_consistency_checking intended for use by developers, and as it is very resource-intensive, should only be enabled when required. (wal_consistency_checking 供开发者使用,并且由于其资源消耗非常大,应仅在需要时启用。)

wal_consistency_checking 可通过将其包含在变量 PG_TEST_EXTRA 中,在回归测试中使用,这将导致它在 027_stream_regress.pl 中使用。有关更多详细信息,请参阅 PostgreSQL 文档的 Additional Test Suites (附加测试套件)部分。

按 PostgreSQL 版本详细信息

wal_consistency_checking (PostgreSQL 19)

设置
单位  
类别 开发者选项
简短描述 Sets the WAL resource managers for which WAL consistency checks are done. (设置进行 WAL 一致性检查的 WAL 资源管理器。)
扩展描述 Full-page images will be logged for all data blocks and cross-checked against the results of WAL replay. (将为所有数据块记录全页图像,并与 WAL 重放的结果进行交叉检查。)
上下文 superuser
变量类型 string
来源 默认
最小值  
最大值  
枚举值  
启动值
重置值
源文件  
源行  
需要重启 false

Documentation: wal_consistency_checking

wal_consistency_checking (PostgreSQL 18)

设置
单位  
类别 开发者选项
简短描述 Sets the WAL resource managers for which WAL consistency checks are done. (设置进行 WAL 一致性检查的 WAL 资源管理器。)
扩展描述 Full-page images will be logged for all data blocks and cross-checked against the results of WAL replay. (将为所有数据块记录全页图像,并与 WAL 重放的结果进行交叉检查。)
上下文 superuser
变量类型 string
来源 默认
最小值  
最大值  
枚举值  
启动值
重置值
源文件  
源行  
需要重启 false

Documentation: wal_consistency_checking

wal_consistency_checking (PostgreSQL 17)

设置
单位  
类别 开发者选项
简短描述 Sets the WAL resource managers for which WAL consistency checks are done. (设置进行 WAL 一致性检查的 WAL 资源管理器。)
扩展描述 Full-page images will be logged for all data blocks and cross-checked against the results of WAL replay. (将为所有数据块记录全页图像,并与 WAL 重放的结果进行交叉检查。)
上下文 superuser
变量类型 string
来源 默认
最小值  
最大值  
枚举值  
启动值
重置值
源文件  
源行  
需要重启 false

Documentation: wal_consistency_checking

wal_consistency_checking (PostgreSQL 16)

设置
单位  
类别 开发者选项
简短描述 Sets the WAL resource managers for which WAL consistency checks are done. (设置进行 WAL 一致性检查的 WAL 资源管理器。)
扩展描述 Full-page images will be logged for all data blocks and cross-checked against the results of WAL replay. (将为所有数据块记录全页图像,并与 WAL 重放的结果进行交叉检查。)
上下文 superuser
变量类型 string
来源 默认
最小值  
最大值  
枚举值  
启动值
重置值
源文件  
源行  
需要重启 false

Documentation: wal_consistency_checking

wal_consistency_checking (PostgreSQL 15)

设置
单位  
类别 开发者选项
简短描述 Sets the WAL resource managers for which WAL consistency checks are done. (设置进行 WAL 一致性检查的 WAL 资源管理器。)
扩展描述 Full-page images will be logged for all data blocks and cross-checked against the results of WAL replay. (将为所有数据块记录全页图像,并与 WAL 重放的结果进行交叉检查。)
上下文 superuser
变量类型 string
来源 默认
最小值  
最大值  
枚举值  
启动值
重置值
源文件  
源行  
需要重启 false

Documentation: wal_consistency_checking

wal_consistency_checking (PostgreSQL 14)

设置
单位  
类别 开发者选项
简短描述 Sets the WAL resource managers for which WAL consistency checks are done. (设置进行 WAL 一致性检查的 WAL 资源管理器。)
扩展描述 Full-page images will be logged for all data blocks and cross-checked against the results of WAL replay. (将为所有数据块记录全页图像,并与 WAL 重放的结果进行交叉检查。)
上下文 superuser
变量类型 string
来源 默认
最小值  
最大值  
枚举值  
启动值
重置值
源文件  
源行  
需要重启 false

Documentation: wal_consistency_checking

wal_consistency_checking (PostgreSQL 13)

设置
单位  
类别 开发者选项
简短描述 Sets the WAL resource managers for which WAL consistency checks are done. (设置进行 WAL 一致性检查的 WAL 资源管理器。)
扩展描述 Full-page images will be logged for all data blocks and cross-checked against the results of WAL replay. (将为所有数据块记录全页图像,并与 WAL 重放的结果进行交叉检查。)
上下文 superuser
变量类型 string
来源 默认
最小值  
最大值  
枚举值  
启动值
重置值
源文件  
源行  
需要重启 false

Documentation: wal_consistency_checking

wal_consistency_checking (PostgreSQL 12)

设置
单位  
类别 开发者选项
简短描述 Sets the WAL resource managers for which WAL consistency checks are done. (设置进行 WAL 一致性检查的 WAL 资源管理器。)
扩展描述 Full-page images will be logged for all data blocks and cross-checked against the results of WAL replay. (将为所有数据块记录全页图像,并与 WAL 重放的结果进行交叉检查。)
上下文 superuser
变量类型 string
来源 默认
最小值  
最大值  
枚举值  
启动值
重置值
源文件  
源行  
需要重启 false

Documentation: wal_consistency_checking

wal_consistency_checking (PostgreSQL 11)

设置
单位  
类别 开发者选项
简短描述 Sets the WAL resource managers for which WAL consistency checks are done. (设置进行 WAL 一致性检查的 WAL 资源管理器。)
扩展描述 Full-page images will be logged for all data blocks and cross-checked against the results of WAL replay. (将为所有数据块记录全页图像,并与 WAL 重放的结果进行交叉检查。)
上下文 superuser
变量类型 string
来源 默认
最小值  
最大值  
枚举值  
启动值
重置值
源文件  
源行  
需要重启 false

Documentation: wal_consistency_checking

wal_consistency_checking (PostgreSQL 10)

设置
单位  
类别 开发者选项
简短描述 Sets the WAL resource managers for which WAL consistency checks are done. (设置进行 WAL 一致性检查的 WAL 资源管理器。)
扩展描述 Full-page images will be logged for all data blocks and cross-checked against the results of WAL replay. (将为所有数据块记录全页图像,并与 WAL 重放的结果进行交叉检查。)
上下文 superuser
变量类型 string
来源 默认
最小值  
最大值  
枚举值  
启动值
重置值
源文件  
源行  
需要重启 false

Documentation: wal_consistency_checking

变更历史

分类

开发/测试, GUC 配置项, WAL

另请参阅

wal_debug

反馈

Submit any comments, suggestions or corrections for "wal_consistency_checking" here. (提交任何关于“wal_consistency_checking”的评论、建议或更正,请 在此处。)