19.06.2013 Views

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The Plug-In Options screen of Statistics Advisor is provided in Figure 3-57:<br />

Figure 3-57 Statistics Advisor Plug-integrated with Visual Explain<br />

Predefined defaults (you can add your own business specific defaults):<br />

When Statistics Advisor observes a predicate using a default, SA recognizes that often<br />

default values are skewed. So even if a column has high COLCARDF, if the SQL searches <strong>for</strong><br />

a ‘typical default’ (ACCT_NO = 0), then SA suggests collection of a single frequency on that<br />

column. On the screen presented on Figure 3-58, you can define the collection parameters<br />

<strong>for</strong> RUNSTATS, report type, collection type, check obsolete statistics dates, and enable<br />

logging <strong>for</strong> Statistics Advisor. Logging means saving files with the name ssa.log, ssa.log.1,<br />

ssa.log.2, and so on, and creates a trace.txt file, with the in<strong>for</strong>mation you need to analyze VE<br />

problems.<br />

Figure 3-58 Predefined default values<br />

Conflict thresholds tab:<br />

We recognize that you run RUNSTATS with SHRLEVEL CHANGE on online systems. So it is<br />

possible <strong>for</strong> table, index, and column statistics to be slightly inconsistent without causing<br />

122 <strong>DB2</strong> <strong>UDB</strong> <strong>for</strong> z/<strong>OS</strong> <strong>Version</strong> 8 Per<strong>for</strong>mance <strong>Topics</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!