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

Home -> Community -> Usenet -> c.d.o.server -> Re: Moving Oracle data files to a different hard disk

Re: Moving Oracle data files to a different hard disk

From: J L Joslin <jjoslin_at_ibm.net>
Date: 1997/09/21
Message-ID: <34297875.73073718@news-s01.ca.us.ibm.net>#1/1

Moving datafiles is not really complicated. Here's how:

  1. Bring up your database.
  2. using SQL*Plus or Server Manager, Alter the tablespace associated with the datafile you want to move, OFFLINE.
  3. copy the underlying datafile to the new location.
  4. issue ALTER TABLESPACE tablespace RENAME DATAFILE "old datafile" TO "new name". (this changes the name in the control file).
  5. alter the tablespace online.
  6. delete the old datafile.
Received on Sun Sep 21 1997 - 00:00:00 CDT

Original text of this message

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