Disclaimer

Saturday 20 January 2024

How to Calculate the Number of IOPS and Throughput of a Database (Doc ID 2206831.1)

 

GOAL

The goal of this article is to explain how to calculate the IOPS and throughput of a Database. 

SOLUTION

The information regarding IOPS and Throughput can be found in different places of the AWR report:

  • Instance Activity Stats
  • IO Profile (starting with 11gR2)
  • Load Profile 

 

Instance Activity Stats

IOPS - (Input/Output Operations Per Second) -  This is the sum of Physical Read Total IO Requests and Physical Write Total IO Requests 

Throughput - This is the sum of Physical read total bytes and Physical write total bytes

 

INSTANCEACTIVITY

For the example above:

IOPS            = Physical Read Total IO Requests + Physical Write Total IO Requests
                    = 83.10 + 361.28
                    = 444.38
Throughput  = Physical read total bytes + Physical write total bytes
                    = 19,045,685.11 + 42,594,391.17
                    = 61640076.28 bytes
                    = 58.78 MB

 

IO Profile 

IOPS - Total Requests (This value is the sum of the metrics Physical Read Total IO Requests Per Sec and Physical Write Total IO Requests Per Sec from the Instance Activity Stats area)

Throughput in Mbps - Total (MB) (This value is the sum of the metrics Physical read total bytesc/sec and Physical read total bytes/sec from the AWR reports.)

ioprofile 

The information in the "IO Profile" is just a summary of the information in "Instance Activity Stats".

Instance Activity StatsIO Profile 
physical read total IO requestsTotal Requests: Read per Second
physical write total IO requestsTotal Requests: Write Per Second
physical read total bytes / 1024 / 1024 Total (MB): Read per Second
physical write total bytes / 1024 /1024Total (MB): Write Per Second
IOPSTotal Requests: Read+Write Per Second
Throughput (MB)Total (MB): Read+Write Per Second

 

Load profile

 Loadprofile3

Please note that the information displayed here is a subset of the one in the IO Profile area:

Load profileInstance Activity Stats
Read IO requestsphysical read IO requests
Write IO requestsphysical write IO requests
Read IO(MB)physical read bytes
Write IO(MB)






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.

Find the IOPS value of the instance(since its started):

You can access the metric values between two dates by the following query:

You can also access all metric values from the Instance Activity Stats section of the AWR report.


physical write bytes





No comments:

Post a Comment

100 Oracle DBA Interview Questions and Answers

  Here are 100 tricky interview questions tailored for a Senior Oracle DBA role. These questions span a wide range of topics, including perf...