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: Seema Singh <oracledbam_at_hotmail.com>
Date: Mon, 07 May 2001 13:59:23 -0700
Message-ID: <F001.002FB663.20010507140613@fatcity.com>

The following are the steps.
1)Alter tablespace <tablespace name > offline; 2)copy or move the datafiles at OS level like mv <source file location> <destination file location> 3)alter database rename file <source location> to <destination location> 4)Alter tablespace <tablespace name > online; Now the datafile will be available at new location. Hope this will help you.
Thanks
-Seema
>From: "Thater, William" <ThaterW_at_telergy.net>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: RE: Rename Datafile
>Date: Mon, 07 May 2001 09:25:58 -0800
>
>On Mon, 7 May 2001,Hillman, Alex scribbled on the wall in glitter crayon:
>
>->Why not to make tablespace offline, rename datafile in oracle and them
>use
>->unix mv command to move it? Copy is not good ig there is no space.
>
>Well, the time I tried it, ORACLE didn't like the fact the new file wasn't
>there first. But that was in version 7.3.2 so maybe in 8x that would work.
>--
>Bill Thater Certifieable ORACLE DBA
>Telergy, Inc. thaterw_at_telergy.net
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>You gotta program like you don't need the money,
>You gotta compile like you'll never get hurt,
>You gotta run like there's nobody watching,
>It's gotta come from the heart if you want it to work.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Press [ESC] to detonate or any other key to explode.
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Thater, William
> INET: ThaterW_at_telergy.net
>
>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_at_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).



Get your FREE download of MSN Explorer at http://explorer.msn.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Seema Singh
  INET: oracledbam_at_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_at_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 - 15:59:23 CDT

Original text of this message

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