oracle expdp 权限不足 1031,关于expdp,impdp操作需要的权限

Oracle的Data Pump导出和导入操作可能需要DATAPUMP_EXP_FULL_DATABASE和DATAPUMP_IMP_FULL_DATABASE角色。这些角色在数据库创建时自动定义,并且适用于所有导出和导入模式。本文通过分析$ORACLE_HOME/rdbms/admin/catdpb.sql文件,揭示了这两个角色包含的具体权限。
摘要由CSDN通过智能技术生成

一直对 DATAPUMP_EXP_FULL_DATABASE 和 DATAPUMP_IMP_FULL_DATABASE 这两个权限有误解,以为是导全库的时候才需要这个权限,翻了文档后才知道,不是的.

Many Data Pump Export and Import operations require the user to have the DATAPUMP_EXP_FULL_DATABASE role and/or the DATAPUMP_IMP_FULL_DATABASE role. These roles are automatically defined for Oracle databases when you run the standard scripts that are part of database creation. (Note that although the names of these roles contain the word FULL, these roles are actually required for all export and import modes, not only Full mode.)

我们可以从$ORACLE_HOME/rdbms/admin/catdpb.sql 一窥该权限的全貌。

-- $ORACLE_HOME/rdbms/admin/catdpb.sql

...

Rem NAME

Rem catdpb.sql - Main install script for all DataPump package body

Rem components

...

-------------------------------------------------------------------------

Rem Set up application roles to to be enabled for privile

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值