Oracle 视图 DBA_HIST_CON_SYSMETRIC_SUMM 官方解释,作用,如何使用详细说明

本站中文解释

_MAP

Oracle 视图DBA_HIST_CON_SYSMETRIC_SUMM_MAP是一个基于数据库汇总信息的数据字典视图,主要用于提供一致性查看的汇总数据。

该视图主要提供容器下汇总的所有监控指标,包含总活动会话数,总账号数,活动I/O数,当前活动事务数,连接时间,CPU使用量等汇总信息。

使用方法:

1. 以SELECT语句从该视图中查询容器下的所有监控指标:

SELECT * FROM DBA_HIST_CON_SYSMETRIC_SUMM_MAP;

2. 以SELECT语句从该视图中查询指定容器号下的指定监控指标:

SELECT METRIC_NAME, SNAP_COUNT FROM DBA_HIST_CON_SYSMETRIC_SUMM_MAP WHERE CON_ID = ‘1’;

官方英文解释

DBA_HIST_CON_SYSMETRIC_SUMM displays a history of statistical summary of all metric values in the system metrics long duration (60–second) group. This view contains snapshots of V$CON_SYSMETRIC_SUMMARY.

Column Datatype NULL Description

SNAP_ID

NUMBER

Unique snapshot ID

DBID

NUMBER

Database ID for the snapshot

INSTANCE_NUMBER

NUMBER

Instance number for the snapshot

BEGIN_TIME

DATE

Begin time of the interval

END_TIME

DATE

End time of the interval

INTSIZE

NUMBER

Interval size (in hundredths of a second)

GROUP_ID

NUMBER

Group ID

METRIC_ID

NUMBER

Metric ID

METRIC_NAME

VARCHAR2(64)

Metric name

METRIC_UNIT

VARCHAR2(64)

Unit of measurement

NUM_INTERVAL

NUMBER

Number of intervals observed

MINVAL

NUMBER

Minimum value observed

MAXVAL

NUMBER

Maximum value observed

AVERAGE

NUMBER

Average over the period

STANDARD_DEVIATION

NUMBER

One standard deviation

SUM_SQUARES

NUMBER

Sum of the squared deviations from the mean

CON_DBID

NUMBER

The database ID of the PDB for the sampled session

CON_ID

NUMBER

The ID of the container that CON_DBID identifies. Possible values include:

  • When queried from a non-CDB, the statistics for that instance are returned, and the CON_ID value is 0.

  • When queried from the root of a CDB, the statistics in every container are returned, and the CON_ID value indicates the container to which the statistics belong.

  • When queried from a PDB, statistics from that PDB are returned, and the CON_ID value is the container ID for that PDB.

Note:

  • “V$CON_SYSMETRIC_SUMMARY”

  • “DBA_HIST_SYSMETRIC_SUMMARY”


数据运维技术 » Oracle 视图 DBA_HIST_CON_SYSMETRIC_SUMM 官方解释,作用,如何使用详细说明