Today on checking free space of tablespaces, i found that lot of free space is shown. And on checking deeply I found that space is left free in the form of few contiguous blocks.
What should I need to do to reorganize this and I fel that this is affecting performance also. Am I right.
After this again , my tool says that tablespace is 81% full. and i need to add datafile almost every 2 weeks. What would be better to do, keep on adding files or reorganize this.
Coalesce will gather all the contiguous free blocks a make one sinlge large free block.
You can automatically accomplish this if you keep the PCTINCREASE value for the tablespace non-zero. In that case, smon will keep on doing the coalesce job.
But, you should do this ONLY if the objects in this tablespace have been created with their own storage parameters and hence will not inherit the tablespace's parameters.
If you convert all your tablespaces to Local Managed with uniform extent size, you'll never have to worry about free space/fragmentation ever again. Starting from 8.1.6, no tablespace (other than SYSTEM) should be dictionary managed.
Bookmarks