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.

Sparse index (SI) per<strong>for</strong>mance<br />

Large elapsed time reduction<br />

Elapsed Time (s)<br />

Thousands<br />

Figure 3-20 Sparse index per<strong>for</strong>mance<br />

4<br />

3<br />

2<br />

1<br />

0<br />

I10<br />

I14<br />

I22<br />

S22A S22C VP12<br />

I26 S22B VP11 VP13<br />

QUERY NO<br />

The per<strong>for</strong>mance measurements considering the use of sparse indexes in star join show:<br />

► 77 queries on two workloads are measured.<br />

► Among the 41 queries that exploit sparse index (SI), most of queries show 50% - 80%<br />

elapsed time reduction. Top queries:<br />

– Query VP13 elapsed without SI = 3634 sec. and with SI = 561.9 sec. (84% reduction)<br />

– Query I10 elapsed time without SI = 3399 sec. and with SI = 1838 sec. (45% reduction)<br />

– Query VP12 elapsed without SI = 3143 sec. and with SI = 498.7 sec. (84% reduction)<br />

– Query I22 elapsed time without SI = 3142 sec. and with SI = 1625 sec. (48% reduction)<br />

► With parallelism, they show an additional 30% - 60% elapsed time reduction.<br />

► Per<strong>for</strong>mance improves more when more sorts are involved.<br />

Star join access path<br />

Figure 3-21 shows a comparison on CPU times between <strong>DB2</strong> V7 and <strong>DB2</strong> V8.<br />

without SI<br />

with SI<br />

These measurement results were based on all the <strong>DB2</strong> V8 supported features, including the<br />

in memory work file.<br />

Chapter 3. SQL per<strong>for</strong>mance 61

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

Saved successfully!

Ooh no, something went wrong!