impdp报:ORA-31631 ORA-39149

来源:互联网 发布:电脑的端口号怎么看 编辑:程序博客网 时间:2024/06/05 00:18

同事使用impdp向库中通过dblink远程导入一张表的数据,报如下错误:

oracle@JSDB2:[/home/oracle]$impdp prod_report/rpt1yl1c directory=exp_dir logfile=test.log network_link=cicproddb tables=t_rpt_caseImport: Release 11.2.0.3.0 - Production on Fri Mar 1 09:52:32 2013Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit ProductionWith the Partitioning, Real Application Clusters, OLAP, Data Miningand Real Application Testing optionsORA-31631: privileges are requiredORA-39149: cannot link privileged user to non-privileged user


仔细一看是与权限相关的错误,同事在本地给用户付了exp_full_database,但是并没有给源库的导出用户付exp_full_database。

 

在impdp命令引用的远端数据库中,给被导出用户赋权exp_full_database后,以上命令执行成功。

原创粉丝点击