非同步IO

lovestanford發表於2014-12-28
"Checked for relevance on 07-Feb-2007, archived"

PURPOSE
-------

To enable asynchronous I/O for Oracle9iR2 on Red Hat Linux Advanced Server
2.1, please execute the following steps:

1) cd to $ORACLE_HOME/rdbms/lib

   a) make -f ins_rdbms.mk async_on

   b) make -f ins_rdbms.mk ioracle


2) Parameter settings in init.ora for raw devices:

   a) set 'disk_asynch_io=true' (default value is true)


3) Parameter settings in init.ora for filesystem files:

   a) Make sure that all Oracle datafiles reside on filesystems that support
      asynchronous I/O. (For example, ext2)

   b) set 'disk_asynch_io=true' (note default value is true)

   c) set 'filesystemio_options=asynch'

4) Increase the size of sys.fs.aio-max-size using:

         echo >/proc/sys/fs/aio-max-size 1048576

   to get good performance.

If asynchronous I/O needs to be disabled for some reason

1) cd to $ORACLE_HOME/rdbms/lib

   a) make -f ins_rdbms.mk async_off

   b) make -f ins_rdbms.mk ioracle



Note : 
------
  
A)Before relinking, please stop any processes running out of that 
ORACLE_HOME to ensure that none of those files are currently in use

B)By default, Oracle9iR2 is shipped with asynchronous I/O support disabled.




Searchwords:

RedHat RedHat

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/21754115/viewspace-1382630/,如需轉載,請註明出處,否則將追究法律責任。

相關文章