Solved

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

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

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
levels for reporting 5 77
Action link in Union Reports Not Working in OBIEE 11g 1 88
oracle 11g 23 84
Create Index on a Materialized View 5 24
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

810 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