oracle获取存储io性能指标
--real-time iops
select inst_id node,ROUND(SUM(small_read_iops+large_read_iops+small_write_iops+large_write_iops)) as iops from GV$IOFUNCMETRIC t group by t.inst_id
--real-time mbps
select inst_id node,ROUND(SUM(small_read_mbps+large_read_mbps+small_write_mbps+large_write_mbps)) as mbps from GV$IOFUNCMETRIC t group by t.inst_id
--real-time io_latency
select inst_id node,ROUND(SUM(avg_wait_time),7) as "io_latency(ms)" from GV$IOFUNCMETRIC t group by t.inst_id
--最近1个小时的io性能指标
select * from GV$IOFUNCMETRIC_HISTORY t order by t.inst_id,t.begin_time desc