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.

Percent of CPU overhead<br />

Average CPU overhead <strong>for</strong> 15 Queries<br />

Query CPU overhead using NOT PADDED vs. PADDED keys<br />

Two varchar keys in two indexes are altered from padded to not padded<br />

8<br />

7<br />

6<br />

5<br />

4<br />

3<br />

2<br />

1<br />

0<br />

VC10 VC20 VC30 VC40 VC50<br />

Figure 5-13 Query CPU overhead using NOT PADDED vs. PADDED index<br />

There is a cost associated with the use of not padded keys as together with the key also the<br />

length bytes are saved. As the VARCHARs become longer the CPU overhead decreases.<br />

The impact on index leaf pages and index getpages is shown in Figure 5-14.<br />

P<br />

P<br />

CPU overhead<br />

P:<br />

Projection<br />

Chapter 5. Availability and capacity enhancements 239

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

Saved successfully!

Ooh no, something went wrong!