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.

3.3.5 Conclusion<br />

Star join workload<br />

Total elapsed time and total cpu time <strong>for</strong> 79 queries on highly<br />

normalized warehouse workload<br />

Elapsed Time or CPU Time (thousand seconds)<br />

Figure 3-23 Star join workload<br />

Observations on star join workload <strong>for</strong> 79 queries:<br />

► V7 old cost model is the default. Sparse index enhancements apply.<br />

► V7 new cost model - Set SPRMSJNC DSNZPARM to ON (by APAR PQ61458)<br />

– V7 new cost model provides access path/per<strong>for</strong>mance improvement on long running<br />

queries<br />

– Recommend SAP/BW customer use new cost model<br />

► 33.5% reduction on total elapsed time vs. old cost model<br />

► V8 without IMWF enhancement<br />

– Have access path improvements <strong>for</strong> medium and short running queries<br />

– 36.4% reduction on total CPU time vs. V7 new cost model<br />

► V8 IMWF enhancement<br />

► Reduce the elapsed time of the workload by about 35%<br />

Total elapsed time and total CPU time <strong>for</strong> 79 queries:<br />

► V7 old model: 39968 sec. elapsed time and 15219 sec. CPU time<br />

► V7 new model: 26581 sec. elapsed time and 13462 sec. CPU time<br />

► V8 w/o IMWF: 26512 sec. elapsed time and 8563 sec. CPU time<br />

► V8 with IMWF: 17200 sec. elapsed time and 5847 sec. CPU time<br />

The comparison between the V7 old model and V8 with IMWF resulted in a total of a 56%<br />

reduction in elapsed time and a 61% reduction in CPU time.<br />

V8 star join queries per<strong>for</strong>m much better than V7 due to:<br />

► Star join access path enhancements<br />

64 <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 />

50<br />

40<br />

30<br />

20<br />

10<br />

0<br />

V7 Old Model<br />

V8 w/o IMWF<br />

V7 New Model<br />

V8 with IMWF<br />

E.T.<br />

CPU

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

Saved successfully!

Ooh no, something went wrong!