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 > Index Cluster Ratio doens't improve after ReOrg Table/Index

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-29-11, 10:17
Beemer Beemer is offline
Registered User
 
Join Date: Sep 2011
Posts: 7
Index Cluster Ratio doens't improve after ReOrg Table/Index

Hi, all

The db2 mornitoring tools indicates there are several tables and indexs need to be reorg, especially indexes. I ran reorg on the tables and indexes and runstat after that. However the cluster ratio is't changed from Indexes. Any advise would be appreciated!!
Reply With Quote
  #2 (permalink)  
Old 09-29-11, 11:34
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
You have more than one index and the table is clustered on one of those. The other indexes cannot be clustered like the other index. You cannot prevent this.

Andy
Reply With Quote
  #3 (permalink)  
Old 09-29-11, 18:16
Beemer Beemer is offline
Registered User
 
Join Date: Sep 2011
Posts: 7
Follow up the post

HI, Andy
Thank you for your post. Understood! Just wondering I was referrring table(s) where only one index is defined. I was reorg the table with the index then update statistics...but it does change nothing..
Thanks.
Reply With Quote
  #4 (permalink)  
Old 09-29-11, 18:24
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Is this index a clustering index? I suspect it's not. If not and you want data in the table to be ordered by this index, specify INDEX option on the reorg table command.
Reply With Quote
  #5 (permalink)  
Old 10-03-11, 16:34
Beemer Beemer is offline
Registered User
 
Join Date: Sep 2011
Posts: 7
Online vs. Offline

Thank you for all. I will check the option if I can reorg tables clustering using index then see if it makes any change of ratio.
Just one follow up questions.....any different result if I reorg online vs. offline?
Thanks!!
Reply With Quote
  #6 (permalink)  
Old 10-03-11, 16:51
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Quote:
Originally Posted by Beemer View Post
any different result if I reorg online vs. offline?
Quite!!

Reorg - Inplace vs Offline
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #7 (permalink)  
Old 10-03-11, 20:25
Beemer Beemer is offline
Registered User
 
Join Date: Sep 2011
Posts: 7
~~

Super! Thank you all.
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