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: How to add a deleted datafile again

Re: How to add a deleted datafile again

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 8 Feb 2005 06:43:35 -0800
Message-ID: <1107873815.384775.110910@g14g2000cwa.googlegroups.com>


You can reuse the physical datafile but you can not salvage the contents. The alter database drop datafile action is a permanent action.

If you are trying to add the file back to the same tablespace you will need to drop the entire tablespace including contents prior to adding the file to the tablespace.

alter tablespace
add datafile 'xxxxx' size 1024M reuse;

But this will reformat the file so the contents are toast.

You should not issue any command to alter the physical database until you have researched its effects.

HTH -- Mark D Powell -- Received on Tue Feb 08 2005 - 08:43:35 CST

Original text of this message

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