DBAsupport.com Forums - Powered by vBulletin
Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: INDEX SIZING

  1. #11
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    Originally posted by oravijay
    Hi,

    You can do the following:
    ....
    Neither of the two methods (selecting from data dictionary or using DBMS_SPACE) give you any information about the number of blocks that contain actual data. They only report you the number opf blocks below and above HWM, nothing more. You can verify this very easily, do the following:

    DELETE FROM vj_test; -- delete all rows

    ANALYZE TABLE vj_test compute STATISTICS;

    Now perform your queries from data dictionary and call DBMS_SPACE.UNUSED_SPACE and see what you get! It should report that all blocks are free, but it is not what your methods actually show.
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

  2. #12
    Join Date
    Feb 2000
    Location
    Singapore
    Posts
    1,758
    Agree with you, jmodic. My query WILL return inaccurate results if tere are chained rows in table.

    Sanjay

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