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: Question: Safest way to 'recreate' a tablespace

Re: Question: Safest way to 'recreate' a tablespace

From: gazzag <gareth_at_jamms.org>
Date: 26 Oct 2005 12:55:01 -0700
Message-ID: <1130356501.052393.326630@g44g2000cwa.googlegroups.com>


I believe the Oracle documentation gives an example of this:

  1. alter tablespace <tablespace_name> offline normal;
  2. Copy the datafile in question to the desired location with the relevant O/S command.
  3. alter tablespace <tablespace_name> rename datafile '<old_datafile_name>' to '<new_datafile_name>';
  4. alter tablespace <tablespace_name> online;

Clean up by deleting the unwanted datafile with the O/S. Received on Wed Oct 26 2005 - 14:55:01 CDT

Original text of this message

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