How do I imort dmp file into oracle 11G

Posted on 2012-04-10
Medium Priority
Last Modified: 2012-04-20
I just installed oracle11g, and I created a user ajoo_user password abcd. I have a dmp file which I need to import. I found this command

impdp <username>/<password> directory=my_dir dumpfile=exp_tab.dmp logfile=imp_tab

What user name password is it?

Question by:Ajoo71

Author Comment

ID: 37830712
Our documentation mentions to use this command where admin/admin123  is the user name and password of machien.  I am trying this on my local windows machine. what user name password I should mention, my windows7 username passwor?

impdp admin/admin123 dumpfile=expdp_ORA18B_POL_06JAN2012.dmp logfile=impdp_02212012.log directory=dp_dir SCHEMAS=POLAR remap_Schema=POLAR :ajoo_user transform=segment_attributes:n
LVL 12

Expert Comment

by:Praveen Kumar Chandrashekatr
ID: 37830932
you have give the username you has the rights/privileges for import/export

check this doc for more info on import/export.


Accepted Solution

ytarkan earned 1000 total points
ID: 37831360
it is oracle user and pass. If the user you mention (ajoo_user) is the user you have created in oracle then command should be like :

impdp ajoo_user/abcd directory=my_dir dumpfile=exp_tab.dmp logfile=imp_tab

may be better to remind that "my_dir" is not a windows directory but an oracle diretory created in oracle (for example create directory my_dir as 'c:\backups\'; then GRANT READ,WRITE on directory mydir to ajoo_user;)

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

623 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