I have large fragment on our LMT tablespace (after DMT -> LMT). Because of this, it slows down the performance. What is the best way to tackle this issue? Can I just:
1) create new temporary tablespace
2) move out data to temp tablespace
3) drop old tablespace
4) recreate old tablespace
5) move back in from temp tablespace
1) create new temporary tablespace
2) move out data to temp tablespace
3) drop old tablespace
4) recreate old tablespace
5) move back in from temp tablespace
I think we have discussed that already
1) Create new LMT
2) move all the segments to it
3) Drop the old one
4) If u use 10g rename the newly created tablespace to match the name of the old one
no need to move data forht and back
Yes, but when U move dmt to lmt using the Oracle package, actually extents are not touched. Just the free list is converted to bitmap and mooved to the file header. So if u had fragmentation in the DMT it stays in LMT as well
So to say, DMT moved to LMT is half lmt :-) If u create a new LMT and move the objects to it, then fragmentation shold be solved once and forever :-)
Actually, I did create LMT tablespace first when moving from DMT. I used scripts that I paste here. And yet I still have fragmentation. I wonder why. Now I want to do the same thing in order to eliminate this fragmentation. DO you think by doing this will solve my issue?
Bookmarks