Solved

how to grant privelege to user on  importing  dump file

Posted on 2009-03-30
3
539 Views
Last Modified: 2013-12-18
I have created a user/schema say XYZ in oracle 10g. I gave the privilege to the user as
grant resource to XYZ ;
 I gave ran all the DDL scripts to generate Table, Sequence, Trigger etc structure.
Then I am importing the dump file(say abc.dmp) into the schema using the command
imp XYZ/password full=y file=abc.dmp ignore=y
When I do that getting error saying
ORA-01031: insufficient privileges

How can i get rid of this error. Is there is a way I can give import operation privilege to this particular user XYZ. Please advise. Any links , resources, ideas highly appreciated. Thanks in advance.

0
Comment
Question by:gudii9
3 Comments
 
LVL 8

Accepted Solution

by:
LindaC earned 400 total points
ID: 24024586
grant connect, exp_full_database, imp_full_database, select_catalog_role, unlimited tablespace, select any sequence, become user, backup any table, analyze any to backup_user;

Grant exempt access policy to backup_user;  

As sys the following privileges:

grant select on sys.incexp to backup_user;
grant select on sys.incfil to backup_user;
grant select on sys.incvid to backup_user;            

0
 
LVL 23

Assisted Solution

by:David
David earned 100 total points
ID: 24029403
FWIW, you would be amazed at how much better datapump exports are over the older method.  Search the EE knowledge base for prior discussion if intrigued.
 
0
 
LVL 7

Author Closing Comment

by:gudii9
ID: 31564550
Thank you very much. I appreciate it
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Deny Oracle DBAs from Connecting  "/ as sysdba" 5 52
how to replace '&' and '()' in sql query for oracle using regex 8 61
Schema creation in Oracle12c 6 39
Queries 15 34
Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to recover a database from a user managed backup

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now