Oracle9i Supplied PL/SQL Packages and Types Reference Release 2 (9.2) Part Number A96612-01 |
|
DBMS_RESUMABLE, 2 of 2
This procedure aborts a suspended resumable space allocation. The parameter session_id
is the session ID in which the statement is executed. For a parallel DML/DDL, session_id
is any session ID that participates in the parallel DML/DDL. This operation is guaranteed to succeed. The procedure can be called either inside or outside of the AFTER SUSPEND
trigger.
To call an ABORT
procedure, you must be the owner of the session with session_id,
have ALTER SYSTEM
privileges, or be a DBA.
DBMS_RESUMABLE.ABORT ( session_id IN NUMBER);
Parameter | Description |
---|---|
|
The session identifier of the resumable space allocation. |
This function returns the current timeout value of resumable space allocations for a session with session_id.
The timeout is returned in seconds. If session_id
does not exist, the GET_SESSION_TIMEOUT
function returns -1.
DBMS_RESUMABLE.GET_SESSION_TIMEOUT ( session_id IN NUMBER);
Parameter | Description |
---|---|
|
The session identifier of the resumable space allocation. |
This procedure sets the timeout of resumable space allocations for a session with session_id.
The timeout is returned in seconds. The new timeout setting applies to the session immediately. If session_id
does not exist, no operation occurs.
DBMS_RESUMABLE.SET_SESSION_TIMEOUT ( session_id IN NUMBER, timeout IN NUMBER);
Parameter | Description |
---|---|
|
The session identifier of the resumable space allocation. |
timeout |
The timeout of the resumable space allocation. |
This function returns the current timeout value of resumable space allocations for the current session. The returned value is in seconds. If session_id
does not exist, the GET_TIMEOUT
function returns -1.
DBMS_RESUMABLE.GET_TIMEOUT;
This procedure sets the timeout of resumable space allocations for the current session. The timeout is returned in seconds. The new timeout setting applies to the session immediately. If session_id
does not exist, no operation occurs.
DBMS_RESUMABLE.SET_TIMEOUT ( timeout IN NUMBER);
Parameter | Description |
---|---|
|
The timeout of the resumable space allocation. |
This function looks for space-related errors in the error stack. If it cannot find a space related error, it will return FALSE.
Otherwise, TRUE
is returned and information about the particular object that causes the space error is returned.
DBMS_RESUMABLE.SPACE_ERROR_INFO error_type OUT VARCHAR2, object_type OUT VARCHAR2, object_owner OUT VARCHAR2, table_space_name OUT VARCHAR2, object_name OUT VARCHAR2, sub_object_name OUT VARCHAR2) return boolean;
|
Copyright © 2000, 2002 Oracle Corporation. All Rights Reserved. |
|