V$SQLAREA
This view displays statistics on shared SQL areas, containing one row per SQL string.
Fields
The most relevant view fields are as follows:
SQL_ID
: The identifier of the parent cursor in the library cacheSQL_TEXT
: The first thousand characters of the SQL textSQL_FULLTEXT
: The full text of the SQL statementUSERS_EXECUTING
: The total number of users executing the statementLOADS
: The number of times the object was loaded or reloadedHASH_VALUE
: The hash value for the parent statement in the library cacheADDRESS
: The address of the handle for the parent cursorCOMMAND_TYPE
: The Oracle command type definitionEXECUTIONS
: The number of executions that took place on this object since it was brought into the library cacheINVALIDATIONS
: The number of times this child cursor has been invalidatedPARSE_CALLS
: The number of parse calls for this child cursorIS_BIND_SENSITIVE
: This indicates whether the cursor is bind sensitive (Y
) or not (N
). A query is considered bind-sensitive if the optimizer peeked at one of its bind variable values when computing predicate selectivity and where a change in a bind variable value may cause the optimizer to generate a different planIS_BIND_AWARE
: This indicates whether the cursor is bind aware (Y
) or not (N
); a query is considered bind-aware if it has been marked to use extended cursor sharing
See also
The
V$SQL
andV$SQL_PLAN
recipes in this appendix