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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Rename Datafile

Re: Rename Datafile

From: Jyoti Randive <jnair75_at_hotmail.com>
Date: Mon, 07 May 2001 08:04:02 -0700
Message-ID: <F001.002FAC04.20010507074624@fatcity.com>


Hi Mitchell,
The steps should work. Oracle recommends to shutdown  the mounted database before opening again after the change(I am not sure about if this is required) I would just open the closed db .
I usually,
a.Backup the database(going to do a structural change!)
b.Take the tablespace connected to the tablespace offline if the datafiles belong to non system t/s(it would be better to shutown , start and mount if it is in Production !)
c.copy the datafiles to the new location and rename using o/s commands.
d.Rename the datafiles in Oracle using alter tablespace  rename datafile 'old file ' to 'new file'
e.bring the tablespace online or shutdown and restart the db or iopen the mounted db as the case may be.
f.Full Backup db again with the new structure.
HTH.
JyotiGet Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jyoti Randive
  INET: jnair75@hotmail.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon May 07 2001 - 10:04:02 CDT

Original text of this message

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