CNT | 10g V$SQL | 11g V$SQL | DATA TYPE | DESCRIPTION |
---|
1 | SQL_TEXT | SQL_TEXT | VARCHAR2(1000) | First thousand characters of the SQL text for the current cursor |
2 | SQL_FULLTEXT | SQL_FULLTEXT | CLOB | Full text for the SQL statement exposed as a?CLOB?column. The full text of a SQL statement can be retrieved using this column instead of joining with the?V$SQL_TEXT?dynamic performance view. |
3 | SQL_ID | SQL_ID | VARCHAR2(13) | SQL identifier of the parent cursor in the library cache |
4 | SHARABLE_MEM | SHARABLE_MEM | NUMBER | Amount of shared memory used by the child cursor (in bytes) |
5 | PERSISTENT_MEM | PERSISTENT_MEM | NUMBER | Fixed amount of memory used for the lifetime of the child cursor (in bytes) |
6 | RUNTIME_MEM | RUNTIME_MEM | NUMBER | Fixed amount of memory required during the execution of the child cursor |
7 | SORTS | SORTS | NUMBER | Number of sorts that were done for the child cursor |
8 | LOADED_VERSIONS | LOADED_VERSIONS | NUMBER | Indicates whether the context heap is loaded (1) or not (0) |
9 | OPEN_VERSIONS | OPEN_VERSIONS | NUMBER | Indicates whether the child cursor is locked (1) or not (0) |
10 | USERS_OPENING | USERS_OPENING | NUMBER | Number of users executing the statement |
11 | FETCHES | FETCHES | NUMBER | Number of fetches associated with the SQL statement |
12 | EXECUTIONS | EXECUTIONS | NUMBER | Number of executions that took place on this object since it was brought into the library cache |
13 | PX_SERVERS_EXECUTIONS | PX_SERVERS_EXECUTIONS | NUMBER | Total number of executions performed by Parallel eXecution Servers. The value is 0 when the statement has never been executed in parallel. |
14 | END_OF_FETCH_COUNT | END_OF_FETCH_COUNT | NUMBER | 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?END_OF_FETCH_COUNT?column should be less or equal to the value of the?EXECUTIONS?column. |
15 | USERS_EXECUTING | USERS_EXECUTING | NUMBER | Number of users executing the statement |
16 | LOADS | LOADS | NUMBER | Number of times the object was either loaded or reloaded |
17 | FIRST_LOAD_TIME | FIRST_LOAD_TIME | VARCHAR2(76) | Timestamp of the parent creation time |
18 | INVALIDATIONS | INVALIDATIONS | NUMBER | Number of times this child cursor has been invalidated |
19 | PARSE_CALLS | PARSE_CALLS | NUMBER | Number of parse calls for this child cursor |
20 | DISK_READS | DISK_READS | NUMBER | Number of disk reads for this child cursor |
21 | DIRECT_WRITES | DIRECT_WRITES | NUMBER | Number of direct writes for this child cursor |
22 | BUFFER_GETS | BUFFER_GETS | NUMBER | Number of buffer gets for this child cursor |
23 | APPLICATION_WAIT_TIME | APPLICATION_WAIT_TIME | NUMBER | Application wait time (in microseconds) |
24 | CONCURRENCY_WAIT_TIME | CONCURRENCY_WAIT_TIME | NUMBER | Concurrency wait time (in microseconds) |
25 | CLUSTER_WAIT_TIME | CLUSTER_WAIT_TIME | NUMBER | Cluster wait time (in microseconds) |
26 | USER_IO_WAIT_TIME | USER_IO_WAIT_TIME | NUMBER | User I/O Wait Time (in microseconds) |
27 | PLSQL_EXEC_TIME | PLSQL_EXEC_TIME | NUMBER | PL/SQL execution time (in microseconds) |
28 | JAVA_EXEC_TIME | JAVA_EXEC_TIME | NUMBER | Java execution time (in microseconds) |
29 | ROWS_PROCESSED | ROWS_PROCESSED | NUMBER | Total number of rows the parsed SQL statement returns |
30 | COMMAND_TYPE | COMMAND_TYPE | NUMBER | Oracle command type definition |
31 | OPTIMIZER_MODE | OPTIMIZER_MODE | VARCHAR2(10) | Mode under which the SQL statement is executed |
32 | OPTIMIZER_COST | OPTIMIZER_COST | NUMBER | Cost of this query given by the optimizer |
33 | OPTIMIZER_ENV | OPTIMIZER_ENV | RAW(2000) | Optimizer environment |
34 | OPTIMIZER_ENV_HASH_VALUE | OPTIMIZER_ENV_HASH_VALUE | NUMBER | Hash value for the optimizer environment |
35 | PARSING_USER_ID | PARSING_USER_ID | NUMBER | User ID of the user who originally built this child cursor |
36 | PARSING_SCHEMA_ID | PARSING_SCHEMA_ID | NUMBER | Schema ID that was used to originally build this child cursor |
37 | PARSING_SCHEMA_NAME | PARSING_SCHEMA_NAME | VARCHAR2(30) | Schema name that was used to originally build this child cursor |
38 | KEPT_VERSIONS | KEPT_VERSIONS | NUMBER | Indicates whether this child cursor has been marked to be kept pinned in the cache using the?DBMS_SHARED_POOL?package |
39 | ADDRESS | ADDRESS | RAW(8) | Address of the handle to the parent for this cursor |
40 | TYPE_CHK_HEAP | TYPE_CHK_HEAP | RAW(8) | Descriptor of the type check heap for this child cursor |
41 | HASH_VALUE | HASH_VALUE | NUMBER | Hash value of the parent statement in the library cache |
42 | OLD_HASH_VALUE | OLD_HASH_VALUE | NUMBER | Old SQL hash value |
43 | PLAN_HASH_VALUE | PLAN_HASH_VALUE | NUMBER | Numerical representation of the SQL plan for this cursor. Comparing one?PLAN_HASH_VALUE?to another easily identifies whether or not two plans are the same (rather than comparing the two plans line by line). |
44 | CHILD_NUMBER | CHILD_NUMBER | NUMBER | Number of this child cursor |
45 | SERVICE | SERVICE | VARCHAR2(64) | Service name |
46 | SERVICE_HASH | SERVICE_HASH | NUMBER | Hash value for the name listed in?SERVICE |
47 | MODULE | MODULE | VARCHAR2(64) | Contains the name of the module that was executing at the time that the SQL statement was first parsed, which is set by calling?DBMS_APPLICATION_INFO.SET_MODULE |
48 | MODULE_HASH | MODULE_HASH | NUMBER | Hash value of the module listed in the?MODULE?column |
49 | ACTION | ACTION | VARCHAR2(64) | Contains the name of the action that was executing at the time that the SQL statement was first parsed, which is set by calling?DBMS_APPLICATION_INFO.SET_ACTION |
50 | ACTION_HASH | ACTION_HASH | NUMBER | Hash value of the action listed in the?ACTION?column |
51 | SERIALIZABLE_ABORTS | SERIALIZABLE_ABORTS | NUMBER | Number of times the transaction fails to serialize, producing?ORA-08177?errors, per cursor |
52 | OUTLINE_CATEGORY | OUTLINE_CATEGORY | VARCHAR2(64) | 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. |
53 | CPU_TIME | CPU_TIME | NUMBER | CPU time (in microseconds) used by this cursor for parsing, executing, and fetching |
54 | ELAPSED_TIME | ELAPSED_TIME | NUMBER | Elapsed time (in microseconds) used by this cursor for parsing, executing, and fetching |
55 | OUTLINE_SID | OUTLINE_SID | NUMBER | Outline session identifier |
56 | CHILD_ADDRESS | CHILD_ADDRESS | RAW(8) | Address of the child cursor |
57 | SQLTYPE | SQLTYPE | NUMBER | Denotes the version of the SQL language used for this statement |
58 | REMOTE | REMOTE | VARCHAR2(1) | Indicates whether the cursor is remote mapped (Y) or not (N) |
59 | OBJECT_STATUS | OBJECT_STATUS | VARCHAR2(19) | Status of the cursor: VALID - Valid, authorized without errors VALID_AUTH_ERROR - Valid, authorized with authorization errors VALID_COMPILE_ERROR - Valid, authorized with compilation errors VALID_UNAUTH - Valid, unauthorized INVALID_UNAUTH - Invalid, unauthorized INVALID - Invalid, unauthorized but keep the timestamp |
|
60 | LITERAL_HASH_VALUE | LITERAL_HASH_VALUE | NUMBER | Hash value of the literals which are replaced with system-generated bind variables and are to be matched, whenCURSOR_SHARING?is used. This is not the hash value for the SQL statement. If?CURSOR_SHARING?is not used, then the value is 0. |
61 | LAST_LOAD_TIME | LAST_LOAD_TIME | VARCHAR2(76) | Time at which the query plan (heap 6) was loaded into the library cache |
62 | IS_OBSOLETE | 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. |
63 | | IS_BIND_SENSITIVE | VARCHAR2(1) | | |
64 | | IS_BIND_AWARE | VARCHAR2(1) | | |
65 | | IS_SHAREABLE | VARCHAR2(1) | | |
66 | CHILD_LATCH | CHILD_LATCH | NUMBER | Child latch number that is protecting the cursor |
67 | SQL_PROFILE | SQL_PROFILE | VARCHAR2(64) | SQL profile |
68 | | SQL_PATCH | VARCHAR2(30) | | |
69 | | SQL_PLAN_BASELINE | VARCHAR2(30) | | |
70 | PROGRAM_ID | PROGRAM_ID | NUMBER | Program identifier |
71 | PROGRAM_LINE# | PROGRAM_LINE# | NUMBER | Program line number |
72 | EXACT_MATCHING_SIGNATURE | EXACT_MATCHING_SIGNATURE | NUMBER | Signature calculated on the normalized SQL text. The normalization includes the removal of white space and the uppercasing of all non-literal strings. |
73 | FORCE_MATCHING_SIGNATURE | FORCE_MATCHING_SIGNATURE | NUMBER | The signature used when the?CURSOR_SHARING?parameter is set to?FORCE |
74 | LAST_ACTIVE_TIME | LAST_ACTIVE_TIME | DATE | TIme at which the query plan was last active |
75 | BIND_DATA | BIND_DATA | RAW(2000) | Bind data |
76 | | TYPECHECK_MEM | NUMBER | | |
77 | | IO_CELL_OFFLOAD_ELIGIBLE_BYTES | NUMBER | | |
78 | | IO_INTERCONNECT_BYTES | NUMBER | | |
79 | | PHYSICAL_READ_REQUESTS | NUMBER | | |
80 | | PHYSICAL_READ_BYTES | NUMBER | | |
81 | | PHYSICAL_WRITE_REQUESTS | NUMBER | | |
82 | | PHYSICAL_WRITE_BYTES | NUMBER | | |
83 | | OPTIMIZED_PHY_READ_REQUESTS | NUMBER | | |
84 | | LOCKED_TOTAL | NUMBER | | |
85 | | PINNED_TOTAL | NUMBER | | |
86 | | IO_CELL_UNCOMPRESSED_BYTES | NUMBER | | |
87 | | IO_CELL_OFFLOAD_RETURNED_BYTES | NUMBER | |