Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Help! How do I create a second database on the same machine?

Re: Help! How do I create a second database on the same machine?

From: Amit Aggarwal <amaggarwal_at_kendle.com>
Date: 1997/07/03
Message-ID: <33BBE6A5.35CF@kendle.com>#1/1

Jeremy Cope wrote:
>
> I have an Oracle 7.3 database running on NT and I would like to create
> two environments e.g test and prod
>
> What is the best way to do this?
>
> Do I need to install Oracle again and create another instance and
> database?
>
> Can I use the same instance for two databases? (I don't think so)
>
> Thanks in advance
>
> Jeremy Cope
> Consultant and desperado..........

The best way to do this is to set the environmental variable ORACLE_SID different first. Then edit the old CREATE DATABASE scripts, to reflect new database files, their sizes and location. Run the scripts.
A totally new database will be created with the same ORACLE HOME. You should not ahve to do anything with the old database. To access the two databases, each time you will have to set the environmental variable ORACLE_SID. Amit Received on Thu Jul 03 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US