Solved

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

Posted on 2013-01-16
4
477 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 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 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 76

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
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
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

948 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

17 Experts available now in Live!

Get 1:1 Help Now