.. _sys_stat_database_conflicts:


sys_stat_database_conflicts
===========================

每个数据库一行，显示数据库范围的统计信息，
这些信息的内容是关于由于与后备服务器的恢复过程 发生冲突而被取消的查询。

.. table:: sys_stat_database_conflicts视图
   :class: longtable

   +-----------------+-------+--------------------------------------------+
   | 列              | 类型  | 描述                                       |
   +=================+=======+============================================+
   | datid           | oid   | 一个数据库的 OID                           |
   +-----------------+-------+--------------------------------------------+
   | datname         | name  | 这个数据库的名称                           |
   +-----------------+-------+--------------------------------------------+
   | confl_tablespace| bigint| 这                                         |
   |                 |       | 个数据库中由于表空间被删掉而取消的查询数量 |
   +-----------------+-------+--------------------------------------------+
   | confl_lock      | bigint| 这个数据库中由于锁超时而取消的查询数量     |
   +-----------------+-------+--------------------------------------------+
   | confl_snapshot  | bigint| 这个数据库中由于旧快照而取消的查询数量     |
   +-----------------+-------+--------------------------------------------+
   | confl_bufferpin | bigint| 这个                                       |
   |                 |       | 数据库中由于被占用的缓冲区而取消的查询数量 |
   +-----------------+-------+--------------------------------------------+
   | confl_deadlock  | bigint| 这个数据库中由于死锁而取消的查询数量       |
   +-----------------+-------+--------------------------------------------+