【DBA】DBA_HIST_SQLSTAT檢視用途
DBA_HIST_SQLSTAT 顯示了 相關sql的歷史統計資訊
此檢視根據一些條件捕獲頂級SQL語句,並從V$SQL捕獲統計資訊。總值是例項啟動後的統計值。
delta值是DBA_HIST_ SNAPSHOT 檢視中從BEGIN_INTERVAL_TIME到END_INTERVAL_TIME的統計值。
此檢視與DBA_HIST_OPTIMIZER_ENV、DBA_HIST_SQLTEXT和DBA_HIST_SQL_PLAN檢視一起使用,
可以提供歷史SQL統計資訊的完整資訊。
具體相關列資訊如下:
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
快照的ID |
|
|
|
資料庫ID |
|
|
|
例項ID |
|
|
|
SQL identifier of the parent cursor in the library cache |
|
|
|
Numerical representation of the SQL plan for the cursor. Comparing one
|
|
|
|
Cost of the query given by the optimizer |
|
|
|
Mode under which the SQL statement is executed |
|
|
|
Hash Value for the optimizer environment |
|
|
|
Amount of shared memory used by the child cursor (in bytes) |
|
|
|
Indicates whether the context heap is loaded (
|
|
|
|
Number of children associated with the cursor |
|
|
|
Contains the name of the module that was executing at the time that the SQL statement was first parsed, which is set by calling
|
|
|
|
Contains the name of the action that was executing at the time that the SQL statement was first parsed, which is set by calling
|
|
|
|
Name of the applied SQL Profile |
|
|
|
The signature used when the
|
|
|
|
Schema ID that was used to originally build the child cursor |
|
|
|
Schema name that was used to originally build the child cursor |
|
|
|
User ID that was used to originally build the child cursor |
|
|
|
Cumulative number of fetches associated with the SQL statement |
|
|
|
Delta number of fetches associated with the SQL statement |
|
|
|
Cumulative 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
|
|
|
|
Delta 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. |
|
|
|
Cumulative number of sorts that were done for this child cursor |
|
|
|
Delta number of sorts that were done for this child cursor |
|
|
|
Cumulative number of executions that took place on this object since it was brought into the library cache |
|
|
|
Delta number of executions that took place on this object since it was brought into the library cache |
|
|
|
Cumulative number of PX server executions |
|
|
|
Delta number of PX server executions |
|
|
|
Cumulative number of times the object was either loaded or reloaded |
|
|
|
Delta number of times the object was either loaded or reloaded |
|
|
|
Cumulative number of times this child cursor has been invalidated |
|
|
|
Delta number of times this child cursor has been invalidated |
|
|
|
Cumulative number of parse calls for this child cursor |
|
|
|
Delta number of parse calls for this child cursor |
|
|
|
Cumulative number of disk reads for this child cursor |
|
|
|
Delta number of disk reads for this child cursor |
|
|
|
Cumulative number of buffer gets for this child cursor |
|
|
|
Delta number of buffer gets for this child cursor |
|
|
|
Cumulative number of rows the parsed SQL statement returns |
|
|
|
Delta number of rows the parsed SQL statement returns |
|
|
|
Cumulative value of CPU time (in microseconds) used by this cursor for parsing/executing/fetching |
|
|
|
Delta value of CPU time (in microseconds) used by this cursor for parsing/executing/fetching |
|
|
|
Cumulative value of elapsed time (in microseconds) used by this cursor for parsing/executing/fetching. If the cursor uses parallel execution, then
|
|
|
|
Delta value of elapsed time (in microseconds) used by this cursor for parsing/executing/fetching |
|
|
|
Cumulative value of user I/O wait time (in microseconds) |
|
|
|
Delta value of user I/O wait time (in microseconds) |
|
|
|
Cumulative value of cluster wait time (in microseconds) |
|
|
|
Delta value of cluster wait time (in microseconds) |
|
|
|
Cumulative value of application wait time (in microseconds) |
|
|
|
Delta value of application wait time (in microseconds) |
|
|
|
Cumulative value of concurrency wait time (in microseconds) |
|
|
|
Delta value of concurrency wait time (in microseconds) |
|
|
|
Cumulative value of direct writes |
|
|
|
Delta value of direct writes |
|
|
|
Cumulative value of PL/SQL Execution Time (in microseconds) |
|
|
|
Delta value of PL/SQL Execution Time (in microseconds) |
|
|
|
Cumulative value of Java Execution Time (in microseconds) |
|
|
|
Delta value of Java Execution Time (in microseconds) |
|
|
|
Cumulative value of 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 |
|
|
|
Delta value of 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 |
|
|
|
Cumulative value of number of I/O bytes exchanged between Oracle Database and the storage system |
|
|
|
Delta value of number of I/O bytes exchanged between Oracle Database and the storage system |
|
|
|
Cumulative value of number of physical read I/O requests issued by the monitored SQL |
|
|
|
Delta value of number of physical read I/O requests issued by the monitored SQL |
|
|
|
Cumulative value of number of bytes read from disks by the monitored SQL |
|
|
|
Delta value of number of bytes read from disks by the monitored SQL |
|
|
|
Cumulative value of number of physical write I/O requests issued by the monitored SQL |
|
|
|
Delta value of number of physical write I/O requests issued by the monitored SQL |
|
|
|
Cumulative value of number of bytes written to disks by the monitored SQL |
|
|
|
Delta value of number of bytes written to disks by the monitored SQL |
|
|
|
Cumulative value of number of physical reads from the Database Smart Flash Cache or the Exadata Smart Flash Cache by the monitored SQL |
|
|
|
Delta value of number of physical reads from the Database Smart Flash Cache or the Exadata Smart Flash Cache by the monitored SQL |
|
|
|
Cumulative value of 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 |
|
|
|
Delta value of 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 |
|
|
|
Cumulative value of number of bytes that are returned by the Exadata cell for smart scan only (that is, not including bytes for other database I/O) See Also: Oracle Exadata Storage Server Software documentation for more information |
|
|
|
Delta value of number of bytes that are returned by the Exadata cell for smart scan only (that is, not including bytes for other database I/O) See Also: Oracle Exadata Storage Server Software documentation for more information |
|
|
|
Bind data |
|
|
|
Reserved for internal use |
|
|
|
The database ID of the PDB for the sampled session |
|
|
|
The ID of the container that
|
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29487349/viewspace-2766419/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【DBA】DBA_HIST_ACTIVE_SESS_HISTORY檢視用途
- DBA_HIST相關檢視說明
- 【AWR】DBA_HIST檢視檢視儲存在AWR中的歷史資料
- 關於Oracle dba_free_space 檢視的研究Oracle
- [20181004]12c dba_source檢視定義.txt
- ORACLE DBA必須記住的常用SQL命令和檢視OracleSQL
- dba巡檢指令碼指令碼
- oracle DBA 巡檢專案Oracle
- 檢視:dba_hist_wr_control查詢到兩套庫的awr保留策略
- 11 UML中的邏輯檢視、程序檢視、實現檢視、部署檢視
- [Django REST framework - 檢視元件之檢視基類、檢視擴充套件類、檢視子類、檢視集]DjangoRESTFramework元件套件
- ASP.NET Core 5.0 MVC中的檢視分類——佈局檢視、啟動檢視、具體檢視、分部檢視ASP.NETMVC
- Oracle11g新增檢視查詢表空間使用率DBA_TABLESPACE_USAGE_METRICSOracle
- 依靠dba_hist_tbspc_space_usage檢視獲得表空間的歷史使用情況
- RAKsmart檢測網速和跟蹤路由功能的用途路由
- 關於DBA_USERS檢視中ACCOUNT_STATUS 列的各種取值的含義說明
- 【ASK_ORACLE】刪除DBA_DATAPUMP_JOBS檢視中的異常資料泵JOB的方法Oracle
- drf : 通用檢視類和(GenericAPIView)5個檢視擴充套件類,九個檢視子類,檢視集。APIView套件
- MYSQL 檢視MySql
- 檢視助手
- 物化檢視
- 09檢視
- 檢視層
- gc 檢視GC
- Oracle普通檢視和物化檢視的區別Oracle
- Django檢視之檢視類和中介軟體Django
- day04-檢視和檢視解析器
- Linux基楚操作指引【檢視版本、檢視路徑、檢視內容、編輯檔案】Linux
- django 的類檢視和函式檢視-雜談Django函式
- Django - 檢視層 - 檢視函式及快捷方式Django函式
- odoo檢視入門學習- tree檢視的使用Odoo
- Python版本檢視Python
- 組合檢視
- kafka檢視topicKafka
- MySQL View 檢視MySqlView
- 檢視過濾
- 檢視錶大小
- 檢視EBS版本