?
Solved

Oracle 10g - Create a new instance with parameters from othe instance

Posted on 2013-01-16
4
Medium Priority
?
485 Views
Last Modified: 2013-01-20
Hi,

Im running Oracle 10g in a SPARC box.

I have an instance called GT1 with severla tables in it. I want to create the instance GT2 with the same parameters (of course difenret SID but same place to put data, memory,etc) without the tables of GT1 - so its not a clone.

If you have something in a command line - my connection is too slow for me to use and X host for dbca...

Tks,
Joao
0
Comment
Question by:joaotelles
  • 2
  • 2
4 Comments
 
LVL 78

Accepted Solution

by:
slightwv (䄆 Netminder) earned 2000 total points
ID: 38783129
Without the tools, probably the best way is to clone the database then drop the tables.

The spfile parameters are pretty easy, use create pfile from spfile then edit the pfile for the new database and use it to create the spfile for the new one.

Since you can't use dbca, how did GT1 get created?  If it was from a script, just copy the script, edit the names/locations and create GT2 from the script.
0
 

Author Comment

by:joaotelles
ID: 38783152
Actually wasnt me who created the GT1.
I will try to work with DBCA.. it will take more but I think its simpler...

With DBCA, can I create the new instance without getting the data from the old one? I think without cloning the data it will be faster for me.
0
 
LVL 78

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 2000 total points
ID: 38783171
I've never tried to create a new database from an existing one with dbca.

I created a dbca template.  I copy that around to all my Oralce installs and when I run dbca I select my template.  I can then tweak any parameters I need to or leave them alone.  It's more cookie-cutter.
0
 

Author Closing Comment

by:joaotelles
ID: 38798169
Tks.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
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 setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
Suggested Courses

840 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