pg_stat_archiver
pg_stat_archiver视图总是有一行,其中包含关于集簇的归档进程的数据。
英文手册覆盖始于 PostgreSQL 7.4. 来源历史与运行验证各自保留独立版本边界。
当前阅读 PG 18·选择有来源记录的版本
- kind
- statistics
- lang
- en
- measured attributes
- true
- metadata release
- 18.6
- runtime columns
- archived_count, last_archived_wal, last_archived_time, failed_count, last_failed_wal, last_failed_time, stats_reset
- runtime verified
- false
- source
- english-manual
版本定义 PG 18
pg_stat_archiver视图总是有一行,其中包含关于集簇的归档进程的数据。
目录列
| 列 | 类型 | 可空性 | 描述 |
|---|---|---|---|
| archived_count | bigint | 可空 | 已成功归档的WAL文件数 |
| last_archived_wal | text | 可空 | 最近成功归档的WAL文件的名称 |
| last_archived_time | timestamp with time zone | 可空 | 最近成功归档操作的时间 |
| failed_count | bigint | 可空 | 记录WAL文件归档失败次数 |
| last_failed_wal | text | 可空 | 最近一次归档操作失败的WAL文件的名称 |
| last_failed_time | timestamp with time zone | 可空 | 最近一次归档操作失败的时间 |
| stats_reset | timestamp with time zone | 可空 | 这些统计信息上次被重置的时间 |
比较版本
来源引用
定义来源
center · PostgreSQL 18 · english-manuals:0e6f966406014e7d98e6072febd054fb27e65dcb9014438525c9aaa02f7ba17a
正文语言: zh-Hans · 2026-09-27@419045e