.. _sys_stat_metric_history(KES):

sys_stat_metric_history
~~~~~~~~~~~~~~~~~~~~~~~~~

统计数据库中度量值历史信息，仅保留最近一个小时的数据。


.. table:: sys_stat_metric_history 列
   :class: longtable

   +--------------+--------------------------+--------------------------------+
   | 名称         | 类型                     | 描述                           |
   +==============+==========================+================================+
   | begin_time   | timestamp with time zone | 采样周期开始时间               |
   +--------------+--------------------------+--------------------------------+
   | end_time     | timestamp with time zone | 采样周期结束时间               |
   +--------------+--------------------------+--------------------------------+
   | intsize_csec | integer                  | 采样周期时间，秒               |
   +--------------+--------------------------+--------------------------------+
   | group_id     | integer                  | 度量分组的内部ID               |
   +--------------+--------------------------+--------------------------------+
   | metric_id    | integer                  | 度量ID                         |
   +--------------+--------------------------+--------------------------------+
   | metric_name  | text                     | 度量名称                       |
   +--------------+--------------------------+--------------------------------+
   | metric_unit  | text                     | 度量单元                       |
   +--------------+--------------------------+--------------------------------+
   | metric_value | numeric                  | 度量值                         |
   +--------------+--------------------------+--------------------------------+
   | rel_value    | bigint                   | 辅助的度量值：采样期间的相对值 |
   +--------------+--------------------------+--------------------------------+
   | abs_value    | bigint                   | 辅助的度量值：End时刻的绝对值  |
   +--------------+--------------------------+--------------------------------+


