使用expdp时出现ORA错误

时间:2016-02-17 19:49:32

标签: oracle oracle11g expdp

expdp发出以下错误。


C:\db>expdp SYSTEM/xxx@orcl directory=dump_dir dumpfile=anew.dmp log=export.log schemas=anew

Export: Release 11.2.0.4.0 - Production on Qua Fev 17 17:09:00 2016

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31626: job does not exist
ORA-31637: cannot create job SYS_EXPORT_SCHEMA_01 for user SYSTEM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPV$FT_INT", line 798
ORA-39244: Event to disable dropping null bit image header during relational select
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.KUPC$QUE_INT", line 1840
ORA-00955: name is already used by an existing object

我的系统中没有孤儿作业:

select * from dba_datapump_jobs;
no rows selected

有关此错误的任何想法?

1 个答案:

答案 0 :(得分:0)

每次启动数据泵时创建的临时表都没有自动删除。

  • 解决方案1:使用sys权限
  • 删除表sys.job_name
  • 解决方案2:使用 .par 文件并输入如下条目(更改以适合您的工作):

DIRECTORY=dump_dir
DUMPFILE=anew.dmp
LOGFILE=export.log
PARALLEL=16
SCHEMAS=anew
JOB_NAME=new_expdp  <----- this has to change