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" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
>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.            [EMAIL PROTECTED]
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>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: [EMAIL PROTECTED]
>
>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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to