Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: extending tablespace TEMP
Hi,
>>If there was no data in the datafile - and thats a pretty big if - you might
>>get away with 'alter database datafile 'your file' offline drop;'
I think most people are confused that we a data file is being added to a tablespace, it will remain with it forever. There is no easy such as the drop that you can use for views, tables, indexes etc.
Another thing is the 'Alter database datafile offline drop' is meant for when you intend to drop the tablespace including contents. Simply offline drop without dropping the tablespace itself will cause Ora-01147 at startup.
Here is my two lepta:
If you are running in Noarchivelog mode
If you are running in Archivelog mode
Of course dropping a datafile Oracle 9i is a different story I believe.
Allan W. Tham
DBA
Received on Tue Dec 18 2001 - 21:14:02 CST