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.

► <strong>IBM</strong> z900 Series 2064 2-way processor<br />

► ESS 800 DASD (with FICON channel)<br />

Per<strong>for</strong>mance measurement results<br />

In these measurements <strong>DB2</strong> V8 is acting as a DRDA application server, accessed by another<br />

<strong>DB2</strong> V8 acting as a DRDA application requestor. We fetch 100,000 20 column rows from a<br />

cursor without and with rowset positioning. The size of one row is 100 bytes.<br />

We look at three cases: using multi-row fetch implicitly, explicitly and insert.<br />

The results <strong>for</strong> implicit multi-row are presented in Figure 7-2. Note that the impact of multi-row<br />

fetch depends on network per<strong>for</strong>mance, the number of columns and rows fetched in one fetch<br />

request, the row size and the complexity of the SQL call. This means that your results are<br />

likely to differ from what is presented here.<br />

The requestor class 1 elapsed time is derived from requestor (class 2 elapsed time + (class 1<br />

CPU time - class 2 CPU time)) in order to avoid wide fluctuation reported in accounting class<br />

1 elapsed time.<br />

(Sec)<br />

9<br />

6<br />

3<br />

0<br />

5.7<br />

Multi-row Fetch, Distributed - Host to Host<br />

(Total rows fetched : 100,000 rows)<br />

Requester Class 1 elapsed time<br />

5.4<br />

10.3<br />

V8 default = V8 without explicit multi-row FETCH<br />

V8 n1 x n2 = V8 with explicit multi-row FETCH<br />

n1= # of FETCH<br />

n2= # of rows per MR FETCH<br />

Figure 7-2 Multi-row FETCH - Distributed host to host<br />

4<br />

3.4 3.2<br />

v7 v8 10k 1k 100 10 (n1)<br />

default 10 100 1K 10K (n2)<br />

Note is that in the case of implicit multi-row fetch, the requestor application does not need to<br />

be changed.<br />

In <strong>DB2</strong> V8 implicit multi-row FETCH (default), the results listed in Table 7-2 show a 5%<br />

elapsed time improvement at the requestor and a 47% CPU time improvement at the server<br />

(Sec)<br />

2<br />

1<br />

0<br />

Server Class 1 CPU time<br />

1.76<br />

0.93<br />

2.01<br />

1.13 1.03 1<br />

v7 v8 10k 1k 100 10 (n1)<br />

default 10 100 1K 10K (n2)<br />

Chapter 7. Networking and e-business 287

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

Saved successfully!

Ooh no, something went wrong!