If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > how to explain reorgchk report?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-13-09, 08:40
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
how to explain reorgchk report?

could you tell me where to find explaination for all columns in the reorgchk output? what does it mean if there are only '---'s there? what does it mean that REORG column has '--*' ?

thanks in advance
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #2 (permalink)  
Old 01-13-09, 09:54
JAYANTA_DATTA JAYANTA_DATTA is offline
Registered User
 
Join Date: Oct 2004
Location: DELHI INDIA
Posts: 336
--*
" * " means that particular parameter is below the RECOMMENDED level. So a REORG can help to increase the parameter value to achieve the RECOMMENDED value. For example if your CLUSTERFACTOR is 70, whereas the recommended value is 80%, then you will see *--. Now after REORG if your clusterfactor improves to 90% then the REORGCHK will show you ---.
__________________

Jayanta Datta
DB2 UDB DBA
IBM India, Global Delivery
New Delhi
Reply With Quote
  #3 (permalink)  
Old 01-13-09, 10:31
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
Quote:
Originally Posted by JAYANTA_DATTA
--*
" * " means that particular parameter is below the RECOMMENDED level. So a REORG can help to increase the parameter value to achieve the RECOMMENDED value. For example if your CLUSTERFACTOR is 70, whereas the recommended value is 80%, then you will see *--. Now after REORG if your clusterfactor improves to 90% then the REORGCHK will show you ---.
what does the position of the * tells us? '*--' vs. '-*-' or in case of indexes '-*---' and '---*-' ? could not find any documentation on this. could you provide a link or smth? thanks in advance
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #4 (permalink)  
Old 01-13-09, 11:37
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by MarkhamDBA
could not find any documentation on this. could you provide a link or smth?
DB2 Universal Database
Reply With Quote
  #5 (permalink)  
Old 01-13-09, 12:03
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
Quote:
Originally Posted by n_i
got it. thx.

I guess no matter what the position of * is, the action would have to be the same - reorg and runstats on this table and/or index, and then rebind. Is that right?
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #6 (permalink)  
Old 01-13-09, 12:52
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
No, that would be wrong.

The output of reorgchk shows something like F1, F2, and so on. The position of the '*' corresponds to the parameter being represented, i.e. '*--' means that parameter F1 is off while F2 and F3 are fine. Likewise, '-*-' means that only condition F2 is not met.

Now, why would it be wrong to always reorg if there is a '*' somewhere? The thing is that you can only have 1 cluster index for a table. If the rows are ordered by column A, you cannot have an ordering also for column B (except for rare cases and column correlations/functional dependencies). So if you reorg the table to cluster according to an index on column A, you will get '*' on the clustering factor for an index on column B. Thus, you should understand what each of the indicators shown by reorgchk is telling you and whether it matters for you.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On