Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

When should one rebuild an index? (for DBA)

9 like 0 dislike
Helloo
When should one rebuild an index? (for DBA)
please reply me. i am waiting for your reply.
Thank you.
asked 1 year ago by sr_webmaster (21,000 points)

1 Answer

3 like 0 dislike
 
Best answer
You can run the 'ANALYZE INDEX VALIDATE STRUCTURE' command on the affected indexes - each invocation of this command creates a single row in the INDEX_STATS view. This row is overwritten by the next ANALYZE INDEX command, so copy the contents of the view into a local table after each ANALYZE. The 'badness' of the index can then be judged by the ratio of 'DEL_LF_ROWS' to 'LF_ROWS'.
answered 1 year ago by eagles11 (179,830 points)

Related questions

8 like 0 dislike
1 answer
4 like 0 dislike
1 answer
asked 1 year ago by marck_don (191,010 points)
8 like 0 dislike
1 answer
4 like 0 dislike
1 answer
4 like 0 dislike
1 answer