.. _sys_stat_dmlcount(KES):

sys_stat_dmlcount
~~~~~~~~~~~~~~~~~~~~

统计数据库中DML语句的次数和时间。


.. table:: sys_stat_dmlcount 列
   :class: longtable

   +------------+--------+------------------------------+
   | 名称       | 类型   | 描述                         |
   +============+========+==============================+
   | datid      | oid    | 标识数据库OID                |
   +------------+--------+------------------------------+
   | sql_type   | text   | SQL语句类型                  |
   +------------+--------+------------------------------+
   | background | bool   | 如果是后台工作进程，则为true |
   +------------+--------+------------------------------+
   | calls      | bigint | 执行次数                     |
   +------------+--------+------------------------------+
   | times      | bigint | 执行时间，单位微秒           |
   +------------+--------+------------------------------+


