DBA Hub

📋Steps in this guide1/2

Direct and Asynchronous I/O

Take advantage of the performance advantages associated with Direct and Asynchronous I/O.

oracle miscconfigurationintermediate
by OracleDba
17 views
1

Overview

I/O operations in UNIX and Linux systems typically go through the file system cache. Although this doesn't represent a problem in itself, this extra processing does require resources. Bypassing the file system cache reduces CPU requirements, and frees up the file system cache for other non-database file operations. Operations against raw devices automatically bypass the file system cache. 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 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. The following example shows how the parameter is set.

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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>
2

Section 2

For more information see: - FILESYSTEMIO_OPTIONS (Reference) - FILESYSTEMIO_OPTIONS (Performance Tuning Guide) - Asynchronous I/O Support - Direct I/O Support - Asynchronous I/O - Direct I/O Support Hope this helps. Regards Tim...

Comments (0)

Please to add comments

No comments yet. Be the first to comment!