【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_hist_sqlstat檢視sql語句的效能歷史SQL
- 從DBA_HIST_SQLSTAT檢視中查詢過去時段最佔用資源的會話SQL會話
- Oracle dba 常用檢視Oracle
- Oracle的V$檢視和DBA_檢視的參考提示Oracle
- DBA常用的資料字典檢視(一)
- Oracle Database中DBA常用的表和檢視OracleDatabase
- DBA常用的一些SQL和檢視SQL
- 【AWR】DBA_HIST檢視檢視儲存在AWR中的歷史資料
- DBA_TAB_COLUMNS和DBA_TAB_COLS 兩個檢視的區別
- 2 Day DBA-管理方案物件-關於方案物件管理許可權-管理檢視-練習:檢視檢視物件
- 關於Oracle dba_free_space 檢視的研究Oracle
- DBA常用的一些SQL和檢視(轉)SQL
- 【檢視】oracle 資料字典檢視之 DBA_OBJECTS / ALL_OBJECTS / USER_OBJECTS(OBJ)OracleObject
- Oracle 10g 新增的dba_tab_modifications檢視Oracle 10g
- DBA-常用到的動態檢視分析語句
- ORACLE DBA必須記住的常用SQL命令和檢視OracleSQL
- 使用BBED檢視SYSTEM檔案頭的root dba及bootstrap$boot
- Oracle資料庫DBA日常Sql列表及常用檢視(轉)Oracle資料庫SQL
- Oracle10g新增的檢視dba_tablespace_usage_metricsOracle
- 2 Day DBA-管理方案物件-關於方案物件管理許可權-管理檢視-關於檢視物件
- dba巡檢指令碼指令碼
- 2 Day DBA-檢視監聽器配置-練習:使用Database Control檢視監聽器資訊Database
- 使用SQL指令碼檢視錶空間使用率和使用dba_tablespace_usage_metrics檢視的區別SQL指令碼
- EBS中通過查詢 dba_source 檢視pkg 的版本號
- 儲存過程中查詢資料字典檢視(v$或dba)儲存過程
- oracle DBA 巡檢專案Oracle
- 11G訪問DBA_OBJECTS和V$LOCK檢視時HANG住Object
- [20151105]檢視DBA_HIST_SEG_STAT_OBJ.txtOBJ
- MySQL資料庫檢視:檢視定義、建立檢視、修改檢視MySql資料庫
- 2 Day DBA-管理方案物件-練習:使用HR.EMPLOYEES表建立檢視。物件
- 2 Day DBA-管理Oracle例項-檢視和修改初始化引數Oracle
- oracle10g rac_dbms_service_dba_service系列檢視學習筆記Oracle筆記
- 11 UML中的邏輯檢視、程序檢視、實現檢視、部署檢視
- [Django REST framework - 檢視元件之檢視基類、檢視擴充套件類、檢視子類、檢視集]DjangoRESTFramework元件套件
- 2 Day DBA-管理Oracle例項-檢視和修改初始化引數-練習:檢視和修改初始化引數Oracle
- RAKsmart檢測網速和跟蹤路由功能的用途路由
- 微信小程式-檢視檢視引用微信小程式
- ASP.NET Core 5.0 MVC中的檢視分類——佈局檢視、啟動檢視、具體檢視、分部檢視ASP.NETMVC