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.

This record is activated by:<br />

-START TRACE(PERFM) CLASS(32) IFCID(342)<br />

Monitors, <strong>for</strong> example, can trigger exceptions on this new IFCID to catch runaway queries<br />

be<strong>for</strong>e they monopolize the system and cause other applications to fail, because the workfile<br />

database and TEMP database are shared amongst all <strong>DB2</strong> users.<br />

Obtaining secondary authorization ID in<strong>for</strong>mation<br />

This enhancement allows applications to obtain the authorization identifiers that are<br />

associated with an application (such as QMF) that is executing. The primary authorization ID,<br />

the CURRENT SQLID, and secondary authorization IDs can be retrieved with a synchronous<br />

read of IFCID 234. This enhancement is also available in <strong>DB2</strong> V6 and V7 via APAR PQ47973,<br />

PTF UQ57178 <strong>for</strong> V7 and PTF UQ57177 <strong>for</strong> V8.<br />

Note however that IFCID 234 is always started implicitly by <strong>DB2</strong> at startup time. It is not<br />

contained in any <strong>DB2</strong> trace class and cannot be specified as an IFCID value on the -START<br />

TRACE command.<br />

Auditing <strong>for</strong> multilevel security<br />

Audit record (IFCID 142) is produced if a table with a security label is created, altered or<br />

dropped.<br />

The user must be identified to Security Server with a valid SECLABEL. If not, an authorization<br />

error and audit record are produced (IFCID 140).<br />

4.12.7 Miscellaneous trace enhancements<br />

In this section we discuss other enhancements to monitoring, such as new <strong>DB2</strong> messages.<br />

Monitor system checkpoints and log offload activity<br />

<strong>DB2</strong> V8 provides new messages, as well as an IFCID 335 record, to help you to identify<br />

problems with log offloading faster. An IFCID 335 record is produced if the statistics class 3<br />

trace is active. See “Monitoring system checkpoints and log offload activity” in <strong>DB2</strong> <strong>UDB</strong> <strong>for</strong><br />

z/<strong>OS</strong> <strong>Version</strong> 8: Everything You Ever Wanted to Know, ... and More, SG24-6079, <strong>for</strong> more<br />

in<strong>for</strong>mation about the console messages that are produced.<br />

This enhancement helps you identify potential problems with <strong>DB2</strong> logging be<strong>for</strong>e they<br />

become real problems which may cause application outages. For example, when <strong>DB2</strong> stops<br />

taking system checkpoints or gets stuck during its log offload activity, the system grinds to a<br />

halt.<br />

4.13 Miscellaneous items<br />

In this section we introduce miscellaneous enhancements which also impact <strong>DB2</strong> subsystem<br />

availability, per<strong>for</strong>mance and scalability.<br />

4.13.1 <strong>DB2</strong> logging enhancements<br />

As the throughput of a single <strong>DB2</strong> subsystem increases, the amount of data <strong>DB2</strong> must log<br />

also increases. Keeping the <strong>DB2</strong> logging data available and online is very important, as it<br />

dramatically speeds up <strong>DB2</strong> recovery and maximizes data availability.<br />

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