By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,719 Members | 1,811 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,719 IT Pros & Developers. It's quick & easy.

reorg and reorgchk

P: n/a
does anyone have an idea as to why the reorgchk utility says that a
particular table needs to be reorged even after running the reorg
command on that particular table. answer is appreciated.

Feb 12 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
If the table has more than one index and one of them is a clustering index
then after an offline reorg the table will be fine and sequenced, the
cluster ratio of the clustering index will be a 100% but the other index(es)
may show a cluster ratio less than 80%.
At that point the reorgchk command does not know which index is the
clustering one (it may be one specified in a previous reorg command). It
will then show that the table needs to be reorg'ed because those other
index(es) may be out of cluster.

Now, if the reorg is INPLACE (meaning online), then the reorg wil do one and
only one of two things, never both:
1) Reclaim space if there is no clustering index defined or index specified
in the reorg command.
Then a reorgchk afterwards may show that the table need reorg
because some index(es) is out of cluster.
2) Resequence the table according to: An index with a cluster clause or an
index specified.
A reorgchk afterwards could show need because space could be
reclaimed.

HTH, Pierre.

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"EpsilonAurigae" <ab**************@gmail.com> a écrit dans le message de
news: 11**********************@g14g2000cwa.googlegroups. com...
does anyone have an idea as to why the reorgchk utility says that a
particular table needs to be reorged even after running the reorg
command on that particular table. answer is appreciated.


Feb 13 '06 #2

P: n/a
Ian
EpsilonAurigae wrote:
does anyone have an idea as to why the reorgchk utility says that a
particular table needs to be reorged even after running the reorg
command on that particular table. answer is appreciated.


It depends on why REORGCHK says that the table needs to be reorganized.
Post the output.

Also, did you update statistics again after REORG?

Feb 13 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.