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 > Runstats required ??

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-12-11, 09:59
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Runstats required ??

Hello all,

As we usually see message like this ( db2 v9.1 on aix 5.3 ), in inst.nfy file,

Code:
ADM10512W  Health indicator "Statistics Collection Required" 
("db.tb_runstats_req") is in state "Update statistics required" on "database" 
"db2inst1.TPOSDB  ". Collection (Object Name, Timestamp, Value, Detail): " 
("POS"."DUTIL", 09/12/2011 07:43:54.000000, 2, RUNSTATS USE PROFILE)".
I think we should be able to check if the runstats are required or not for a particular table.

I have been running runstats only by guess(estimate).

Can someone tell if there is a specific logic that I should follow ??


Regards

DBFinder
Reply With Quote
  #2 (permalink)  
Old 09-12-11, 10:06
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
runstats should be run : whenever indexes are added/changed - whenever large amount of data loaded/deleted ..
if slowly changing/growing data : on regular time base (monthly-trimester..)
some customer open the automated runstats in the night and let db2 handle this. they turn this off in the morning..
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
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