DBA_HIST_SESSMETRIC_HISTORY

DBA_HIST_SESSMETRIC_HISTORY displays the history of several important session metrics.

Note:

This view is populated only if a session metric exceeds a server metric threshold that was configured using the DBMS_SERVER_ALERT package.


Column Datatype NULL Description

SNAP_ID

NUMBER

NOT NULL

Unique snapshot ID

DBID

NUMBER

NOT NULL

Database ID for the snapshot

INSTANCE_NUMBER

NUMBER

NOT NULL

Instance number for the snapshot

BEGIN_TIME

DATE

NOT NULL

Begin time of the interval

END_TIME

DATE

NOT NULL

End time of the interval

SESSID

NUMBER

NOT NULL

Session ID

SERIAL#

NUMBER

NOT NULL

Session serial number

INTSIZE

NUMBER

NOT NULL

Interval size (in hundredths of a second)

GROUP_ID

NUMBER

NOT NULL

Group ID

METRIC_ID

NUMBER

NOT NULL

Metric ID

METRIC_NAME

VARCHAR2(64)

NOT NULL

Metric name

VALUE

NUMBER

NOT NULL

Metric Value

METRIC_UNIT

VARCHAR2(64)

NOT NULL

Unit of measurement

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:

  • 0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.

  • 1: This value is used for rows containing data that pertain to only the root

  • n: Where n is the applicable container ID for the rows containing data


See Also:

The DBMS_SERVER_ALERT package in Oracle Database PL/SQL Packages and Types Reference