Skip to content

Commit 9864c53

Browse files
author
xiongcc
committed
fix some minor flaws
1 parent 391917e commit 9864c53

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

How to deal with bloat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@
6767
## 推荐阅读材料
6868

6969
- Postgres 官方文档: [Routine Vacuuming](https://postgresql.org/docs/current/routine-vacuuming.html)
70-
- [When `autovacuum` does not vacuum](https://2ndquadrant.com/en/blog/when-`autovacuum`-does-not-vacuum/)
70+
- [When autovacuum does not vacuum](https://2ndquadrant.com/en/blog/when-`autovacuum`-does-not-vacuum/)
7171
- [How to Reduce Bloat in Large PostgreSQL Tables](https://timescale.com/learn/how-to-reduce-bloat-in-large-postgresql-tables/)

How to monitor transaction ID wraparound risks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,6 @@ limit 25;
9494

9595
## 告警
9696

97-
如果 XID 或 MultiXID 的年龄增长超过一定的阈值 (通常为 2 亿,参考 [autovacuum_freeze_max_age](https://postgresqlco.nf/doc/en/param/autovacuum_freeze_max_age/),这表明某些东西阻碍了正常的 autovacuum 工作。
97+
如果 XID 或 MultiXID 的年龄增长超过一定的阈值 (通常为 2 亿,参考 [autovacuum_freeze_max_age](https://postgresqlco.nf/doc/en/param/autovacuum_freeze_max_age/)),这表明某些东西阻碍了正常的 autovacuum 工作。
9898

9999
因此,根据 autovacuum 的设置,监控系统应配置为在 XID 和 MultiXID 年龄超过预定义阈值 (通常在 3 亿到 10 亿范围内) 时发出警报。年龄超过 10 亿应被视为危险信号,要求紧急缓解措施。

0 commit comments

Comments
 (0)