用impdp数据泵工具导入数据出现一个错误,导入过程意外中止了。经在网上查资料发现这是11G的一个BUG,导入时需要加入EXCLUDE=STATISTICS参数。
错误提示:
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.PUT_DDLS [TABLE_STATISTICS]
ORA-06502: PL/SQL: numeric or value error
LPX-00242: invalid use of ampersand (‘&‘) character (use &)
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 9001
----- PL/SQL Call Stack -----
object line object
handle number name
0x916c7af0 20462 package body SYS.KUPW$WORKER
0x916c7af0 9028 package body SYS.KUPW$WORKER
0x916c7af0 16665 package body SYS.KUPW$WORKER
0x916c7af0 3956 package body SYS.KUPW$WORKER
0x916c7af0 9725 package body SYS.KUPW$WORKER
0x916c7af0 1775 package body SYS.KUPW$WORKER
0x93acfc98 2 anonymous block
解决方法:
EXCLUDE=STATISTICS --impdp语句中加入参数
本文出自 “一起走过的日子” 博客,请务必保留此出处http://tongcheng.blog.51cto.com/6214144/1977162
原文地址:http://tongcheng.blog.51cto.com/6214144/1977162