Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Resize Datafile
Gaetan,
If the ALTER DATABASE DATAFILE ... RESIZE does not work because there of fragmentation, then find out which objects reside in the tablespace which has the datafile. If you place your objects right then export the objects from this tablespace, drop the tablespace and recreate it with smaller datafiles. After that import the objects back.
Of course that depends on your setup and size of the database.
If using Oracle 8i you can also move the objects to temporary tablespace then recreate it and move them back.
Hope that helps,
Trifon Anguelov
Senior Oracle DBA
"Gaetan Poitras" <poitrasg_at_crcsogema.com> wrote in message
news:3ebc2be2.0202070625.2fbface4_at_posting.google.com...
> Hello.
> I am looking to find a solution to reduce the size of a datafile. Is
> it possible and how..?
> Thank you
Received on Thu Feb 07 2002 - 20:53:44 CST