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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Note that when the qualified partitions cannot be determined at BIND time because the literal<br />

value in the predicate is unknown (<strong>for</strong> example, because a host-variable, parameter marker,<br />

or special register is used), then <strong>DB2</strong> will determine what the qualified partitions are at<br />

execution time. By doing this, only the qualified partitions will be accessed, even if <strong>DB2</strong> could<br />

not determine which partitions were qualified at BIND time. (This enhancement does NOT<br />

require the use of REOPT(VARS)). In addition, the <strong>DB2</strong> access path selection has been<br />

enhanced to make use of all leading partitioning key columns when determining the qualified<br />

partitions. (Currently, only the first column of the partitioning key is used to determine which<br />

partitions qualify. This can result in more partitions being in the range of qualified partitions<br />

than actually do qualify.)<br />

This enhancement will not only benefit cases that use a DPSI to access the data, but any<br />

case where a partitioned table space was accessed with too many partitions qualified.<br />

5.6 Other availability enhancements<br />

Other <strong>DB2</strong> V8 availability enhancements and also recent enhancements introduced via<br />

maintenance are discussed in this section.<br />

5.6.1 More online DSNZPARMs<br />

In order to minimize downtime when making DSNZPARM parameter changes effective, <strong>DB2</strong><br />

V7 introduced the online change <strong>for</strong> subsystem parameters. This function allows you to load a<br />

new subsystem parameter load module into storage without recycling <strong>DB2</strong>. To do this, you<br />

can use the normal installation parameter update process to produce a new load module,<br />

which includes any desired changes to parameter values. You can then issue the -SET<br />

SYSPARM command to load the new module in order to affect the change.<br />

<strong>DB2</strong> V8 adds more online changeable parameters.<br />

Not all subsystem parameters are dynamically changeable. Refer to the Appendix of <strong>DB2</strong><br />

<strong>UDB</strong> <strong>for</strong> z/<strong>OS</strong> <strong>Version</strong> 8 <strong>DB2</strong> Command Reference, SC18-7416, <strong>for</strong> a list of all parameters,<br />

the macros where they are defined, and whether or not they are changeable online.<br />

5.6.2 Monitor long running UR back out<br />

During restart processing, <strong>DB2</strong> issues progress messages during the <strong>for</strong>ward and backward<br />

phase of the restart. Message DSNR031I is issued in 2 minute intervals, showing the current<br />

log RBA being processed and the target RBA to complete the restart phase. With <strong>DB2</strong> V8, a<br />

new progress message is issued during the back out of postponed URs as well. This<br />

message is first issued after the process has at least exceeded one two minute interval and is<br />

repeated every two minutes until the back out process is complete.<br />

5.6.3 Monitor system checkpoints and log offload activity<br />

With <strong>DB2</strong> V7, you had the chance to monitor the actuality of system checkpoints and the<br />

status of the log offload activity using <strong>DB2</strong> command -DISPLAY LOG, which was introduced<br />

to <strong>DB2</strong> V6. Sometimes, however, there are situations where <strong>DB2</strong> stopped taking system<br />

checkpoints or was stuck during its log offload activity. Since both situations might cause<br />

problems during operations, <strong>DB2</strong> V8 provides you with new messages, which help you<br />

identify problems faster. In addition a new IFCID 0335 record is produced if a statistics class 3<br />

is active.<br />

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