9.71 V$SQLAREA_PLAN_HASH
V$SQLAREA_PLAN_HASH
displays statistics on shared SQL areas (V$SQL
) by grouping on the SQL_ID
and PLAN_HASH_VALUE
columns. It can potentially create several rows for one parent cursor, one for each distinct value of the column PLAN_HASH_VALUE
.
Column | Datatype | Description |
---|---|---|
|
|
First thousand characters of the SQL text for the current cursor |
|
|
All characters of the SQL text for the current cursor |
|
|
Address of the handle to the parent for this cursor |
|
|
Hash value of the parent statement in the library cache |
|
|
SQL identifier of the parent cursor in the library cache |
|
|
Numeric representation of the current SQL plan for this cursor. Comparing one |
|
|
Number of child cursors that are present in the cache under this parent |
|
|
Address (identifier) of the child cursor that was the last to be active in the group (that is, the child cursor on behalf of which statistics in |
|
|
Amount of shared memory used by a cursor. If multiple child cursors exist, then it is the sum of all shared memory used by all child cursors. |
|
|
Fixed amount of memory used for the lifetime of an open cursor. If multiple child cursors exist, then it is the fixed sum of memory used for the lifetime of all the child cursors. |
|
|
Fixed amount of memory required during execution of a cursor. If multiple child cursors exist, then the fixed sum of all memory required during execution of all the child cursors. |
|
|
Sum of the number of sorts that were done for all the child cursors |
|
|
Number of child cursors that are present in the cache and that have their context heap loaded |
|
|
Number of child cursors that are currently open under this parent |
|
|
Number of users that have any of the child cursors open |
|
|
Total number of users executing the statement over all child cursors |
|
|
Number of fetches associated with the SQL statement |
|
|
Total number of executions, totalled over all the child cursors |
|
|
Total number of executions performed by parallel execution servers ( |
|
|
Number of times this cursor was fully executed since the cursor was brought into the library cache. The value of this statistic is not incremented when the cursor is partially executed, either because it failed during the execution or because only the first few rows produced by this cursor are fetched before the cursor is closed or re-executed. By definition, the value of the |
|
|
Number of times the object was loaded or reloaded |
|
|
Timestamp of the parent creation time |
|
|
Time at which the query plan was loaded into the library cache |
|
|
TIme at which the query plan was last active |
|
|
The time when the most recent execution of this SQL started |
|
|
Total number of invalidations over all the child cursors |
|
|
Sum of all parse calls to all the child cursors under this parent |
|
|
Sum of the number of disk reads over all child cursors |
|
|
Sum of the number of direct writes over all child cursors |
|
|
Sum of buffer gets over all child cursors |
|
|
CPU time (in microseconds) used by this cursor for parsing, executing, and fetching |
|
|
Elapsed time (in microseconds) used by this cursor for parsing, executing, and fetching |
|
|
Application wait time (in microseconds) |
|
|
Concurrency wait time (in microseconds) |
|
|
Cluster wait time (in microseconds) |
|
|
User I/O wait time (in microseconds) |
|
|
PL/SQL execution time (in microseconds) |
|
|
Java execution time (in microseconds) |
|
|
Total number of rows processed on behalf of this SQL statement |
|
|
Oracle command type definition |
|
|
Mode under which the SQL statement was executed |
|
|
Cost of this query given by the optimizer |
|
|
Optimizer environment |
|
|
Hash value for the optimizer environment |
|
|
User ID of the user that has parsed the very first cursor under this parent |
|
|
Schema ID that was used to parse this child cursor |
|
|
Schema name that was used to parse this child cursor |
|
|
Number of child cursors that have been marked to be kept using the |
|
|
Contains the name of the module that was executing when the SQL statement was first parsed as set by calling |
|
|
Hash value of the module that is named in the |
|
|
Contains the name of the action that was executing when the SQL statement was first parsed as set by calling |
|
|
Hash value of the action that is named in the |
|
|
Number of times the transaction failed to serialize, producing |
|
|
If an outline was applied during construction of the cursor, then this column displays the category of that outline. Otherwise, the column is left blank. |
|
|
Outline session identifier |
|
|
Indicates whether the cursor is remote mapped ( |
|
|
Status of the cursor:
|
|
|
Hash value of the literals which are replaced with system-generated bind variables and are to be matched, when |
|
|
SQL profile used for this statement, if any |
|
|
Program identifier |
|
|
Program line number |
|
|
Signature used when the |
|
|
Signature used when the |
|
|
Bind data |
|
|
Typecheck memory |
|
|
Number of I/O bytes which can be filtered by the Exadata storage system See Also: Oracle Exadata Storage Server Software documentation for more information |
|
|
Number of I/O bytes exchanged between Oracle Database and the storage system |
|
|
Number of physical read I/O requests issued by the monitored SQL |
|
|
Number of bytes read from disks by the monitored SQL |
|
|
Number of physical write I/O requests issued by the monitored SQL |
|
|
Number of bytes written to disks by the monitored SQL |
|
|
Number of physical read I/O requests from Database Smart Flash Cache issued by the monitored SQL |
|
|
Number of uncompressed bytes (that is, size after decompression) that are offloaded to the Exadata cells See Also: Oracle Exadata Storage Server Software documentation for more information |
|
|
Number of bytes that are returned by Exadata cell through the regular I/O path See Also: Oracle Exadata Storage Server Software documentation for more information |
|
|
The ID of the container to which the data pertains. Possible values include:
|
|
|
The database ID of the PDB |
See Also:
-
Oracle Database PL/SQL Packages and Types Reference for more information about the
DBMS_SHARED_POOL
package -
Oracle Database PL/SQL Packages and Types Reference for more information about the
DBMS_APPLICATION_INFO.SET_MODULE
procedure -
Oracle Database PL/SQL Packages and Types Reference for more information about the
DBMS_APPLICATION_INFO.SET_ACTION
procedure