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 |
SQL_ID | VARCHAR2(13) | SQL identifier of the parent cursor in the library cache |
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 | 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 |
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. |
USERS_EXECUTING | NUMBER | Total number of users executing the statement over all child cursors |
LOADS | NUMBER | 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 | Sum of all parse calls to all the child cursors under this parent |
DISK_READS | NUMBER | Sum of the number of disk reads over all child cursors |
DIRECT_WRITES | NUMBER | Sum of the number of direct writes over all child cursors |
BUFFER_GETS | NUMBER | Sum of buffer gets over all child cursors |
APPLICATION_WAIT_TIME | NUMBER | Application wait time |
CONCURRENCY_WAIT_TIME | NUMBER | Concurrency wait time |
CLUSTER_WAIT_TIME | NUMBER | Cluster wait time |
USER_IO_WAIT_TIME | NUMBER | User I/O Wait Time |
PLSQL_EXEC_TIME | NUMBER | PL/SQL execution time |
JAVA_EXEC_TIME | NUMBER | Java execution time |
ROWS_PROCESSED | NUMBER | Total number of rows processed on behalf of this SQL statement |
COMMAND_TYPE | NUMBER | Oracle command type definition |
OPTIMIZER_MODE | VARCHAR2(25) | Mode under which the SQL statement was executed |
PARSING_USER_ID | NUMBER | User ID of the user that has parsed the very first cursor under this parent |
PARSING_SCHEMA_ID | NUMBER | Schema ID that was used to parse this child cursor |
KEPT_VERSIONS | NUMBER | 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 |
OLD_HASH_VALUE | NUMBER | Old SQL hash value |
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 |
CPU_TIME | NUMBER | CPU time (in microseconds) used by this cursor for parsing/executing/fetching |
ELAPSED_TIME | NUMBER | Elapsed time (in microseconds) used by this cursor for parsing/executing/fetching |
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 |
PROGRAM_ID | NUMBER | Program identifier |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-83027/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- V$SQLAREASQL
- V$SQL、V$SQLSTATS、V$SQLAREASQL
- V$SQLAREA的用法SQL
- v$sql,v$sqlarea,v$sqltext區別SQL
- V$SQL 和V$SQLAREA區別SQL
- v$sql和v$sqlarea的區別SQL
- V$sql_text v$sqlarea v$sql 的區別SQL
- V$SQLAREA 檢視TOP_SQLSQL
- v$sqlarea,v$sql,v$sqltext的區別和聯絡SQL
- v$sql v$sqlarea v$sql_shared_cursor及遊標SQL
- v$sqlarea,v$sql,v$sqltext三個檢視的區別SQL
- v$sqlarea,v$sql,v$sqltext的區別和聯絡(zt)SQL
- v$sql檢視和v$sqlarea檢視的構建SQL
- v$sqlarea之parse_calls及loadsSQL
- v$sqlarea_parent cursor_v$sql_child cursor關係SQL
- (轉):學習Oracle動態效能表-(7)-V$SQLTEXT,V$SQLAREAOracleSQL
- Oracle動態效能檢視學習之v$sqltext & v$sqlareaOracleSQL
- [轉]學習Oracle動態效能表-(6)-V$SQLTEXT,V$SQLAREAOracleSQL
- 檢視 v$sql,v$sqlarea,$sqltext,v$sqltext_with_newlines 的差異SQL
- 學習動態效能表(四)-(2)-V$SQLAREASQL
- oracle11g v$sql_v$sqlarea_version_count測試OracleSQL
- v$sql v$sqlarea和父遊標 子游標記載01SQL
- cursor_sharing與v$sqlarea_v$sql_v$sql_shared_cursorSQL
- v$sql v$sqlarea v$sql_shared_cursor及父遊標,子游標SQL
- sql執行計劃_v$sqlarea_v$sql_v$sql_shared_cursorSQL
- (轉):學習Oracle動態效能表-(1)-V$SQLAREAOracleSQL
- Oracle9i中v$sql、v$sqlarea、v$sqltext、v$sql_plan的聯絡與區別OracleSQL
- [ZT]v$sqlarea,v$sql,v$sqltext這三個檢視提供的sql語句有什麼區別SQL
- v$sqlarea_parse_calls與executions與session_cached_cursors關係SQLSession
- [20120425]PLAN_HASH_VALUE與 V$SQLAREA.txtSQL
- 授權某使用者,檢視動態效能檢視的許可權(如v$latch,v$lock,v$sqlarea,v$sql,v$sysstat)SQL
- 【Oracle九大效能檢視】之2.v$sqlarea_查效能SQLOracleSQL
- v$system_event解析
- 通過 v$sqlarea 查詢disk read嚴重(I/O)的SQL-- Oracle效能檢視SQLOracle
- v$sql_plan 檢視解析SQL
- XmlPull v1例項解析XML
- PHPCMS V9 分頁函式解析PHP函式
- v$sql_plan這個檢視解析SQL