forked from LucaCanali/Oracle_DBA_scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathiometric.sql
More file actions
9 lines (8 loc) · 670 Bytes
/
Copy pathiometric.sql
File metadata and controls
9 lines (8 loc) · 670 Bytes
1
2
3
4
5
6
7
8
9
-- iometric values in 11g
-- Luca Jan 2012
select min(begin_time) b_time, min(end_time) e_time, function_name,
round(sum(small_read_iops+large_read_iops)) read_TOT_iops, round(sum(small_write_iops+large_write_iops)) write_TOT_iops, round(sum(large_read_mbps+small_read_mbps)) read_TOT_mbps, round(sum(large_write_mbps+small_write_mbps)) write_TOT_mbps
from GV$IOFUNCMETRIC
group by rollup(function_name)
having round(sum(small_read_iops+large_read_iops)) + round(sum(large_read_mbps+small_read_mbps)) + round(sum(small_write_iops+large_write_iops)) + round(sum(large_write_mbps+small_write_mbps)) >0
order by function_name;