oracle导入问题ora31626

使用oracle的impdp导入dump文件的时候,报错,如下
1、报错
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31626: job does not exist
ORA-31687: error creating worker process with worker id 1
ORA-31687: error creating worker process with worker id 1
ORA-31688: Worker process failed during startup.

2、根据网上查到的结果,是数据库参数aq_tm_processes为0导致,而正确情况应该是不为0,查询数据库参数
SQL> show parameter processes;

NAME TYPE VALUE


aq_tm_processes integer 1
db_writer_processes integer 2
gcs_server_processes integer 0
global_txn_processes integer 1
job_queue_processes integer 1000
log_archive_max_processes integer 4
processes integer 500

3、可以看到aq_tm_processes不为0,尝试另一种方法:给要导入的用户赋予权限
grant DATAPUMP_IMP_FULL_DATABASE to finance_report;

4、依然报错,尝试给aq_tm_processes改大一点(最大值为40)
alter system set aq_tm_processes=40 scope = spfile;

5、将改配置生效
create pfile from spfile;

6、重启数据库
shutdown immediate;

startup;

7、再次查看数据库参数配置
SQL> show parameter processes;

NAME TYPE VALUE


aq_tm_processes integer 40
db_writer_processes integer 2
gcs_server_processes integer 0
global_txn_processes integer 1
job_queue_processes integer 1000
log_archive_max_processes integer 4
processes integer 500

8、再次尝试导入:
imdpd语句(自行百度)
成功执行

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值