Oracle 11gR1
V$SQL
lists statistics on shared SQL areas without the GROUP BY
clause and contains one row for each child of the original SQL text entered. Statistics displayed in V$SQL
are normally updated at the end of query execution. However, for long running queries, they are updated every 5 seconds. This makes it easy to see the impact of long running SQL statements while they are still in progress.
Column | Datatype | Description |
|
| First thousand characters of the SQL text for the current cursor |
|
| Full text for the SQL statement exposed as a |
|
| SQL identifier of the parent cursor in the library cache |
|
| Amount of shared memory used by the child cursor (in bytes) |
|
| Fixed amount of memory used for the lifetime of the child cursor (in bytes) |
|
| Fixed amount of memory required during the execution of the child cursor |
|
| Number of sorts that were done for the child cursor |
|
| Indicates whether the context heap is loaded ( |
|
| Indicates whether the child cursor is locked ( |
|
| Number of users executing the statement |
|
| Number of fetches associated with the SQL statement |
|
| Number of executions that took place on this object since it was brought into the library cache |
|
| 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 users executing the statement |
|
| Number of times the object was either loaded or reloaded |
|
| Timestamp of the parent creation time |
|
| Number of times this child cursor has been invalidated |
|
| Number of parse calls for this child cursor |
|
| Number of disk reads for this child cursor |
|
| Number of direct writes for this child cursor |
|
| Number of buffer gets for this child cursor |
|
| 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 the parsed SQL statement returns |
|
| 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 who originally built this child cursor |
|
| Schema ID that was used to originally build this child cursor |
|
| Schema name that was used to originally build this child cursor |
|
| Indicates whether this child cursor has been marked to be kept pinned in the cache using the |
|
| Address of the handle to the parent for this cursor |
|
| Descriptor of the type check heap for this child cursor |
|
| Hash value of the parent statement in the library cache |
|
| Old SQL hash value |
|
| Numeric representation of the SQL plan for this cursor. Comparing one |
|
| Number of this child cursor |
|
| Service name |
|
| Hash value for the name listed in the |
|
| Contains the name of the module that was executing at the time that the SQL statement was first parsed, which is set by calling |
|
| Hash value of the module listed in the |
|
| Contains the name of the action that was executing at the time that the SQL statement was first parsed, which is set by calling |
|
| Hash value of the action listed 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. |
|
| 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 |
|
| Outline session identifier |
|
| Address of the child cursor |
|
| Denotes the version of the SQL language used for this statement |
|
| 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 |
|
| Time at which the query plan was loaded into the library cache |
|
| Indicates whether the cursor has become obsolete ( |
|
| Indicates whether the cursor is bind sensitive ( |
|
| Indicates whether the cursor is bind aware ( |
|
| Indicates whether the cursor can be shared ( |
|
| Child latch number that is protecting the cursor |
|
| SQL profile used for this statement, if any |
|
| SQL patch used for this statement, if any |
|
| SQL plan baseline used for this statement, if any |
|
| Program identifier |
|
| Program line number |
|
| Signature calculated on the normalized SQL text. The normalization includes the removal of white space and the uppercasing of all non-literal strings. |
|
| Signature used when the |
|
| TIme at which the query plan was last active |
|
| Bind data |
|
| ??? |
Note:
No comments:
Post a Comment