Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
"> How to use Concurrent I/O on HP-UX and improve throughput on an Oracle single-instance database [ID 1231869.1] Modified 08-OCT-2010 In this Document Goal Solution What is Concurrent I/O ? How to enable Concurrent I/O ? Concurrent I/O requirements Using Concurrent I/O with Oracle Summary References Type HOWTO Status PUBLISHED
Applies to:
Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 11.2.0.2 - Release: 10.2 to 11.2 HP-UX PA-RISC (64-bit) HP-UX Itanium HP-UX PA-RISC - HP-UX 11iv3 September 2009 Operating Environment Update Release HP-UX Integrity Blade Server - HP-UX 11iv3 September 2009 Operating Environment Update Release VxFS 5.0.1 - Using OnlineJFS 5.0.1
Goal
How to use Concurrent I/O on HP-UX and improve throughput on an Oracle single-instance database.
Solution
What is Concurrent I/O ?
Concurrent I/O allows multiple processes to read from or write to the same file without blocking other read(2) or write(2) calls. POSIX semantics requires read and write calls to be serialized on a file with other read and write calls. With POSIX semantics, a read call either reads the data before or after the write call occurred. With Concurrent I/O, the read and write operations are not serialized as in the case of a character device. This advisory is generally used by applications that require high performance for accessing data and do not perform overlapping writes to the same file. It is the responsibility of the application or the running threads to coordinate the write activities to the same file when using Concurrent I/O.
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=HOWTO... 29/01/2011
Page 2 of 3
Only the read(2) and write(2) calls occurring through this file descriptor use concurrent I/O. The read and write operations occurring through other file descriptors for the same file will still follow the POSIX semantics. Concurrent I/O (CIO) can be set through the file descriptor and ioctl() operation using the VX_SETCACHE ioctl command with the VX_CONCURRENT advisory flag. The VX_CONCURRENT advisory can be set via the VX_SETCACHE ioctl descriptor on a file. For example: ioctl(fd,VX_SETCACHE,VX_CONCURRENT); where fd is the file descriptor.
Summary
Option 1. Production and other performance critical databases: 3 VGs and 5 filesystems.
VG 1 vgSIDlog Filesystem Contents origlogA Online redo logs group A Online redo logs group B Database files Archived redo logs Database binaries Concurrent or Direct IO ? Direct Filesystem Block Size Default Notes Dedicated VG can (i) improve performance as writes dont have to wait on shared SCSI queue as would happen if db files and logs were in same VG (ii) simplify I/O performance analysis (log writer response times).
Default 8KB Default Default Binaries could be placed on a separate VG however there is no performance benefit in doing so Dedicated VG allows BCs
Option 2. Non-production and other less performance sensitive databases; 2 VGs and 5 filesystems.
VG Filesystem Contents Online redo logs group A Online redo logs group B Database files Archived redo logs Database binaries Concurrent or Direct IO ? Direct Direct Concurrent Direct Default Filesystem Block Size Default Default 8KB Default Default Binaries could be placed on a separate VG however there is no performance benefit in doing so If BC is used db files should be placed into a dedicated VG i.e. as per production layout. Notes
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=HOWTO... 29/01/2011
Page 3 of 3
References
Related Products
Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition
Back to top
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=HOWTO... 29/01/2011