.. _sys_stat_archiver(KES):

sys_stat_archiver
~~~~~~~~~~~~~~~~~~~

只有一行，记录有关 WAL 归档进程活动的统计信息。

.. table:: sys_stat_archiver 列
   :class: longtable

   +--------------------+----------------+--------------------------------------+
   | 名称               | 类型           | 描述                                 |
   +====================+================+======================================+
   | 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      |                                      |
   +--------------------+----------------+--------------------------------------+
