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.

► The <strong>DB2</strong> Universal JDBC type 4 Driver provides better per<strong>for</strong>mance than the current<br />

JDBC type 3 Driver. Note that the type 3 JDBC Driver or “net” driver is deprecated.<br />

► The balancing features of the <strong>DB2</strong> Universal Driver offer good per<strong>for</strong>mance and a good<br />

choice of functions.<br />

Starting with V5.0.2 WebSphere is supporting the new <strong>DB2</strong> Universal Driver.<br />

WebSphere V5.0.2 z/<strong>OS</strong> - <strong>DB2</strong> <strong>for</strong> z/<strong>OS</strong> V8 - Servlet workload<br />

Different test cases were measured and are presented in this section.<br />

<strong>DB2</strong> universal type 2 Driver vs. legacy JDBC 2.0 Driver - local environment<br />

WAS V5.0.2 and <strong>DB2</strong> V8 are running in the same LPAR. The throughput of this configuration<br />

with the Type 2 legacy Driver is compared to the configuration with the new Type 2 Driver, see<br />

Figure 7-6.<br />

WebSphere z/<strong>OS</strong> - <strong>DB2</strong> z/<strong>OS</strong> V8 - Servlet workload<br />

Legacy JDBC 2.0 driver vs. JCC type 2<br />

WebSphere<br />

V502<br />

servlet<br />

WebSphere<br />

V502<br />

servlet<br />

z/<strong>OS</strong> 1.4<br />

legacy<br />

JDBC<br />

type 2<br />

JCC<br />

T2<br />

1.8.36<br />

<strong>DB2</strong> V8 <strong>for</strong><br />

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

<strong>DB2</strong> V8 <strong>for</strong><br />

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

Figure 7-6 <strong>DB2</strong> Universal Type 2 Driver vs. legacy JDBC 2.0 Driver<br />

An increase of 2% throughput is noticed with the <strong>DB2</strong> Universal Type 2 Driver. There is no<br />

reason to stop you from using the new JCC Type 2 Driver.<br />

If you still have the legacy Drivers in your CLASSPATH, you must make sure that the<br />

db2jcc.jar file is in the CLASSPATH, ahead of the legacy Driver files, because some classes<br />

have the same name in the legacy and the <strong>DB2</strong> Universal Driver <strong>for</strong> SQLJ and JDBC.<br />

However, to avoid confusion it is probably best to only have one set of drivers (old or new) in<br />

the CLASSPATH.<br />

<strong>DB2</strong> universal type 2 Driver - Gateway <strong>DB2</strong> vs. <strong>DB2</strong> universal type 4 Driver<br />

Although it seems unusual to establish a connection to a remote <strong>DB2</strong> <strong>for</strong> z/<strong>OS</strong> with a fully<br />

implemented <strong>DB2</strong> subsystem, it was your only choice in the past since there was no <strong>DB2</strong><br />

client on the z/<strong>OS</strong> plat<strong>for</strong>m available. Besides the license cost <strong>for</strong> the <strong>DB2</strong> software, the <strong>DB2</strong><br />

subsystem used also memory and CPU resources on the WAS LPAR.<br />

294 <strong>DB2</strong> <strong>UDB</strong> <strong>for</strong> z/<strong>OS</strong> <strong>Version</strong> 8 Per<strong>for</strong>mance <strong>Topics</strong><br />

Trans/sec - higher is better<br />

350<br />

300<br />

250<br />

200<br />

150<br />

100<br />

50<br />

0<br />

2 %<br />

Legacy Driver<br />

JCC

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

Saved successfully!

Ooh no, something went wrong!