expdp匯出時卡死 Could not increase the asynch I/O limit to for SQL direct I/O
今天expdp匯出時卡死不跟蹤檔案中出現類似下面的錯誤內容:
WARNING:Could not increase the asynch I/O limit to 3328 for SQL direct I/O. It is set to 128
是oracle的BUG,編號:9949948,只發生在10.2.0.5.0和11.2.0.1.0,解決方法有2種,一種是在作業系統層面修改相關引數另一種方法就是打補丁
MOS上的相關內容為:Warning:Could Not Increase The Asynch I/O Limit To XX For Sql Direct I/O [ID 1302633.1]
In this Document
#SYMPTOM">Symptoms
#CAUSE">Cause
#FIX">Solution
#REF">References
Applies to:
Oracle Server - Enterprise Edition - Version:
10.2.0.5 and
later [Release:
10.2 and later ]
Generic Linux
disk_asynch_io = TRUE
filesystemio_options = none
[root@hnz ~]# cat /proc/sys/fs/aio-max-size
cat: /proc/sys/fs/aio-max-size: No such file or directory
[root@hnz ~]# cat /proc/sys/fs/aio-max-nr
65536
Solution
The aio-max-size kernel parameter doesn't exist in the 2.6.x Linux
kernels.
This feature is now "automatic" in the 2.6.x kernel, based on the
physical capabilities of the disk device driver.
This should mean that the Linux Kernel is ready to perform. ASYNC
I/O.
All install requirements should be met.
To ensure ASYNC I/O can be performed by Oracle Database you need to
verify or set the following parameters in the Database:
sql>alter system set disk_asynch_io=true scope=spfile;
sql> alter system set filesystemio_options=setall scope=spfile;
Then shutdown and startup the database and check if the warning
reappears.
An HCVE report (refer to Note 250262.1) should report no remaining
issues
If the above doesn't resolve the problem, then increase
fs.aio-max-nr
References
BUG:10334897 -
COULD NOT INCREASE THE ASYNCH I/O LIMIT TO NNN FOR SQL DIRECT I/O.
IT IS SET TO
BUG:9772888 - WARNING:COULD NOT LOWER THE
ASYNCH I/O LIMIT TO 160 FOR SQL DIRECT I/O. IT IS SE
NOTE:205259.1 - Howto Enable Asynchoronous I/O
on Red Hat Linux 2.1
NOTE:225751.1 - Asynchronous I/O (aio) on
RedHat Advanced Server 2.1 and RedHat Enterprise Linux 3
檢查相關內容,
[oracle@hnz ~]$ sqlplus /as sysdba
SQL*Plus: Release 10.2.0.5.0 - Production on Sat Oct 22
15:57:01 2013
Copyright (c) 1982, 2010, Oracle. All Rights
Reserved.
Connected to:
Oracle Database
10g Enterprise Edition Release 10.2.0.5.0 - 64bit
Production
With the Partitioning, OLAP, Data Mining and Real Application
Testing options
SQL> show parameter disk_asynch_io
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
disk_asynch_io boolean TRUE
SQL> show parameter filesystemio_options
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
filesystemio_options string none
SQL>
SQL> alter system set filesystemio_options=setall scope=spfile;
修改核心引數的值:aio-max-nr設定太低,推薦設定為fs.aio-max-nr= 3145728。修改引數使用/sbin/sysctl -p重新載入引數後,重啟資料庫即可
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26015009/viewspace-774840/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- expdp匯出時卡死 Could not increase the asynch I/O limit to XXX for SQL direct I/OMITSQL
- WARNING:Could not increase the asynch I/O limit to 164 for SQL direct I/OMITSQL
- WARNING:Could not increase the asynch I/O limit to 224 for SQL direct I/O.MITSQL
- WARNING:Could not lower the asynch I/O limit to 160 for SQL direct I/O.MITSQL
- WARNING:Could not lower the asynch I/O limitMIT
- 【轉】WARNING:Could not lower the asynch I/O limit 錯誤MIT
- not set asynch I/O limit to nnnn for SQL directo I/O.It is set to 200_848859.1MITSQL
- WARNING:Could not lower the asynch I/O limit 錯誤解決MIT
- not lower asynch I/O limit to 224 for SQL dire I/O Aft Upgrad 10.2.0.5_1155445.1MITSQL
- Direct I/O and Redo writes.
- Direct I/O (DIO) and Concurrent I/O (CIO) on AIX 5LAI
- Veritas Quick I/O and Cached Quick I/OUI
- 計算機I/O與I/O模型計算機模型
- I/O埠和I/O記憶體記憶體
- Java I/OJava
- Java(8)I/OJava
- 【java】I/O流Java
- Java I/O流Java
- 檔案I/O
- I/O基礎
- java的I/OJava
- c++ I/OC++
- Python教程:精簡概述I/O模型與I/O操作Python模型
- goldengate extract abended unable to queue I/O, I/O beyond file sizeGo
- 【面試】I/O 複用面試
- Java 非同步 I/OJava非同步
- 網路I/O模型模型
- 系統級 I/O
- JAVA I/O系統Java
- GDAL並行I/O並行
- 優化磁碟I/O優化
- 02. I/O 操作
- 從資料庫層面理解:隨機 I/O & 順序 I/O資料庫隨機
- sloaris 出現“mount: I/O error”錯誤Error
- Understanding How to Set the SQL Server I/O Affinity OptionSQLServer
- Linux下的5種I/O模型與3組I/O複用Linux模型
- 流?I/O 操作?阻塞?epoll?
- python 非同步 I/OPython非同步