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.

► With one NPI or one DPSI<br />

► With 3 DPSIs and 2 NPIs<br />

► With 5 DPSIs or 5 NPIs<br />

The following measurement cases were run:<br />

► Load table<br />

► Reorg table space<br />

► Rebuild index<br />

► Check index<br />

► Runstats index<br />

Figure 5-21 shows the result of a measurement where one partition was loaded of a 20 M row<br />

table with 10 partitions and 1 NPI vs. 1 DPSI.<br />

time<br />

in<br />

seconds<br />

Load a partition of table of 20M rows 10<br />

partitions with 1 NPI and table with 1 DPSI<br />

80<br />

70<br />

60<br />

50<br />

40<br />

30<br />

20<br />

10<br />

0<br />

CPU Elapsed time<br />

Table with 1 NPI<br />

62 76<br />

Table with 1 DPSI 28 25<br />

Figure 5-21 Load with 1 NPI vs. 1 DPSI<br />

The reduction in CPU of the test case with a DPSI is mostly due to better code method: Load<br />

of the DPSI (a page at the time) instead of Insert in the NPI case.<br />

In Figure 5-22 we compare the load of a single partition of a 20 M row table with 10 partitions<br />

with 5 NPIs or 5 DPSIs versus the load of the whole table.<br />

Chapter 5. Availability and capacity enhancements 249

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

Saved successfully!

Ooh no, something went wrong!