Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

856 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