V$SESSION
This view displays information on each current session.
Fields
The most relevant view fields are as follows:
SID
: The session identifierSADDR
: The session addressSERIAL#
: The session serial numberPROCESS
: The operating system client process IDPADDR
: The address of the process that owns this sessionAUDSID
: The auditing session IDEVENT
: The resource or event for which the session is waitingP1
,P2
,P3
: Wait event parametersWAIT_TIME
: This is set to:-2
ifTIMED_STATISTICS
is set to false-1
if the last wait duration was less than a hundredth of a second0
if the session is currently waitingA value greater than zero, which is the duration of the last wait in hundredths of a second
LAST_CALL_ET
: The elapsed time in seconds since the session has become active/inactiveSQL_ID
: The identifier of the currently executed SQL statementPREV_SQL_ID
: The identifier of the last SQL statement executedROW_WAIT_BLOCK#
: The identifier for the block containing the row specified inROW_WAIT_ROW#
ROW_WAIT_ROW#
: The current row being lockedROW_WAIT_FILE#
: The file identifier for the datafile containing the row specified inROW_WAIT_ROW#
ROW_WAIT_OBJ#
: The object ID for the table containing the row specified inROW_WAIT_ROW#
See also
The
V$SESSION_EVENT
andV$SESSTAT
sections in this appendix