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

Thread: Indexes

  1. #1
    Join Date
    Jun 2001
    Posts
    316
    Hi,
    By mistake some of the indexes have been stored into the users table space..
    Now i want to move it to the indx table space....

    How can i do it...and Will it create any problem..

    Thanx

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    You can rebuild the indexes specifying a new tablespace:
    Code:
    alter index xyz rebuld tablespace new_tbs;
    You should do this off-hours to avoid performance problems when the index is being rebuilt.
    Jeff Hunter

  3. #3
    Join Date
    Jun 2001
    Posts
    316
    Thanx a lot...

  4. #4
    Join Date
    Sep 2000
    Location
    Chennai, India
    Posts
    865
    ALTER INDEX index_name REBUILD TABLESPACE tablespace_name;

    REBUILD will move the index from existing tablespace to new tablespace that you mention.


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