V$SESSION_EVENT

V$SESSION_EVENT displays information on waits for an event by a session. Note that the TIME_WAITED and AVERAGE_WAIT columns will contain a value of zero on those platforms that do not support a fast timing mechanism. If you are running on one of these platforms and you want this column to reflect true wait times, then you must set TIMED_STATISTICS to true in the parameter file; doing this will have a small negative effect on system performance.

See Also: “TIMED_STATISTICS”

Column Datatype Description
SID NUMBER Session identifier
EVENT VARCHAR2(64)

Name of the wait event; derived statistic name from V$EVENT_NAME

See Also: "Oracle Wait Events"

TOTAL_WAITS NUMBER Total number of waits for the event by the session
TOTAL_TIMEOUTS NUMBER Total number of timeouts for the event by the session
TIME_WAITED NUMBER Total amount of time waited for the event by the session (in hundredths of a second)
AVERAGE_WAIT NUMBER Average amount of time waited for the event by the session (in hundredths of a second)
MAX_WAIT NUMBER Maximum amount of time waited for the event by the session (in hundredths of a second)
TIME_WAITED_MICRO NUMBER Total amount of time waited for the event by the session (in microseconds)
CPU NUMBER Total amount of CPU time consumed by the session while implementing the wait event itself (in microseconds)
EVENT_ID NUMBER Identifier of the wait event
WAIT_CLASS_ID NUMBER Identifier of the wait class of the wait event
WAIT_CLASS# NUMBER Number of the wait class of the wait event
WAIT_CLASS VARCHAR2(64) Name of the wait class of the wait event
CON_ID NUMBER

The ID of the container to which the data pertains. 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