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: oracle 9i problems.. renaming datafiles

Re: oracle 9i problems.. renaming datafiles

From: Raymond <r_h_at_xs4all.nl>
Date: Wed, 19 Jun 2002 18:55:15 +0200
Message-ID: <aeqcvv$75p$1@news1.xs4all.nl>

>
> SYS_at_PRACTICE> alter database datafile 4 offline;
>
> Database altered.
>
> SYS_at_PRACTICE> alter database datafile 4 online;
> alter database datafile 4 online
> *
> ERROR at line 1:
> ORA-01113: file 4 needs media recovery
> ORA-01110: data file 4: 'C:\ORACLE\ORADATA\PRACTICE\INDX01.DBF'
>

You should take the tablespace offline, not the datafile.

R. Received on Wed Jun 19 2002 - 11:55:15 CDT

Original text of this message

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