Solved

how to grant privelege to user on  importing  dump file

Posted on 2009-03-30
3
535 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious sideā€¦
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

762 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

22 Experts available now in Live!

Get 1:1 Help Now