Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Defragmenting tablespaces ?

Y.RamletAug 14 2015 — edited Aug 17 2015

DB version: 11.2.0.4

Platform : Oracle Linux 6.5

3-Node RAC DB

We have a 23 TB DB and we have been encountering some performance issues lately. Its mostly due to badly written queries, huge volume of data in resultset, ..etc. But, this application's manager has asked in a meeting if I could check that the tablespaces (not tables) are fragmented . Apparently , in his old shop , the DBA over there has done some 'Defragmenting' of tablespaces for the same application to fix some of the Performance issues.

To resize datafiles we have to move around DB objects to other tablespace so that the HWM in a particular datafile is reset and then we could run the RESIZE command. But this is not 'Defragmenting'.

In the below thread, Justin Cave explains that "a locally managed tablespace effectively cannot be fragmented".

What did Justin mean by this ? Why don't we need 'defragmentation' for Locally managed Tablespaces ?

Since I've worked only on 11g, I don't know the history . Did , DBA's do some kind of defragmentation for older versions ?

https://community.oracle.com/thread/2508361

This post has been answered by jgarry on Aug 14 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 14 2015
Added on Aug 14 2015
14 comments
3,384 views