Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

runstats frequency on data warehouse DB

Hi all,
my db2 admin is asking why a runstats is run against ccm data warehouse db (DB2 is used, in this case). He says he's not doing that runstats and it's some ccm Server / Advance Properties / property that force the runstats each hour.
Can someone have an idea about what to check?
Thanks! 

0 votes



One answer

Permanent link

I have seen runstats active on dw database during etl jobs.  It is also plausible that the database itself is configured to evaluate runstats/reorg

db2 get db cfg for database XXXX

Part of that output is [ these are not default settings ]

Automatic maintenance                      (AUTO_MAINT) = ON
   Automatic database backup            (AUTO_DB_BACKUP) = OFF
   Automatic table maintenance          (AUTO_TBL_MAINT) = ON
     Automatic runstats                  (AUTO_RUNSTATS) = ON
       Real-time statistics            (AUTO_STMT_STATS) = OFF
       Statistical views              (AUTO_STATS_VIEWS) = OFF
       Automatic sampling                (AUTO_SAMPLING) = OFF
     Automatic reorganization               (AUTO_REORG) = ON

In addition there is the possibility of configuring these activities to be constrained to certain days/times, but if memory serves, the default is any day/any time.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 82

Question asked: Feb 16 '17, 10:08 a.m.

Question was seen: 1,811 times

Last updated: Feb 16 '17, 11:52 a.m.

Confirmation Cancel Confirm