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.

Regression is about 5% better than non-data sharing. V8 can achieve significant<br />

per<strong>for</strong>mance improvements over V7 primarily due to some data sharing specific<br />

enhancements such as CF Request Batching and protocol 2. See Chapter 8, “Data<br />

sharing enhancements” on page 319 <strong>for</strong> more details.<br />

► -20 to +15% regression in batch DRDA workloads<br />

These huge gains over V7 are primarily due to API reduction <strong>for</strong> multi-row fetch in a<br />

distributed environment. See Chapter 7, “Networking and e-business” on page 281 <strong>for</strong><br />

more details.<br />

► -5% to +10% regression <strong>for</strong> utilities<br />

See Chapter 6, “Utilities” on page 261 <strong>for</strong> details.<br />

► -20% to +15% regression <strong>for</strong> query workloads<br />

Simple and short queries tend to increase in CPU while long running queries tend to<br />

decrease in CPU. However, the gains in per<strong>for</strong>mance can be quite substantial. They are<br />

primarily due to access path enhancements in V8. See Chapter 3, “SQL per<strong>for</strong>mance” on<br />

page 29 <strong>for</strong> more details.<br />

Now, let us have a brief overview of <strong>DB2</strong> utilities, where we found a wide variety of results.<br />

Figure 4-2 summarizes these results. Once again, a ‘+’ means a CPU increase and a ‘-’<br />

means a CPU decrease.<br />

reorg index<br />

check index<br />

recover tablespace<br />

unload<br />

online reorg<br />

Figure 4-2 V7 vs. V8 Utility CPU measurements<br />

All these utilities were executed with no new V8 function, except where the defaults changed<br />

from V7 to V8. We saw that:<br />

► LOAD achieved a 2% reduction in CPU<br />

► REORG achieved a 2% increase in CPU<br />

► REBUILD INDEX varied from a 9% reduction, to a 13% increase in CPU<br />

► RUNSTATS varied from a huge 45% reduction, to a 7% increase in CPU<br />

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

V7 vs. V8 Utility CPU measurements<br />

load<br />

reorg<br />

rebuild index<br />

runstats<br />

copy<br />

-40%<br />

-20%<br />

0% +20%

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

Saved successfully!

Ooh no, something went wrong!