alter index command
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: alter index command

  1. #1
    Join Date
    Sep 2001
    Location
    chennai
    Posts
    69

    alter index command

    hello
    can anyone tell which is right

    when we issue a Alter Index... Rebuild command ,
    1) is it the index dropped and then recreated with the same name or
    2) a new index is created and then the old one is dropped

    if the second case is right then what will be the name of the index. because we cannot have two indexes in the same tablespace with the same name at the same time.

    pls clarify

    thanks in advance

    rswamin

  2. #2
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    a new index is created using either the existing index or table depending on the size of each segment, after the new index is built the old one is dropped that's why you need double disk space when rebuild an index

  3. #3
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    To add to that, the previous index cannot be used as the basis for the rebuild if it is "UNUSABLE", of course.
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

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