Skip Headers

Oracle9i Administrator's Reference
Release 2 (9.2.0.1.0) for UNIX Systems: AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, Linux Intel, and Sun Solaris
Part No. A97297-01
Go To Table Of Contents
Contents
Go To Index
Index

Previous Next

C
Tuning for Oracle9i on Linux

This appendix contains the following tuning information for Oracle9i on Linux:

Extended Buffer Cache Support

Oracle9i can allocate and use more than 4 GB of memory for the database buffer cache. This section describes the limitations and requirements of the extended buffer cache support on Linux.


See Also:

Oracle9i Database Concepts for more information on the extend cache feature.


In-Memory File System

To use the extended buffer cache support on Linux, create an in-memory file system on the /dev/shm mount point equal in size or larger than the amount of memory that you intend to use for the database buffer cache.

For example, for Linux to create an 8 GB shmfs file system on the /dev/shm mount point, enter the following as the root user:

$ mount -t shm shmfs -o size=8g /dev/shm

When Oracle9i starts with the extended buffer cache feature enabled, it creates a file in the /dev/shm directory that corresponds to the Oracle buffer cache.


Note:

If an in-memory file system is already mounted on the /dev/shm mount point, ensure that it is equal to or larger than the amount of memory that is used for the database buffer cache.


USE_INDIRECT_DATA_BUFFERS Parameter

To enable the extended buffer cache feature, set the USE_INDIRECT_DATA_BUFFERS parameter to true in the initsid.ora file. Doing this allows Oracle9i to specify a larger buffer cache.


Dynamic Cache Parameters

Do not use the following dynamic cache parameters while the extended cache feature is enabled:

If the extended cache feature is enabled, use the DB_BLOCK_BUFFERS parameter to specify the database cache size.


Limitations

The following limitations apply to the extended buffer cache feature on Linux:


See Also:

Oracle9i SQL Reference for information on the standard block size used by the CREATE TABLE SPACE command.

Asynchronous I/O Support

Oracle9i supports kernel asynchronous I/O. This feature is disabled by default. If you are running Oracle9i on a system that supports kernel asynchronous I/O and that is certified by Oracle Corporation to use asynchronous I/O, perform the following steps to enable asynchronous I/O support:

  1. As the root user, change directory to the $ORACLE_HOME/rdbms/lib directory.

  2. Enter the following commands:

    $ make -f ins_rdbms.mk async_on
    
    

    Note:

    If you receive the "/usr/bin/ld: cannot find -laio" error, then the system does not support kernel asynchronous I/O and you must enter the following command to restore the Oracle instance to a usable state:

    $ make -f ins_rdbms.mk async_off


By default, the DISK_ASYNCH_IO parameter in the initsid.ora file is set to true to enable asynchronous I/O on raw devices. To enable asynchronous I/O on filesystem files:

  1. Ensure that all Oracle data files are located on file systems that support asynchronous I/O.

  2. Set the FILESYTEMIO_OPTIONS parameter in the initsid.ora file to asynch.


Previous Next
Oracle Logo
Copyright © 1996, 2002 Oracle Corporation

All rights reserved
Go To Table Of Contents
Contents
Go To Index
Index