Show TOC

OS_FILE_CACHE_BUFFERING OptionLocate this document in the navigation structure

Controls use of file system buffering for IQ Main dbspaces.

Allowed Values

ON, OFF

Default

OFF; default affects newly created databases only.

Scope

Option can be set at the database (PUBLIC) level only.

Requires the SET ANY SYSTEM OPTION system privilege to set this option. Takes effect immediately.

Remarks

Setting OS_FILE_CACHE_BUFFERING OFF prevents file system buffering for IQ Main Store files. Turning off file system buffering saves a data copy from the file system buffer cache to the main IQ buffer cache. Usually this reduces paging caused by competition for memory between the IQ buffer manager and the file system buffer of the operating system. When OS_FILE_CACHE_BUFFERING reduces paging, this option improves performance; however, if the IQ page size for the database is less than the block size of the file system (typically only in testing situations), performance decreases, especially during multiuser operation.

Experiment with this option to determine the best setting for different conditions. You must restart the database for the new setting to take effect.

Multiplex databases do not support direct I/O file system devices, because multiplex functionality requires shared raw storage. The direct I/O performance option is only supported for simplex databases.

This direct I/O performance option is available on Sun Solaris UFS, Linux, Linux IBM, AIX, and Windows file systems only. This option has no effect on HP-UX and HP-UXi and does not affect databases on raw disk. In Linux, direct I/O is supported in kernel versions 2.6.x.

To enable direct I/O on Linux kernel version 2.6 and AIX, also set the environment variable IQ_USE_DIRECTIO to 1. Direct I/O is disabled by default in Linux kernel version 2.6 and AIX. IQ_USE_DIRECTIO has no effect on Sun Solaris and Windows.

Note

SAP IQ does not support direct I/O on Linux kernel version 2.4. If you set the IQ_USE_DIRECTIO environment variable on Linux kernel version 2.4, the SAP IQ server does not start. The error Error: Invalid Block I/O argument, maybe <pathname> is a directory, or it exceeds maximum file size limit for the platform, or trying to use Direct IO on unsupported OS is reported.

Direct I/O may fail with the same error on Linux kernel version 2.6 if a LOAD TABLE input file is a symbolic link to a data file.

OS_FILE_CACHE_BUFFERING_TEMPDB controls file system buffering for IQ Temporary Store files.