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.

dynamic statement cache. If activated, consider this usage when calculating your EDM<br />

pool size. See “Calculating the EDM pool space <strong>for</strong> the prepared-statement cache” of the<br />

<strong>DB2</strong> <strong>UDB</strong> <strong>for</strong> z/<strong>OS</strong> <strong>Version</strong> 8 Installation Guide, GC18-7418, <strong>for</strong> details about estimating<br />

storage. If you specify YES, you must specify YES <strong>for</strong> USE PROTECTION on panel<br />

DSNTIPP.<br />

► Fast log apply enabled by default<br />

LOG APPLY STORAGE is an option on panel DSNTIPBA. The acceptable values are: 0 to<br />

100 MB. The macro is DSN6SYSP LOGAPSTG.<br />

The value in this field represents the maximum ssnmDBM1 storage that can be used by<br />

the fast log apply process. The default value is 0 MB, which means that the fast log apply<br />

process is disabled except during <strong>DB2</strong> restart. During <strong>DB2</strong> restart, the fast log apply<br />

process is always enabled and a value of 100 MB is assumed.<br />

The value you specify, if not equal to zero, which disables the function, is used <strong>for</strong><br />

RECOVER utility executions. Since RECOVER jobs are likely to run in parallel, specify<br />

100 MB so you can also use 10 MB of log apply storage <strong>for</strong> each concurrent RECOVER<br />

job (up to 10) that you want to have faster log apply processing.<br />

FLA is also utilized by the new RESTORE utility. In this case the default assumed by <strong>DB2</strong><br />

will be 500 MB, unless disabled by the value zero in LOG APPLY STORAGE.<br />

► The data set size panel DSNTIP7 has four new fields which change the way <strong>DB2</strong><br />

manages VSAM data sets:<br />

– Vary DS control interval (2 fields were changed)<br />

– Optimize extent sizing<br />

– Table space allocation and index space allocation<br />

► The Per<strong>for</strong>mance and Optimization panel, DSNTIP8, provides the defaults <strong>for</strong> two new<br />

special registers which have been created to support Materialized Query Tables:<br />

– CURRENT REFRESH AGE<br />

Specifies the default value to be used <strong>for</strong> the CURRENT REFRESH AGE special<br />

register when no value is explicitly set using the SQL statement SET CURRENT<br />

REFRESH AGE. The values can be 0 or ANY. The default of 0 disables query rewrite<br />

using materialized query tables.<br />

– CURRENT MAINT TYPES<br />

Specifies the default value to be used <strong>for</strong> the CURRENT MAINTAINED TABLE TYPES<br />

FOR OPTIMIZATION special register when no value is explicitly set using the SQL<br />

statement SET CURRENT MAINTAINED TABLE TYPES FOR OPTIMIZATION.<br />

Acceptable values are NONE, SYSTEM, USER, and ALL. The default (SYSTEM)<br />

allows query rewrite using system-maintained materialized query tables when the<br />

CURRENT REFRESH AGE is set to ANY. Alternatively, specifying USER allows query<br />

rewrite using user-maintained materialized query tables when CURRENT REFRESH<br />

AGE is set to ANY, and specifying ALL means query rewrite using both<br />

system-maintained and user-maintained materialized query tables.<br />

For materialized query tables refer to 3.2, “Materialized query table” on page 39.<br />

There are several other changes including:<br />

► Checkpoint frequency increased from 50,000 to 500,000 log records<br />

► Archive log block size reduced from 28672 to 24576 (<strong>for</strong> better DASD occupancy)<br />

► Remove hiperpool definitions and VPTYPE settings. They are no longer supported in V8<br />

► DDF panels have new terminology<br />

352 <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!