When a synchronous I/O request is submitted to the operating system, the writing process blocks until the write is complete before continuing processing. With asynchronous I/O, processing continues while the I/O request is submitted and processed. This allows asynchronous I/O to bypass some of the performance bottlenecks associated with I/O operations.
Oracle can take advantage of direct I/O and asynchronous I/O on supported platforms using the
FILESYSTEMIO_OPTIONS parameter, whose possible values are listed below.- ASYNCH - Enabled asynchronous I/O where possible.
- DIRECTIO- Enabled direct I/O where possible.
- SETALL- Enabled both direct I/O and asynchronous I/O where possible.
- NONE - Disabled both direct I/O and asynchronous I/O.
SQL> SHOW PARAMETER FILESYSTEMIO_OPTIONS
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
filesystemio_options string none
SQL> ALTER SYSTEM SET FILESYSTEMIO_OPTIONS=SETALL SCOPE=SPFILE;
System altered.
SQL> SHUTDOWN IMMEDIATE
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> STARTUP
ORACLE instance started.
Total System Global Area 926941184 bytes
Fixed Size 1222672 bytes
Variable Size 239077360 bytes
Database Buffers 683671552 bytes
Redo Buffers 2969600 bytes
Database mounted.
Database opened.
SQL> SHOW PARAMETER FILESYSTEMIO_OPTIONS
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
filesystemio_options string SETALL
SQL>
also need to alter :
SQL> alter SYSTEM set disk_asynch_io=FALSE SCOPE=SPFILE;
SQL> alter system set dbwr_io_slaves=1 scope=spfile;
No comments:
Post a Comment