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: move a datafile from a filesystem to another

RE: move a datafile from a filesystem to another

From: John Carlson <jcarlson_at_cj.com>
Date: Wed, 21 May 2003 16:27:58 -0800
Message-ID: <F001.0059F4EB.20030521162758@fatcity.com>


Here's a UNIX example:

set pause off echo on termout on feedback on whenever sqlerror exit

alter tablespace YOUR_TS offline normal;

!mv /u01/oradata/SID/YOUR_TS_01.dbf /u02/oradata/SID/YOUR_TS_01.dbf

alter tablespace YOUR_TS rename datafile '/u01/oradata/SID/YOUR_TS_01.dbf'
to '/u02/oradata/SID/YOUR_TS_01.dbf';

alter tablespace YOUR_TS online;

HTH,
John

-----Original Message-----
Sent: Wednesday, May 21, 2003 3:17 PM
To: Multiple recipients of list ORACLE-L

which command do I use to move an oracle datafile from one filesystem to another filesystem? I understand the db is to be up in restrict mode.

TIA
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Leyden, Joseph
  INET: LeydenJ_at_MTA.NET

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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).

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: John Carlson
  INET: jcarlson_at_cj.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Wed May 21 2003 - 19:27:58 CDT

Original text of this message

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