Found a backend process PROCESS_ID with a long running transaction whose transaction
id age AGE is larger than or equal to the transaction age threshold AGE_THRESHOLD.
配置自适应自动执行 VACUUM 操作
默认情况下,AlloyDB 上启用了自适应自动执行 Vacuum 操作。您可以通过将实例的 enable_google_adaptive_autovacuum 数据库标志设置为 off 来停用自适应 autovacuum。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-03-06。"],[[["AlloyDB for PostgreSQL uses adaptive autovacuum to automate the process of reclaiming storage space, preventing transaction ID wraparound, and updating table statistics."],["Adaptive autovacuum automatically adjusts resources like CPU, I/O, and memory for vacuum processes based on the real-time workload and available resources."],["By monitoring transaction ID consumption, AlloyDB's adaptive autovacuum can prevent transaction ID wraparound by vacuuming all tables when necessary."],["Adaptive autovacuum is enabled by default in AlloyDB, but it can be disabled or modified using database flags."],["AlloyDB's adaptive autovacuum automatically detects blockers like long-running transactions and provides warnings in the `postgres` log."]]],[]]