9.21 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

ID of the session

EVENT

VARCHAR2(64)

Name of the wait event

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 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)

EVENT_ID

NUMBER

Identifier of the wait event

WAIT_CLASS_ID

NUMBER

Identifier of the class of the wait event

WAIT_CLASS#

NUMBER

Number of the class of the wait event

WAIT_CLASS

VARCHAR2(64)

Name of the 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