-
Recent Posts
Recent Comments
- yangtingkun on 非空字段空值对查询的影响
- Eric Zong on 非空字段空值对查询的影响
- Kamus on Oracle Ace Director
- 设置全局死锁优先级 | yangtingkun on RAC全局死锁检测时间
- ORA-600(krbounotread_noctx)错误 | yangtingkun on ORA-600(krboReadBitmap_badbitmap)错误
Archives
- December 2020
- February 2019
- December 2018
- November 2018
- October 2018
- July 2018
- June 2018
- May 2018
- July 2016
- July 2013
- June 2013
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
Categories
Meta
Tag Archives: disk_asynch_io
Linux上Oracle启用异步IO
刚解决了一个异步io的问题,还是专门描述一下Oracle中设置异步IO的方式。 首先要检查操作系统上,异步io的相关包是否已经安装,如果没有的话,通过rpm进行安装,并检查系统上异步io的参数设置: [oracle@localhost ~]$ rpm -qa|grep aio libaio-0.3.107-10.el6.x86_64 libaio-devel-0.3.107-10.el6.x86_64 [oracle@localhost ~]$ more /proc/sys/fs/aio-max-nr 1048576[oracle@localhost ~]$ rpm -qa|grep aio libaio-0.3.107-10.el6.x86_64 libaio-devel-0.3.107-10.el6.x86_64 [oracle@localhost ~]$ more /proc/sys/fs/aio-max-nr 1048576 然后检查数据库在链接时是否已经加载了aio的包: [oracle@localhost ~]$ /usr/bin/ldd $ORACLE_HOME/bin/oracle | grep libaio libaio.so.1 => /lib64/libaio.so.1 (0x0000003e13000000)[oracle@localhost ~]$ /usr/bin/ldd $ORACLE_HOME/bin/oracle … Continue reading →
Posted in ORACLE
|
Tagged aio, aio-max-nr, asynch, async_on, disk_asynch_io, filesystemio_options, ioracle, libaio
|
Leave a comment
Linux上Oracle是否使用异步io的诊断
客户的数据库IO负载较重,检查后发现并未设置异步IO。 整个数据库的负载都集中在IO相关的等待上: Top 5 Timed Foreground Events Event Waits Time(s) Avg wait (ms) % DB time Wait Class log file sync 697,116 70,128 101 36.29 Commit db file sequential read 2,982,135 54,498 18 28.20 User … Continue reading →
Posted in ORACLE
|
Tagged aio, asynch, disk_asynch_io, filesystemio_options, kiocb, libaio, slabinfo
|
Leave a comment