Does Expdp utility requires EXP_FULL_DATABASE privilege while exporting the same schema over network link

StackOverflow https://stackoverflow.com/questions/19582006

  •  01-07-2022
  •  | 
  •  

Pergunta

I am using expdp utility over a network link. I need to export only one schema which I own. ideally, it should allow me to export the schema which I own. But I am getting error like

ORA-31631: privileges are required ORA-39149: cannot link privileged user to non-privileged user

So do we need EXP_FULL_DATABASE privilege for exporting the same schema?

Foi útil?

Solução 2

Both the local and remote users require the EXP_FULL_DATABASE role granted to them while using NETWORK_LINK switch in data pump.

Check the following confirming the same: http://www.oracle-base.com/articles/10g/oracle-data-pump-10g.php

Outras dicas

Yes and no, depends on privilege you gave to target schema:

If the USERID that is executing the import job has the DATAPUMP_IMP_FULL_DATABASE role on the target database, then that user must also have the DATAPUMP_EXP_FULL_DATABASE role on the source database. (from http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_import.htm)

So you could either remove the DATAPUMP_IMP_FULL_DATABASE role from the target schema, or give the DATAPUMP_EXP_FULL_DATABASE role to source schema.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top