Home » RDBMS Server » Server Administration » Multiple DB Instances on single DB server/host (Oracle 12g)
|
|
|
|
|
|
Re: Multiple DB Instances on single DB server/host [message #653777 is a reply to message #653775] |
Mon, 18 July 2016 11:29   |
 |
Michel Cadot
Messages: 68757 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Quote:Does using a schema still require me to make the DB's prior to using the schema to populate?
No, you can use the current one.
Assume you have a database with current schema SCHEMA.
Then you create the 5 tester schemes as (assuming you have enough space on your disk to support 5 more schemes):
expdp system/manager schema=SCHEMA DUMPFILE=schema.dmp
impdp system/manager fromschema=SCHEMA toschema=TESTER1 DUMPFILE=schema.dmp
impdp system/manager fromschema=SCHEMA toschema=TESTER2 DUMPFILE=schema.dmp
impdp system/manager fromschema=SCHEMA toschema=TESTER3 DUMPFILE=schema.dmp
impdp system/manager fromschema=SCHEMA toschema=TESTER4 DUMPFILE=schema.dmp
impdp system/manager fromschema=SCHEMA toschema=TESTER5 DUMPFILE=schema.dmp
You then have to connect as SYSTEM with SQL*Plus to set a password for each tester schema.
That's all.
[Updated on: Mon, 18 July 2016 11:30] Report message to a moderator
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sun May 04 20:43:25 CDT 2025
|