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>DB2</strong> Universal Type 4 Driver - JDBC vs. SQLJ - CMP workload<br />

As shown in Figure 7-11, SQLJ outper<strong>for</strong>ms JDBC with 25% increased throughput on <strong>DB2</strong> <strong>for</strong><br />

z/<strong>OS</strong> and 11% on WebSphere V5 AIX. Besides the benefits of static SQL, persistence in<br />

WebSphere with SQLJ requires fewer API calls compared to JDBC.<br />

WebSphere /AIX - <strong>DB2</strong> <strong>for</strong> z/<strong>OS</strong> V8 - CMP workload<br />

JCC FP4 type 4 - JDBC vs. SQLJ<br />

AIX<br />

WebSphere<br />

V5.0.2<br />

CMP<br />

JCC<br />

T4<br />

FP4<br />

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

Figure 7-11 <strong>DB2</strong> Universal Type 4 Driver - JDBC vs. SQLJ - CMP workload<br />

<strong>DB2</strong> Universal Type 4 Driver - JDBC vs. SQLJ - Servlet workload<br />

Figure 7-12 shows that the best per<strong>for</strong>mance is achieved using SQLJ when the SQLJ files are<br />

compiled with the option -db2optimize.<br />

Figure 7-12 <strong>DB2</strong> Universal Type 4 Driver - JDBC vs. SQLJ - Servlet workload<br />

298 <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 />

D<br />

D<br />

F<br />

Trans/second - higher is better<br />

200<br />

150<br />

100<br />

50<br />

0<br />

11 %<br />

25 %<br />

ITR AIX ITR z/<strong>OS</strong><br />

WebSphere /AIX - <strong>DB2</strong> <strong>for</strong> z/<strong>OS</strong> V8 - Servlet Workload<br />

JCC FP7 type 4 - JDBC vs. SQLJ<br />

AIX<br />

WebSphere<br />

V6 beta<br />

JCC<br />

T4<br />

FP7<br />

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

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

D<br />

D<br />

F<br />

Trans/second - higher is better<br />

250<br />

200<br />

150<br />

100<br />

50<br />

0<br />

JDBC<br />

SQLJ<br />

-2%<br />

5.5%<br />

6%<br />

ITR AIX ITR z/<strong>OS</strong><br />

SQLJ<br />

-db2optimize<br />

9%<br />

JDBC<br />

SQLJ

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

Saved successfully!

Ooh no, something went wrong!