Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

Disk calibrate_io tips

Oracle Database Tips by Donald BurlesonConsulting

January 16, 2015

Oracle calibrate_io tips

The dbms_resource_manager package has a nice procedure called calibrate_io which is perfect for calibrating disk latency and system throughout.  Also see these additional notes on dbms_resource_manager.calibrate_io and the dba_rsrc_io_calibrate view.

You can pass several arguments to dbms_resource_manager.calibrate_io:

·         Maximum latency tolerance - This is the I/O per second target for the disks
          (milliseconds)

·         Number of disk spindles - The number of physical disk devices

The Oracle docs provide this working example of the calibrate_io procedure.  Note the use of dbms_output.put_line to display the disk calibration results:

SET SERVEROUTPUT ON
 
DECLARE
  lat  INTEGER;
  iops INTEGER;
  mbps INTEGER;
BEGIN
-- DBMS_RESOURCE_MANAGER.CALIBRATE_IO (<DISKS>, <MAX_LATENCY>, iops, mbps, lat);
   DBMS_RESOURCE_MANAGER.CALIBRATE_IO (2, 10, iops, mbps, lat);
 
  DBMS_OUTPUT.PUT_LINE ('max_iops = ' || iops);
  DBMS_OUTPUT.PUT_LINE ('latency  = ' || lat);
  dbms_output.put_line('max_mbps = ' || mbps);
end;
/

After running this procedure you can view the results using the v$io_calibration_status and for RAC, the gv$io_calibration_status views.

You can view the output on the xxx view, showing important disk speed metrics:

  • Maximum I/O per second for the disk (or group of disks)

  • Maximum throughout (in megabytes per second)

  • Average Disk response time (in milliseconds)

 
SELECT * FROM dba_rsrc_io_calibrate;
 
START_TIME  END_TIME   MAX_IOPS   MAX_MBPS   MAX_PMBPS  LATENCY    DISKS
--------------------   --------   ---------- ---------- ---------- --------
28-JUL-2008 28-JUL-2008 556       48         48         17         1

   
Oracle Training from Don Burleson 

The best on site "Oracle training classes" are just a phone call away! You can get personalized Oracle training by Donald Burleson, right at your shop!

Oracle training
 
 


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2016

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.