时间:2021-07-01 10:21:17 帮助过:20人阅读
SQL> col comm format a200
SQL> set linesize 3000
SQL> set pages 0
SQL> select dbms_sqltune.report_sql_monitor(sql_id=>‘3371xmyjfzmxw‘,report_level=>‘ALL‘,type=>‘TEXT‘) comm from dual;
Global Information
------------------------------
Status : DONE (ALL ROWS)
Instance ID : 1
Session : EOMSGZ (1545:18373)
SQL ID : 3371xmyjfzmxw
SQL Execution ID : 16777216
Execution Started : 07/22/2016 15:42:36
First Refresh Time : 07/22/2016 15:42:40
Last Refresh Time : 07/22/2016 15:42:45
Duration : 9s
Module/Action : JDBC Thin Client/-
Service : gzeomsdb
Program : JDBC Thin Client
Fetch Calls : 1
Global Stats
====================================================================================================
| Elapsed | Cpu | IO | Application | Cluster | Other | Fetch | Buffer | Read | Read |
| Time(s) | Time(s) | Waits(s) | Waits(s) | Waits(s) | Waits(s) | Calls | Gets | Reqs | Bytes |
====================================================================================================
| 8.81 | 3.69 | 4.44 | 0.00 | 0.00 | 0.68 | 1 | 504K | 3974 | 4GB |
====================================================================================================
SQL Plan Monitoring Details (Plan Hash Value=3739816812)
=============================================================================================================================================================
| Id | Operation | Name | Rows | Cost | Time | Start | Execs | Rows | Read | Read | Activity | Activity Detail |
| | | | (Estim) | | Active(s) | Active | | (Actual) | Reqs | Bytes | (%) | (# samples) |
=============================================================================================================================================================
| 0 | SELECT STATEMENT | | | | | | 1 | | | | | |
| 1 | TABLE ACCESS FULL | COMMONFAULTPACK_MAIN | 64 | 137K | 9 | +2 | 1 | 0 | 2789 | 3GB | 100.00 | Cpu (3) |
| | | | | | | | | | | | | direct path read (6) |
=============================================================================================================================================================
本文出自 “不忘初心Oracle” 博客,转载请与作者联系!
极好的工具sql monitor,专抓烂SQL的能手!!!
标签:sql monitor oracle