datapump 导出数据时无法创建job ORA-31626,ORA-31633,ORA-01031

来源:互联网 发布:打扮家 知乎 编辑:程序博客网 时间:2024/05/01 21:00

今天expdp导出数据遇到这样的报错

ORA-31626: job does not exist 
ORA-31633: unable to create master table "SCOTT.SYS_EXPORT_SCHEMA_01" 
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95 
ORA-06512: at "SYS.KUPV$FT", line 863 
ORA-01031: insufficient privileges

参考oracle官方文档 ID 351598.1

Solution: grant the CREATE TABLE privilege to the user that runs the export (scott) or grant it to the role (expdp_role) that is granted to the user that runs the export, e.g.:

GRANT create table TO scott; 
-- or: 
GRANT create table TO expdp_role;

Alternatively, run the export with a different privileged user that has the 'CREATE TABLE' privilege, e.g.: run the export while connecting with the SYSTEM schema. 



0 0