Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to use remap_schema and limit the import to a single user

Posted on 2011-03-14
2
Medium Priority
?
1,586 Views
Last Modified: 2012-05-11
Using oracle 11gR2 on windows server 2003r2.

Trying to import a schema into a different schema name:

impdp system/password@database REMAP_SCHEMA=olduser:newuser directory=DATA_PUMP_DIR dumpfile=dumpfile.dmpdp logfile=impdp.log

When I run this, it looks like it's trying to import ALL the data, not just the olduser data (into newuser).

What is my impdp command missing?

Thanks.
0
Comment
Question by:gateguard
2 Comments
 
LVL 78

Accepted Solution

by:
slightwv (䄆 Netminder) earned 2000 total points
ID: 35133054
Add: schemas=olduser
0
 

Author Closing Comment

by:gateguard
ID: 35133238
thanks!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

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.  …
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
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.
Suggested Courses

824 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