DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: on 'MOVE' and 'REBUILD'

  1. #1
    Join Date
    Jan 2001
    Location
    St. Louis. MO
    Posts
    151

    Cool

    Guys,

    I need your opinions coupled with experience on this.

    I tried using these two commands to relocate tables and indexes on a different tablespace. What happen if you don't transfer it to a different tablespace and just do a 'move' and 'rebuild' on the same tablespace, will it resolve table fragmentation?

    Thanks,

    Ed

  2. #2
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    not really, it depends how bad is your tablespace fragmentation, if it´s bad then there is no point moving, rebuilding in same tablespace

  3. #3
    Join Date
    Feb 2001
    Posts
    389
    I would prefer to move to a seperate tablespace, coalesce the old tablespace and then move it back.
    Big process but effective.
    U can do it on the same tablespace, if the table is small or if u need to
    change the storage paremters.

  4. #4
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Better still:
    1. create new_ts as LMT
    2. move/rebuild your tables/indexes there
    3. don't ever worry about fragmentation again
    Jeff Hunter

  5. #5
    Join Date
    May 2001
    Location
    Delhi
    Posts
    340

    fragmentation


    what i think is that

    only rebuild will reduce fragmentation and move will not do that. if youmove after that you hv to rebuild to defragment the table/index.

    letc c what gurus say.
    --------------------------
    The Time has come ....

  6. #6
    Join Date
    Feb 2001
    Posts
    389
    Just to clarify,

    Table rebuild is available in 9i and only move is available in 8i.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width