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

Thread: date of last rebuild of index

  1. #1
    Join Date
    Oct 2008
    Location
    Chandigarh, India
    Posts
    322

    date of last rebuild of index

    Is there any system table that records the date of last rebuild of index?
    lucky

  2. #2
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    dba_objects, last_ddl_time
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

  3. #3
    Join Date
    Oct 2008
    Location
    Chandigarh, India
    Posts
    322
    Quote Originally Posted by PAVB View Post
    dba_objects, last_ddl_time
    Thanks mate. Though not exact but it will suffice for my task. I forgot it almost.
    lucky

  4. #4
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    Quote Originally Posted by mahajanakhil198 View Post
    Though not exact
    not exact for an index?
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

  5. #5
    Join Date
    Oct 2008
    Location
    Chandigarh, India
    Posts
    322
    Quote Originally Posted by PAVB View Post
    not exact for an index?
    I meant that it tells only the last DDL (which could be any DDL and not the index rebuild DDL). But it would server my purpose as there are only rebuild scripts issued on indexes here.
    lucky

  6. #6
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    Quote Originally Posted by mahajanakhil198 View Post
    I meant that it tells only the last DDL (which could be any DDL and not the index rebuild DDL). But it would server my purpose as there are only rebuild scripts issued on indexes here.
    Exactly - May be I'm a little slow today but can't think on any ddl affecting an existing index that wouldn't relate to create or rebuild.
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

  7. #7
    Join Date
    Oct 2008
    Location
    Chandigarh, India
    Posts
    322
    Quote Originally Posted by PAVB View Post
    Exactly - May be I'm a little slow today but can't think on any ddl affecting an existing index that wouldn't relate to create or rebuild.
    Hmm... I thought that 'coalesce' should also be the one but it is not as I just tried it.
    lucky

  8. #8
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    Quote Originally Posted by mahajanakhil198 View Post
    Hmm... I thought that 'coalesce' should also be the one but it is not as I just tried it.
    coalesce isnt DDL

    have a read of the concepts guide

  9. #9
    Join Date
    Oct 2008
    Location
    Chandigarh, India
    Posts
    322
    Quote Originally Posted by davey23uk View Post
    coalesce isnt DDL

    have a read of the concepts guide
    I have also read the Course books by Oracle. Probably, I didn't find anywhere that 'alter index ... coalesce' is not a DDL.

    But it does say that alter statement is a DDL and if 'coalesce' is not a DDL, then it is not mentioned anywhere there. Though, it's a good learn this thing.
    lucky

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