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 > auto_runstats

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-10-06, 13:30
wehrle wehrle is offline
Registered User
 
Join Date: Jul 2005
Posts: 99
auto_runstats

AIX 5.3
DB2 8.2
SAP ERP 2005

1. Can someone please tell me what triggers the auto_runstats to run? As far as I can tell at the moment, it seems to run about every two hours.

2. When it does run, I do not believe it runs stats on all tables/indexes. Can someone confirm this and tell me what determines which tables get included?

3. Is there a way to not allow auto_runstats to run during a given period? There is some concern regarding it collecting stats during the evening hours while backups and/or jobs are running. Or, should we not be concerned about stats running while these other things are running?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 11-10-06, 15:41
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
I think DB2 monitors changed pages and recalculates statistics only for those objects that it thinks have changed.

Schedule for automatic maintenance (including automatic runstats) can be changed in Control Centre only. Well, technically you could also reverse-engineer contents of one of the DAS control tables, don't remember which one exactly: the configuration is stored as an XML document.
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