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.

DSNTIAUL with multi-row fetch<br />

The results of the per<strong>for</strong>mance measurement between <strong>DB2</strong> V8 DSNTIAUL and HPU are<br />

summarized in Table 10-7 <strong>for</strong> the case where DSNTIAUL is using multi-row fetch.<br />

Table 10-7 HPU V2.2 vs. <strong>DB2</strong> V8 DSNTIAUL (multi-row)<br />

Test case HPU V2.2 <strong>DB2</strong> V8 DSNTIAUL % Difference<br />

With Unload using multi-row fetch there is a general improvement in CPU time, almost half<br />

than the single row case, and the elapsed time goes down accordingly.<br />

DSNTIAUL is still the largest consumer of CPU time and also typically has longer elapsed<br />

time when compared to HPU, although Case 7 and 10 show DSNTIAUL being the best<br />

per<strong>for</strong>mer. In general HPU outper<strong>for</strong>ms DSNTIAUL multi-row by using about 1/3 - 1/4 of the<br />

CPU time.<br />

You see better per<strong>for</strong>mance with DSNTIAUL than with HPU, in cases 7 and 10, by an even<br />

larger margin than in the previous case.<br />

HPU vs. UNLOAD with <strong>for</strong>mat delimited<br />

If the UNLOAD utility prepares the output in delimited output <strong>for</strong>mat, you can assume that<br />

there is more work it has to per<strong>for</strong>m to add both the additional column delimited character and<br />

character string delimiter into the output data set as opposed to the external <strong>for</strong>mat. In spite of<br />

the extra CPU expended <strong>for</strong> this processing, the usability this feature provides is well worth it;<br />

the process is much easier since you can load the data without manually re<strong>for</strong>matting the<br />

input file <strong>for</strong> the LOAD utility.<br />

Refer to 6.3, “LOAD and UNLOAD delimited input and output” on page 270 <strong>for</strong> the results of<br />

this per<strong>for</strong>mance analysis.<br />

376 <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><br />

CPU Elapsed CPU Elapsed CPU Elapsed<br />

Case 1 11.89 62 109.27 159 819 156.45<br />

Case 2 9.44 61 N/A N/A N/A N/A<br />

Case 3 13.57 59 109.97 160 710.39 171.18<br />

Case 4 9.67 46 57.21 74 491.62 60.86<br />

Case 5 18.00 58 110.00 159 511.11 174.13<br />

Case 6 13.93 46 57.54 74 313.06 60.86<br />

Case 7 12.87 45 7.05 44 -45.22 -2.22<br />

Case 8 17.80 59 110.81 160 522.52 171.18<br />

Case 9 12.51 45 - - - -<br />

Case 10 2.39 22 1.44 21 -39.74 -93.45<br />

Parallel 15.33 24 N/A N/A N/A N/A

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

Saved successfully!

Ooh no, something went wrong!