V$SQLAREA
V$SQLAREA lists statistics on shared SQL area and contains one row per SQL string. It provides statistics on SQL statements that are in memory, parsed, and ready for execution.
Column Datatype Description
SQL_TEXT
VARCHAR2(1000)
First thousand characters of the SQL text for the current cursor
SHARABLE_MEM
NUMBER
Amount of shared memory used by a cursor. If multiple child cursors exist, then the sum of all shared memory used by all child cursors.
PERSISTENT_MEM
NUMBER
Fixed amount of memory used for the lifetime of an open cursor. If multiple child cursors exist, the fixed sum of memory used for the lifetime of all the child cursors.
RUNTIME_MEM
NUMBER
Fixed amount of memory required during execution of a cursor. If multiple child cursors exist, the fixed sum of all memory required during execution of all the child cursors.
SORTS
NUMBER
Sum of the number of sorts that were done for all the child cursors
VERSION_COUNT
NUMBER
Number of child cursors that are present in the cache under this parent
LOADED_VERSIONS
NUMBER
Number of child cursors that are present in the cache and have their context heap (KGL heap 6) loaded
OPEN_VERSIONS
NUMBER
The number of child cursors that are currently open under this current parent
USERS_OPENING
NUMBER
The number of users that have any of the child cursors open
FETCHES
NUMBER
Number of fetches associated with the SQL statement
EXECUTIONS
NUMBER
Total number of executions, totalled over all the child cursors
USERS_EXECUTING
NUMBER
Total number of users executing the statement over all child cursors
LOADS
NUMBER
The number of times the object was loaded or reloaded
FIRST_LOAD_TIME
VARCHAR2(19)
Timestamp of the parent creation time
INVALIDATIONS
NUMBER
Total number of invalidations over all the child cursors
PARSE_CALLS
NUMBER
The sum of all parse calls to all the child cursors under this parent
DISK_READS
NUMBER
The sum of the number of disk reads over all child cursors
BUFFER_GETS
NUMBER
The sum of buffer gets over all child cursors
ROWS_PROCESSED
NUMBER
The total number of rows processed on behalf of this SQL statement
COMMAND_TYPE
NUMBER
The Oracle command type definition
OPTIMIZER_MODE
VARCHAR2(10)
Mode under which the SQL statement was executed
PARSING_USER_ID
NUMBER
The user ID of the user that has parsed the very first cursor under this parent
PARSING_SCHEMA_ID
NUMBER
The schema ID that was used to parse this child cursor
KEPT_VERSIONS
NUMBER
The number of child cursors that have been marked to be kept using the DBMS_SHARED_POOL package
ADDRESS
RAW(4 | 8)
Address of the handle to the parent for this cursor
HASH_VALUE
NUMBER
Hash value of the parent statement in the library cache
MODULE
VARCHAR2(64)
Contains the name of the module that was executing at the time that the SQL statement was first parsed as set by calling DBMS_APPLICATION_INFO.SET_MODULE
MODULE_HASH
NUMBER
Hash value of the module that is named in the MODULE column
ACTION
VARCHAR2(64)
Contains the name of the action that was executing at the time that the SQL statement was first parsed as set by calling DBMS_APPLICATION_INFO.SET_ACTION
ACTION_HASH
NUMBER
Hash value of the action that is named in the ACTION column
SERIALIZABLE_ABORTS
NUMBER
Number of times the transaction fails to serialize, producing ORA-08177 errors, totalled over all the child cursors
IS_OBSOLETE
VARCHAR2(1)
Indicates whether the cursor has become obsolete (Y) or not (N). This can happen if the number of child cursors is too large.
CHILD_LATCH
NUMBER
Child latch number that is protecting the cursor