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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Moving Oracle Home

Re: Moving Oracle Home

From: Matthew Arrocha <marrocha_at_bellsouth.net>
Date: Mon, 10 Aug 1998 11:44:43 GMT
Message-ID: <01bdc454$d67c28c0$8723d6d1@marrocha>


No,

You will have to install the Oracle executables to the new Oracle_home. Once in the new Oracle home move the datafiles, init.ora and controlfiles to the new database home directory, if there are only 7-8 datafiles then recreate the instance for the new location using ORADIM73 command line. Then mount the database and issue:

 alter database rename file 'oldpath\filename' to 'newpath\filename';

This will rename the locations of the files so the controlfile can locate them.
If you have a lot of datafiles, mount the database and issue:

 alter database backup controlfile to trace;

In your trace directory you will have the create syntax for a new controlfile. Edit that file to change the datafile paths. Then you can save the file as a .SQL script.
Startup nomount and execute the new controlfile script.

Good luck.

Armadillo_at_my-dejanews.com wrote in article <6pps8i$ptb$1_at_nnrp1.dejanews.com>...
> I have an instance on an NT box in which we have
> just installed a new (i.e. additional) hard drive,
> and for various reasons want to move oracle home
> to the new drive. Is there any way to do this on
> NT without de-installing and re-installing all the
> oracle software (running version 7.3.2)?
>
> Julian Wiffen
>
> jwiffen_at_zsassociates.com
>
> -----== Posted via Deja News, The Leader in Internet Discussion ==-----
> http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
>
Received on Mon Aug 10 1998 - 06:44:43 CDT

Original text of this message

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