Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Defragmentation of tablespace
Also, if you do move to a new tablespace please consider moving to uniform
extents which will remove any need to defragment in the future (I assume
you're doing it because of wasted space in the tablespace and not because of
the now-discredited notion that it's bad to have many extents for a
particular segment?).
Check out the paper "How to stop defragmenting and start living". It changed my life many years ago. Well, my life as a DBA anyway :)
Jay Miller
-----Original Message-----
Sent: Thursday, October 31, 2002 11:29 AM
To: Multiple recipients of list ORACLE-L
> -----Original Message-----
>
> Does anybody help me to defrag / reorganise the user tablespaces which
> is large in size.
> Is there any script for that ? If available can somebody send it to me
> ?
>
The two methods that come to mind are:
Before going to all this trouble, try coalescing the free space in the tablespace, then look to see if you still have chunks of free space scattered all over the place, all of them smaller than you need, but the sum of which is considerable.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Stephen Lee INET: slee_at_dollar.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Miller, Jay INET: JayMiller_at_TDWaterhouse.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Fri Nov 01 2002 - 13:13:51 CST
![]() |
![]() |