此条目涉及一项已不再可用/维护的 PostgreSQL 功能、应用程序/实用程序、网站或其他主题。
pg_autovacuum 是一个 系统目录 表,用于存储每个表的自动清理设置。
pg_autovacuum 在 PostgreSQL 8.1 中被添加,取代了同名的 contrib 模块,并在 PostgreSQL 8.4 中被移除,当时每个表的自动清理设置被迁移到了 relopts。
按 PostgreSQL 版本定义
pg_autovacuum (PostgreSQL 8.3)
Table "pg_catalog.pg_autovacuum"
Column | Type | Modifiers
------------------+---------+-----------
vacrelid | oid | not null
enabled | boolean | not null
vac_base_thresh | integer | not null
vac_scale_factor | real | not null
anl_base_thresh | integer | not null
anl_scale_factor | real | not null
vac_cost_delay | integer | not null
vac_cost_limit | integer | not null
freeze_min_age | integer | not null
freeze_max_age | integer | not null
Indexes:
"pg_autovacuum_vacrelid_index" UNIQUE, btree (vacrelid)
pg_autovacuum (PostgreSQL 8.2)
Table "pg_catalog.pg_autovacuum"
Column | Type | Modifiers
------------------+---------+-----------
vacrelid | oid | not null
enabled | boolean | not null
vac_base_thresh | integer | not null
vac_scale_factor | real | not null
anl_base_thresh | integer | not null
anl_scale_factor | real | not null
vac_cost_delay | integer | not null
vac_cost_limit | integer | not null
freeze_min_age | integer | not null
freeze_max_age | integer | not null
Indexes:
"pg_autovacuum_vacrelid_index" UNIQUE, btree (vacrelid)
变更历史
- PostgreSQL 8.4
- 已移除 (commit 834a6da4)
- PostgreSQL 8.1
- (提交 29094193) 添加
参考资料
- PostgreSQL 8.3 文档: pg_autovacuum
另请参阅
自动清理
