Using asynchronous I/O

In this recipe we will see how to use asynchronous I/O to obtain better performance from our I/O subsystem.

How to do it...

The following steps will describe the use of asynchronous I/O:

  1. Connect to the database as SYSDBA:
    CONNECT / AS SYSDBA
    
  2. Verify whether asynchronous I/O is enabled:
    SHOW PARAMETER FILESYSTEMIO_OPTIONS
    
  3. Enable asynchronous I/O, if it is not enabled:
    ALTER SYSTEM SET FILESYSTEMIO_OPTIONS=SETALL SCOPE=SPFILE;
    
  4. Shut down the database instance:
    SHUTDOWN IMMEDIATE
    
  5. Start and open the database:
    STARTUP OPEN
    
  6. Verify the change in system configuration:
    SHOW PARAMETER FILESYSTEMIO_OPTIONS
    

How it works...

The Oracle database may use synchronous or asynchronous I/O calls. With synchronous I/O, when an I/O request is submitted ...

Get Oracle Database 11gR2 Performance Tuning Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.