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.

SQLJ programs need to use explicitly defined connection contexts as always has been<br />

recommended.<br />

The test cases presented used WebSphere and the universal Type 4 Driver. The difference in<br />

per<strong>for</strong>mance with using the Type 2 Driver and <strong>DB2</strong> Connect instead is negligible as WAS will<br />

per<strong>for</strong>m connection pooling with the Type 4 Driver.<br />

JCC Type 4 vs. JCC Type 4 with <strong>DB2</strong> Connect - IRWW workload<br />

Figure 7-13 illustrates the per<strong>for</strong>mance results of running IRWW workload using JCC Type 4<br />

connection going from distributed plat<strong>for</strong>m to <strong>DB2</strong> <strong>for</strong> z/<strong>OS</strong> in comparison of using JCC Type<br />

4 to connect to <strong>DB2</strong> <strong>for</strong> z/<strong>OS</strong> through <strong>DB2</strong> Connect in gateway mode. The measurements<br />

show a 2.3% [(382.14 – 373.73) / 382.14 * 100%] internal throughput degradation by going<br />

through <strong>DB2</strong> Connect rather than going directly to <strong>DB2</strong> <strong>for</strong> z/<strong>OS</strong>.<br />

In the <strong>DB2</strong> Connect scenario, both JCC driver and <strong>DB2</strong> Connect reside on the same<br />

machine, and <strong>DB2</strong>CONNECT_IN_APP_PROCESS is defined as NO in order to have the<br />

application connect to the <strong>DB2</strong> Connect EE Server and then have the host connection run<br />

within an agent.<br />

400<br />

350<br />

300<br />

250<br />

200<br />

150<br />

100<br />

50<br />

JCC Type 4 Direct vs. JCC Type 4 with <strong>DB2</strong> Connect<br />

382.14 373.73<br />

JCC Type 4 Direct JCC Type 4 with<br />

<strong>DB2</strong> Connect<br />

Figure 7-13 JCC Type 4 vs. JCC Type 4 with <strong>DB2</strong> Connect<br />

Normalized z/<strong>OS</strong><br />

Transaction / Second<br />

Conclusion<br />

The new <strong>DB2</strong> Universal Type 2 Driver per<strong>for</strong>ms as well and better than the legacy JDBC App<br />

Driver and the Type 4 Driver per<strong>for</strong>ms better than the Type 3 Net Driver.<br />

Recommendations<br />

We recommend the usage of <strong>DB2</strong> universal Type 2 Driver in a local <strong>DB2</strong> environment. The<br />

Type 4 Driver is preferred when accessing a remote <strong>DB2</strong> server in a distributed environment.<br />

Use the <strong>DB2</strong> Universal Type 4 Driver to access a <strong>DB2</strong> server directly when connections are<br />

already pooled by other application servers, <strong>for</strong> example, WebSphere. FixPak 10 has been<br />

recently made available and it supports connection concentration and sysplex workload<br />

balancing.<br />

Chapter 7. Networking and e-business 299

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

Saved successfully!

Ooh no, something went wrong!