类型: | integer |
默认: | 10 (10s) |
最低限度: | 0 (0s) |
最大: | 2147483 (2147483s) |
单元: | seconds (s) |
上下文: | sighup |
重新开始: | false |
指定在后备机上的 WAL 接收者进程向主服务器或上游后备机发送有关复制进度的信息的最小频度,它可以使用pg_stat_replication
视图看到。 后备机将报告它已经写入的上一个预写式日志位置、它已经刷到磁盘的上一个位置以及它已经应用的最后一个位置。 这个参数的值是报告之间的最大时间量。每次写入或刷出位置改变时会发送状态更新,或者至少按这个参数的指定的频度发送。因此,应用位置可能比真实位置略微滞后。 如果指定值时没有单位,则以秒为单位。默认值是 10 秒。将这个参数设置为零将完全禁用状态更新。这个参数只能在postgresql.conf文件中或在服务器命令行上设置。
在 StackOverflow
在 pgsql-hackers
- Re: How to simulate sync/async standbys being closer/farther (network distance) to primary in core postgres?
- Re: Suppressing useless wakeups in walreceiver
- Re: fix stats_fetch_consistency value in postgresql.conf.sample
- RE: Time delayed LR (WAS Re: logical replication restrictions)
- Re: Granting SET and ALTER SYSTE privileges for GUCs