Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Cannot delete a tablespace's datafile
Hi all,
I tried to delete a datafile1.dbf of tablespace A with the command:
svrmgrl> connect internal
> startup mount ORCL
> alter database datafile '/u01/oradata/ORCL/datafile1.dbf' offline drop;
Statement successful
rm /u01/oradata/ORCL/datafile1.dbf
and then
> alter database open;
but the database ORCL still remember the '/u01/oradata/ORCL/datafile1.dbf of tablespace A and displayed the error message about this datafile 'datafile1.dbf' not found. The tablespace A cannot online eventhough other datafiles in this tablespace can turn to online.
What is the right command to drop a datafile of a tablespace?
Thanks in advance for any help.
DH. Received on Mon Mar 05 2001 - 23:32:57 CST
![]() |
![]() |