fix(postgres): 修正跨地域 WAL 归档带宽预算

将生产 archive_timeout 从 60 秒调整为 5 分钟,避免 16 MiB WAL 段在当前宁波香港链路上持续产生高于复制吞吐的空闲流量。\n\n同步复制保持开启,双库健康时 RPO 仍为 0;单库降级时对象存储归档 RPO 保持在 5 分钟目标内。补充发布回归门禁,防止配置退回无法追平的 60 秒。\n\n验证:kubectl kustomize、bash -n、ShellCheck、manual-release-test。
This commit is contained in:
2026-07-31 18:42:46 +08:00
parent e05922b0f4
commit 0b9634b74c
3 changed files with 11 additions and 2 deletions
+5 -1
View File
@@ -119,7 +119,11 @@ spec:
number: 1
dataDurability: preferred
parameters:
archive_timeout: 60s
# A 16 MiB WAL segment every 60 seconds requires at least 2.24 Mbit/s
# of continuous cross-region throughput even while the database is idle.
# The certified Ningbo/Hong Kong path is below that floor, so keep the
# object-storage RPO within five minutes without starving sync replay.
archive_timeout: 5min
max_connections: "200"
shared_buffers: 512MB
wal_compression: "on"