| |
 |
|
DBA_RESUMABLE view tips
Oracle Tips by Burleson Consulting |
DBA_RESUMABLE
<< Return to the index
Oracle 11g makes the following comments about the DBA_RESUMABLE table: "Resumable session information in the system"
Related notes on DBA_RESUMABLE:
Column description of the DBA_RESUMABLE view:USER_IDDescription of DBA_RESUMABLE.USER_ID: "User who own this resumable session" SESSION_IDDescription of DBA_RESUMABLE.SESSION_ID: "Session ID of this resumable session" INSTANCE_IDDescription of DBA_RESUMABLE.INSTANCE_ID: "Instance ID of this resumable session" COORD_INSTANCE_IDDescription of DBA_RESUMABLE.COORD_INSTANCE_ID: "Instance number of parallel query coordinator" COORD_SESSION_IDDescription of DBA_RESUMABLE.COORD_SESSION_ID: "Session number of parallel query coordinator" STATUSDescription of DBA_RESUMABLE.STATUS: "Status of this resumable session" TIMEOUTDescription of DBA_RESUMABLE.TIMEOUT: "Timeout of this resumable session" START_TIMEDescription of DBA_RESUMABLE.START_TIME: "Start time of the current transaction" SUSPEND_TIMEDescription of DBA_RESUMABLE.SUSPEND_TIME: "Suspend time of the current statement" RESUME_TIMEDescription of DBA_RESUMABLE.RESUME_TIME: "Resume time of the current statement" NAMEDescription of DBA_RESUMABLE.NAME: "Name of this resumable session" SQL_TEXTDescription of DBA_RESUMABLE.SQL_TEXT: "The current SQL text" ERROR_NUMBERDescription of DBA_RESUMABLE.ERROR_NUMBER: "The current error number" ERROR_PARAMETER1Description of DBA_RESUMABLE.ERROR_PARAMETER1: "The 1st parameter to the current error message" ERROR_PARAMETER2Description of DBA_RESUMABLE.ERROR_PARAMETER2: "The 2nd parameter to the current error message" ERROR_PARAMETER3Description of DBA_RESUMABLE.ERROR_PARAMETER3: "The 3rd parameter to the current error message" ERROR_PARAMETER4Description of DBA_RESUMABLE.ERROR_PARAMETER4: "The 4th parameter to the current error message" ERROR_PARAMETER5Description of DBA_RESUMABLE.ERROR_PARAMETER5: "The 5th parameter to the current error message" ERROR_MSGDescription of DBA_RESUMABLE.ERROR_MSG: "The current error message"
DBA_RESUMABLE View SourceOracle 11g's data dictionary defines the DBA_RESUMABLE view using the following source query:
select distinct S.USER# as USER_ID, R.SID as SESSION_ID,
R.INST_ID as INSTANCE_ID, P.QCINST_ID, P.QCSID,
R.STATUS, R.TIMEOUT, NVL(T.START_TIME, R.SUSPEND_TIME) as START_TIME,
R.SUSPEND_TIME, R.RESUME_TIME, R.NAME, Q.SQL_TEXT, R.ERROR_NUMBER,
R.ERROR_PARAMETER1, R.ERROR_PARAMETER2, R.ERROR_PARAMETER3,
R.ERROR_PARAMETER4, R.ERROR_PARAMETER5, R.ERROR_MSG
from GV$RESUMABLE R, GV$SESSION S, GV$TRANSACTION T, GV$SQL Q, GV$PX_SESSION P
where S.SID=R.SID and S.INST_ID=R.INST_ID
and S.SADDR=T.SES_ADDR(+) and S.INST_ID=T.INST_ID(+)
and S.SQL_ADDRESS=Q.ADDRESS(+) and S.INST_ID=Q.INST_ID(+)
and S.SADDR=P.SADDR(+) and S.INST_ID=P.INST_ID(+)
and R.ENABLED='YES' and NVL(T.SPACE(+),'NO')='NO'
 |
If you like Oracle tuning, see the book "Oracle
Tuning: The Definitive Reference", with 950 pages of tuning tips and
scripts.
You can buy it direct from the publisher for 30%-off and get
instant access to the code depot of Oracle tuning scripts. |
 |
 |
|
Download your Oracle scripts now:
www.oracle-script.com
The
definitive Oracle Script collection for every Oracle professional DBA
|
|