在使用expdp導出一個表的數據時遇到了下面情況,也不見其提示報錯信息,一下子就執行完了,也沒有導出我需要的數據
[oracle@getlnx01 dump_dir]$ expdp system/xxxx TABLES=xxx.inv_workshop_stock dumpfile=inv_workshop_stock.dmp DIRECTORY=DUMP_DIR logfile=1.log;
Export: Release 10.2.0.4.0 - 64bit Production on Wednesday, 15 April, 2015 22:13:12
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
檢查告警日志後發現有如下錯誤信息
The value (30) of MAXTRANS parameter ignored.
kupprdp: master process DM00 started with pid=54, OS id=7773
to execute - SYS.KUPM$MCP.MAIN('SYS_EXPORT_TABLE_01', 'SYSTEM', 'KUPC$C_1_20150415221312', 'KUPC$S_1_20150415221312', 0);
more /u01/app/oracle/admin/epps/bdump/epps_j000_15958.trc
/u01/app/oracle/admin/epps/bdump/epps_j000_15958.trc
Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1
System name: Linux
Node name: getlnx01.esqule.com
Release: 2.6.32-200.13.1.el5uek
Version: #1 SMP Wed Jul 27 21:02:33 EDT 2011
Machine: x86_64
Instance name: epps
Redo thread mounted by this instance: 1
Oracle process number: 49
Unix process pid: 15958, image: [email protected] (J000)
*** ACTION NAME:(AUTO_SPACE_ADVISOR_JOB) 2015-04-09 22:00:05.661
*** MODULE NAME:(DBMS_SCHEDULER) 2015-04-09 22:00:05.661
*** SERVICE NAME:(SYS$USERS) 2015-04-09 22:00:05.661
*** CLIENT ID:() 2015-04-09 22:00:05.661
*** SESSION ID:(1313.553) 2015-04-09 22:00:05.661
*** 2015-04-09 22:00:05.661
ORA-12012: error on auto execute of job 8887
ORA-01157: cannot identify/lock data file ORA-01157: cannot identify/lock data file 206 - see DBWR trace file
ORA-01110: data file 206: '/u04/epps/oradata/temp02.dbf'
ORA-06512: at "SYS.PRVT_ADVISOR", line 1624
ORA-06512: at "SYS.DBMS_ADVISOR", line 186
ORA-06512: at "SYS.DBMS_SPACE", line 1500
ORA-06512: at "SYS.DBMS_SPACE", line 1566
如上所示,在出現The value (30) of MAXTRANS parameter ignored錯誤的同時也出現了ORA-01157 & ORA-01110錯誤,可以參考ORA-01157 & ORA-01110博客,出現這個問題是因為在測試環境使用RMAN還原了數據庫(32bit還原升級到64bit),在expdp導出時,需要使用臨時表空間,由於臨時表空間問題導致expdp異常終止了。解決了這個問題後,數據泵就能成功導出數據了。