Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

708 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

15 Experts available now in Live!

Get 1:1 Help Now