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.

AIX<br />

C-program Conversion<br />

Routines<br />

Prepare 943<br />

Prepare 943<br />

<strong>DB2</strong> <strong>UDB</strong> client code V8<br />

DRDA<br />

Common<br />

Layer<br />

Figure 4-17 CCSID conversion - Remote Prepare of SQL statement<br />

The application on AIX typically inputs the SQL statement in ASCII, whether the target <strong>DB2</strong><br />

server is V7 or V8. So, <strong>DB2</strong> V7 converts the statement from ASCII to EBCDIC, and <strong>DB2</strong> V8<br />

converts the SQL statement from ASCII to UTF-8.<br />

Finally, Figure 4-18 shows a local prepare of an SQL statement using the Universal Java Type<br />

2 Driver to connect to <strong>DB2</strong> V7 and <strong>DB2</strong> V8.<br />

Java<br />

Application<br />

Prepare 1200<br />

Prepare 1200<br />

USS<br />

Universal<br />

Java T2 Driver<br />

1208<br />

1208<br />

Figure 4-18 CCSID conversion - Local Prepare using Universal Java Type 2 Driver<br />

The Legacy JDBC Driver converts the SQL statement from UTF-16 to UTF-8, which requires<br />

no conversion on <strong>DB2</strong> V8.<br />

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

<strong>DB2</strong> V7 on z/<strong>OS</strong><br />

DDF DBM1<br />

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

DDF DBM1<br />

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

RRS <strong>DB2</strong> V7<br />

DBM1<br />

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

DBM1<br />

1390<br />

1208<br />

1390<br />

1208<br />

<strong>DB2</strong> V7<br />

Catalog<br />

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

Catalog<br />

<strong>DB2</strong> V7<br />

Catalog<br />

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

Catalog

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

Saved successfully!

Ooh no, something went wrong!