How To Calculate IOPS of an Oracle Database
IOPS (Input/Output Operations Per Second) is a common performance metric used to compare computer storage devices.
IOPS in Oracle databases is the total number of read and write requests of the database system per second. To maintain database performance, we must check whether our hardware is capable of processing the request generated by the database system.
These values are in the dba_hist_sysmetric_summary table.
select METRIC_NAME,avg(AVERAGE) as "VALUE"
from dba_hist_sysmetric_summary
where METRIC_NAME in ('Physical Read Total IO Requests Per Sec','Physical Write Total IO Requests Per Sec')
group by METRIC_NAME;
select METRIC_NAME,avg(AVERAGE) value
from dba_hist_sysmetric_summary
where begin_time between to_date('01-JAN-20 00:00:00', 'dd-MON-yy hh24:mi:ss')
and to_date('28-JAN-20 23:59:59', 'dd-MON-yy hh24:mi:ss')
and end_time like '%28-JAN-20%'
and METRIC_NAME in ('Physical Read Total IO Requests Per Sec','Physical Write Total IO Requests Per Sec')
group by METRIC_NAME;