Oracle AWR報告分析之–SQL ordered by
1、SQL ordered by Elapsed Time
- Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
- % Total DB Time is the Elapsed Time of the SQL statement divided into the Total Database Time multiplied by 100
- %Total - Elapsed Time as a percentage of Total DB time
- %CPU - CPU Time as a percentage of Elapsed Time
- %IO - User I/O Time as a percentage of Elapsed Time
- Captured SQL account for 127.4% of Total DB Time (s): 1,908
- Captured PL/SQL account for 39.1% of Total DB Time (s): 1,908
Elapsed Time (s) | Executions | Elapsed Time per Exec (s) | %Total | %CPU | %IO | SQL Id | SQL Module | SQL Text |
---|
Elapsed Time(S): SQL語句執行用總時長,此排序就是按照這個欄位進行的。注意該時間不是單個SQL跑的時間,而是監控範圍內SQL執行次數的總和時間。單位時間為秒。Elapsed Time = CPU Time + Wait Time
CPU Time(s): 為SQL語句執行時CPU佔用時間總時長,此時間會小於等於Elapsed Time時間。單位時間為秒。
Executions: SQL語句在監控範圍內的執行次數總計。
Elap per Exec(s): 執行一次SQL的平均時間。單位時間為秒。
% Total DB Time: 為SQL的Elapsed Time時間佔資料庫總時間的百分比。
SQL ID: SQL語句的ID編號,點選之後就能導航到下邊的SQL詳細列表中,點選IE的返回可以回到當前SQL ID的地方。
SQL Module: 顯示該SQL是用什麼方式連線到資料庫執行的,如果是用SQL*Plus或者PL/SQL連結上來的那基本上都是有人在除錯程式。一般用前臺應用連結過來執行的sql該位置為空。
SQL Text: 簡單的sql提示,詳細的需要點選SQL ID。
2、SQL ordered by CPU Time
- Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
- %Total - CPU Time as a percentage of Total DB CPU
- %CPU - CPU Time as a percentage of Elapsed Time
- %IO - User I/O Time as a percentage of Elapsed Time
- Captured SQL account for 125.6% of Total CPU Time (s): 1,339
- Captured PL/SQL account for 38.0% of Total CPU Time (s): 1,339
CPU Time (s) | Executions | CPU per Exec (s) | %Total | Elapsed Time (s) | %CPU | %IO | SQL Id | SQL Module | SQL Text |
---|
3、SQL ordered by Gets
- Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
- %Total - Buffer Gets as a percentage of Total Buffer Gets
- %CPU - CPU Time as a percentage of Elapsed Time
- %IO - User I/O Time as a percentage of Elapsed Time
- Total Buffer Gets: 359,945,491
- Captured SQL account for 174.8% of Total
Buffer Gets | Executions | Gets per Exec | %Total | Elapsed Time (s) | %CPU | %IO | SQL Id | SQL Module | SQL Text |
---|
4、SQL ordered by Reads
- %Total - Physical Reads as a percentage of Total Disk Reads
- %CPU - CPU Time as a percentage of Elapsed Time
- %IO - User I/O Time as a percentage of Elapsed Time
- Total Disk Reads: 459
- Captured SQL account for 0.2% of Total
Physical Reads | Executions | Reads per Exec | %Total | Elapsed Time (s) | %CPU | %IO | SQL Id | SQL Module | SQL Text |
---|
5、SQL ordered by Physical Reads (UnOptimized)
- UnOptimized Read Reqs = Physical Read Reqts - Optimized Read Reqs
- %Opt - Optimized Reads as percentage of SQL Read Requests
- %Total - UnOptimized Read Reqs as a percentage of Total UnOptimized Read Reqs
- Total Physical Read Requests: 459
- Captured SQL account for 0.2% of Total
- Total UnOptimized Read Requests: 459
- Captured SQL account for 0.2% of Total
- Total Optimized Read Requests: 1
- Captured SQL account for 0.0% of Total
UnOptimized Read Reqs | Physical Read Reqs | Executions | UnOptimized Reqs per Exec | %Opt | %Total | SQL Id | SQL Module | SQL Text |
---|
6、SQL ordered by Executions
- %CPU - CPU Time as a percentage of Elapsed Time
- %IO - User I/O Time as a percentage of Elapsed Time
- Total Executions: 2,863,782
- Captured SQL account for 77.9% of Total
Executions | Rows Processed | Rows per Exec | Elapsed Time (s) | %CPU | %IO | SQL Id | SQL Module | SQL Text |
---|
7、SQL ordered by Parse Calls
- Total Parse Calls: 13,587
- Captured SQL account for 14.0% of Total
Parse Calls | Executions | % Total Parses | SQL Id | SQL Module | SQL Text |
---|
8、SQL ordered by Sharable Memory
- Only Statements with Sharable Memory greater than 1048576 are displayed
Sharable Mem (b) | Executions | % Total | SQL Id | SQL Module | SQL Text |
---|
9、SQL ordered by Version Count
- Only Statements with Version Count greater than 20 are displayed
Version Count | Executions | SQL Id | SQL Module | SQL Text |
---|
10、SQL ordered by User I/O Wait Time
- Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
- %Total - User I/O Time as a percentage of Total User I/O Wait time
- %CPU - CPU Time as a percentage of Elapsed Time
- %IO - User I/O Time as a percentage of Elapsed Time
- Captured SQL account for 1.0% of Total User I/O Wait Time (s): 11
- Captured PL/SQL account for 0.0% of Total User I/O Wait Time (s): 11
User I/O Time (s) | Executions | UIO per Exec (s) | %Total | Elapsed Time (s) | %CPU | %IO | SQL Id | SQL Module | SQL Text |
---|
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29494175/viewspace-2120787/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle AWR報告提取分析Oracle
- Oracle透過AWR的SQL ordered by Gets和SQL ordered by Reads診斷問題OracleSQL
- ORACLE AWR報告詳細分析Oracle
- oracle特性之AWR報告2Oracle
- Oracle 10g AWR 報告分析Oracle 10g
- SQL生成AWR中的SQL ordered by Elapsed TimeSQL
- Oracle的AWR報告分析(簡潔版)Oracle
- AWR解析報告分析
- Oracle生成awr報告Oracle
- Oracle 生成awr報告Oracle
- oracle效能awr報告Oracle
- Oracle_AWR報告分析指南(經典版)Oracle
- 手工生成AWR分析報告
- 【AWR】Oracle批量生成awr報告指令碼Oracle指令碼
- Oracle AWR報告大綱Oracle
- oracle 產生awr 報告Oracle
- Oracle的AWR報告分析(經典串聯版)Oracle
- Oracle AWR 介紹及報告分析(2) finalOracle
- Oracle AWR 介紹及報告分析(1) finalOracle
- oracle實用sql(9)--批量生成一天的ash報告或awr報告OracleSQL
- 【深度長文】循序漸進解讀Oracle AWR效能分析報告Oracle
- Oracle AWR報告詳細解讀Oracle
- ORACLE 11G生成AWR報告Oracle
- 轉載詳細的Oracle ASH/AWR介紹及報告分析Oracle
- Oracle10g自動生成AWR分析報告的指令碼Oracle指令碼
- ORACLE AWR效能報告和ASH效能報告的解讀Oracle
- oracle 10g awr 報告中內容所對應的sqlOracle 10gSQL
- Oracle AWR與ASH效能報告深入解析Oracle
- Oracle 11g 手工跑AWR報告Oracle
- Oracle11.2新增GLOBAL AWR報告Oracle
- oracle 10g awr報告的收集Oracle 10g
- Oracle AWR報告及統計資料之DB Time說明Oracle
- 對於AWR報告的幾個片段分析。
- AWR 報告修改moving window 出錯分析
- Oracle 11g RAC 如何生成AWR報告?Oracle
- Oracle 11g RAC生成 AWR 報告方法Oracle
- 獲取Oracle資料庫awr報告方法Oracle資料庫
- oracle 10g以上版本,awr報告使用Oracle 10g