.. _sys_stat_instio:

sys_stat_instio
====================


统计数据库中io信息。


.. table:: sys_stat_instio视图
   :class: longtable
   :widths: 3 2 5

   +---------------+---------+-----------------------------------+
   | 列            | 类型    | 描述                              |
   +===============+=========+===================================+
   | backend_type  | text    | 后端类型。                        |
   +---------------+---------+-----------------------------------+
   | datid         | oid     | 该后端连接的数据库的 OID。        |
   +---------------+---------+-----------------------------------+
   | reltablespace | oid     | 关系的表空间OID。                 |
   +---------------+---------+-----------------------------------+
   | relid         | oid     | 关系OID。                         |
   +---------------+---------+-----------------------------------+
   | io_type       | text    | io类型。                          |
   +---------------+---------+-----------------------------------+
   | file_type     | text    | 文件类型。                        |
   +---------------+---------+-----------------------------------+
   | wait_event    | text    | 等待事件名称。                    |
   +---------------+---------+-----------------------------------+
   | background    | boolean | 1代表后台进程，NULL代表普通进程。 |
   +---------------+---------+-----------------------------------+
   | calls         | bigint  | io次数 。                         |
   +---------------+---------+-----------------------------------+
   | times         | bigint  | io时间。                          |
   +---------------+---------+-----------------------------------+
   | bytes         | bigint  | io字节数 。                       |
   +---------------+---------+-----------------------------------+