Newsgroups: comp.databases.oracle.server
From: joel garry <joel-ga...@home.com>
Date: Mon, 08 Oct 2007 15:08:21 -0700
Local: Mon 8 Oct 2007 23:08
Subject: Re: How many people here rebuid index regularly?
On Oct 8, 1:37 pm, "Jonathan Lewis" <jonat...@jlcomp.demon.co.uk>
wrote: > Since no-one else has volunteered any suggestion, I'd I have a situation where the production schema had a major delete at > be interested in seeing what results you get from > the code at:http://www.jlcomp.demon.co.uk/index_efficiency.html > Picking just one potentially interesting index, as it does > Code changes needed: > Where I have 'column is not null' change the column > A note of the number of leaf_blocks in the index (from the end of last year, and has slowly been adding since. When I exp/ imp the schema in question to a test db, the size is a good 20% smaller. I then look at the largest index that OEM tells me has significantly fewer blocks with your program, and I see a much broader distribution of number of rows per index blocks. >From production: [snippage] ROWS_PER_BLOCK BLOCKS ROWS_PER_BLOCK BLOCKS [snippage of more rows like this] ROWS_PER_BLOCK BLOCKS 176 rows selected. SQL> select leaf_blocks from user_indexes where LEAF_BLOCKS >From test: ROWS_PER_BLOCK BLOCKS -------------- ---------- 113 1 121 1 131 1 160 1 165 1 188 210 189 2 192 1 193 697 197 1 198 2 ROWS_PER_BLOCK BLOCKS ROWS_PER_BLOCK BLOCKS ROWS_PER_BLOCK BLOCKS 42 rows selected. SQL> select leaf_blocks from user_indexes where LEAF_BLOCKS Therefore, exp/imp must indeed be the answer to life, indices and The question that is begged: Can-or-should I just compare the jg You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||