oracle导出39001,expdp导出报错:ORA-39001: ORA-39200: ORA-02019:

问题已解决,需要在本地数据库,用sys用户,执行   GRANT exp_full_database TO db_exp;    (db_exp为本地数据库用户)

C:\Users\jadl>sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on 星期三 12月 7 15:10:13 2016

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

连接到:

Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL>  GRANT exp_full_database TO db_exp;

授权成功。

SQL> exit

从 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options 断开

C:\Users\jadl>expdp db_exp/db_exp directory=DIR_EXP, dumpfile=expdp_02.dmp, logfile=1.log, network_link=to_exp_200 schemas=user_exp  (导出用户)

Export: Release 11.2.0.1.0 - Production on 星期三 12月 7 15:11:01 2016

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

连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

启动 "DB_EXP"."SYS_EXPORT_SCHEMA_01":  db_exp/******** directory=DIR_EXP, dumpfile=expdp_02.dmp, logfile=1.log, network_link=to_exp_

xp

正在使用 BLOCKS 方法进行估计...

处理对象类型 SCHEMA_EXPORT/TABLE/TABLE_DATA

使用 BLOCKS 方法的总估计: 344 MB

处理对象类型 SCHEMA_EXPORT/USER

处理对象类型 SCHEMA_EXPORT/SYSTEM_GRANT

处理对象类型 SCHEMA_EXPORT/ROLE_GRANT

处理对象类型 SCHEMA_EXPORT/DEFAULT_ROLE

处理对象类型 SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA

处理对象类型 SCHEMA_EXPORT/TABLE/TABLE

. . 导出了 "USER_EXP"."T_EXP"                          294.5 MB 10000014 行

已成功加载/卸载了主表 "DB_EXP"."SYS_EXPORT_SCHEMA_01"

******************************************************************************

DB_EXP.SYS_EXPORT_SCHEMA_01 的转储文件集为:

E:\EXPDP_02.DMP

作业 "DB_EXP"."SYS_EXPORT_SCHEMA_01" 已于 15:12:25 成功完成

C:\Users\jadl>expdp db_exp/db_exp directory=DIR_EXP, dumpfile=expdp_03.dmp, logfile=3.log,tables=user_exp.t_exp network_link=to_exp_200   (导出t_exp表)

Export: Release 11.2.0.1.0 - Production on 星期三 12月 7 15:34:29 2016

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

连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

启动 "DB_EXP"."SYS_EXPORT_TABLE_01":  db_exp/******** directory=DIR_EXP, dumpfile=expdp_03.dmp, logfile=3.log,tables=user_exp.t_exp network_link=to_ex

p_200

正在使用 BLOCKS 方法进行估计...

处理对象类型 TABLE_EXPORT/TABLE/TABLE_DATA

使用 BLOCKS 方法的总估计: 344 MB

处理对象类型 TABLE_EXPORT/TABLE/TABLE

. . 导出了 "USER_EXP"."T_EXP"                          294.5 MB 10000014 行

已成功加载/卸载了主表 "DB_EXP"."SYS_EXPORT_TABLE_01"

******************************************************************************

DB_EXP.SYS_EXPORT_TABLE_01 的转储文件集为:

E:\EXPDP_03.DMP

作业 "DB_EXP"."SYS_EXPORT_TABLE_01" 已于 15:34:59 成功完成

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值