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.

|PRIMAUTH : AND PLAN NAME : DISTSERV CORR ID : javaw.exe CONN ID : SERVER<br />

|NETWORKID : G998C442 LUNAME : HF05 OWNING WORK UNIT: 223 UNIQUENESS VALUE: X'00BB46094741'<br />

|MEMBER : SDA1 DURATION : COMMIT STATE : INTENT EXCLUSIVE ACE : 3<br />

|TRANSACTION : javaw.exe WS_NAME : B55Z5WH0 END_USER: and<br />

|PROGRAM NAME: SYSSH200 LOCATION : 'BLANK' PCKG/COLL ID: NULLID<br />

|CONS TOKEN : X'5359534C564C3031'<br />

|STATUS : HOLD<br />

|QW0172HF: X'12'<br />

| W A I T E R<br />

|PRIMAUTH : CHM PLAN NAME : DSNESPRR CORR ID : CHM CONN ID : TSO<br />

|NETWORKID : DE<strong>IBM</strong>IPS LUNAME : IPSASDA1 OWNING WORK UNIT: 132 UNIQUENESS VALUE: X'BB13C6E7AD25'<br />

|MEMBER : SDA1 DURATION : COMMIT STATE : SHARED INTENT EXCLUSIVACE : 2<br />

|TRANSACTION : 'BLANK' WS_NAME : 'BLANK' END_USER: 'BLANK'<br />

|PROGRAM NAME: DSNESM68 LOCATION : 'BLANK' PCKG/COLL ID: DSNESPRR<br />

|CONS TOKEN : X'149EEA901A79FE48'<br />

|<strong>DB2</strong>S ASIC : 5008 REQ WORK UNIT: 132 EB PTR : X'206F8540' REQ FUNCTION: CHANGE<br />

|WORTH : X'12' QW0172WG: X'32'<br />

|<br />

| R E S O U R C E<br />

|LOCK RES TYPE: DATA BASE LOCK DBID: DSNDB04 OBID: 0<br />

|LOCK HASH VALUE: X'00000080'<br />

| B L O C K E R<br />

|PRIMAUTH : CHM PLAN NAME : DSNESPRR CORR ID : CHM CONN ID : TSO<br />

|NETWORKID : DE<strong>IBM</strong>IPS LUNAME : IPSASDA1 OWNING WORK UNIT: 132 UNIQUENESS VALUE: X'BB13C6E7AD25'<br />

|MEMBER : SDA1 DURATION : COMMIT STATE : EXCLUSIVE ACE : 2<br />

|TRANSACTION : 'BLANK' WS_NAME : 'BLANK' END_USER: 'BLANK'<br />

|PROGRAM NAME: DSNESM68 LOCATION : 'BLANK' PCKG/COLL ID: DSNESPRR<br />

|CONS TOKEN : X'149EEA901A79FE48'<br />

|STATUS : HOLD<br />

|QW0172HF: X'10'<br />

| W A I T E R<br />

|PRIMAUTH : AND PLAN NAME : DISTSERV CORR ID : javaw.exe CONN ID : SERVER<br />

|NETWORKID : G998C442 LUNAME : HF05 OWNING WORK UNIT: 223 UNIQUENESS VALUE: X'00BB46094741'<br />

|MEMBER : SDA1 DURATION : COMMIT STATE : EXCLUSIVE ACE : 3<br />

|TRANSACTION : javaw.exe WS_NAME : B55Z5WH0 END_USER: and<br />

|PROGRAM NAME: SYSSH200 LOCATION : 'BLANK' PCKG/COLL ID: NULLID<br />

|CONS TOKEN : X'5359534C564C3031'<br />

|<strong>DB2</strong>S ASIC : 5008 REQ WORK UNIT: 223 EB PTR : X'2027DFB8' REQ FUNCTION: LOCK<br />

|WORTH : X'11' QW0172WG: X'30'<br />

|-------------------------------------------------------------------------------------------------------------------------<br />

Detecting long-running readers<br />

<strong>DB2</strong> V8 introduces a new DSNZPARM, LRDRTHLD, as a threshold value in number of<br />

minutes an application can hold a read claim against an object be<strong>for</strong>e notification. You can set<br />

this value in order to be able to detect long-running readers. If statistics class 3 is active, an<br />

additional field type in IFCID 313 is recorded.<br />

4.12.3 Lock escalation IFCID 337<br />

Many installations go to great lengths to avoid or minimize lock escalation. However, <strong>DB2</strong> V7<br />

does not produce an IFCID record when lock escalation occurs, thus making it difficult <strong>for</strong><br />

per<strong>for</strong>mance monitors to report on lock escalation. You can trap console message DSNI031I<br />

today. It is produced whenever lock escalation occurs. However, per<strong>for</strong>mance monitors prefer<br />

a single interface <strong>for</strong> all per<strong>for</strong>mance-related in<strong>for</strong>mation through the <strong>DB2</strong> Instrumentation<br />

Facility Component.<br />

<strong>DB2</strong> V8 introduces a new IFCID 337 to report on lock escalations. IFCID 337 is added to the<br />

statistics trace class 3 and per<strong>for</strong>mance trace class 6. If activated, IFCID 337 is written<br />

whenever lock escalation occurs. The record contains a superset of the in<strong>for</strong>mation that is<br />

reported in message DSNI031I. Refer to Appendix C of <strong>DB2</strong> <strong>UDB</strong> <strong>for</strong> z/<strong>OS</strong> <strong>Version</strong> 8:<br />

Everything You Ever Wanted to Know, ... and More, SG24-6079, <strong>for</strong> a more detailed<br />

discussion of IFCID 337, or member DSNWMGSG in <strong>DB2</strong> V8 SDSNSAMP <strong>for</strong> a description<br />

of its contents.<br />

In addition, message DSNI031I is enhanced to include the collection ID in order to be<br />

consistent with IFCID 337.<br />

Chapter 4. <strong>DB2</strong> subsystem per<strong>for</strong>mance 207

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

Saved successfully!

Ooh no, something went wrong!