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.

and <strong>DB2</strong> V8. These two products provide different unload capabilities. The major functional<br />

differences between them are outlined in Table 10-2 below.<br />

For more in<strong>for</strong>mation about this <strong>DB2</strong> tool, see the following Web site:<br />

http://www.ibm.com/software/data/db2imstools/<br />

Table 10-2 <strong>DB2</strong> HPU vs. UNLOAD utility<br />

<strong>DB2</strong> High Per<strong>for</strong>mance Unload tool UNLOAD utility<br />

Supports <strong>DB2</strong> V5, V6, V7 and V8 Supports <strong>DB2</strong> V and V8<br />

Supports any SQL statement by passing any<br />

statements it cannot process to <strong>DB2</strong><br />

Table 10-3 describes the different output <strong>for</strong>mats available with the <strong>DB2</strong> High Per<strong>for</strong>mance<br />

Unload tool.<br />

Table 10-3 HPU output <strong>for</strong>mats<br />

10.11.1 Per<strong>for</strong>mance measurements<br />

Supports a limited number of statements<br />

Has 4 output <strong>for</strong>mats <strong>DB2</strong> V7: only one output <strong>for</strong>mat - LOAD.<br />

<strong>DB2</strong> V8: supports delimited <strong>for</strong>mat in addition to<br />

LOAD above.<br />

Has a user exit that allows you to examine the row<br />

prior to writing to the output data set. You can also<br />

modify the row prior to writing it to the data set.<br />

Can unload data from a dropped table. HPU<br />

requires that the dropped table be recreated in<br />

the catalog and then per<strong>for</strong>m the unload from an<br />

image copy using the OBID of the original table.<br />

HPU UNLOAD command syntax same between<br />

z/<strong>OS</strong> product and MP product.<br />

HPU V2 supports BMC and CA UNLOAD product<br />

syntax.<br />

HPU output <strong>for</strong>mats Description<br />

Several per<strong>for</strong>mance measurements were made to compare the per<strong>for</strong>mance of different<br />

unload options. One set of tests compares the HPU V2.2 and the <strong>DB2</strong> V8 UNLOAD utility.<br />

Another set of tests illustrate the difference between unloading data using the <strong>DB2</strong> V8<br />

UNLOAD utility with a load output <strong>for</strong>mat as opposed to using the delimited data <strong>for</strong>mat. The<br />

results are discussed in this section.<br />

N/A<br />

If the created table has the same OBID as the<br />

original table, the UNLOAD utility does the<br />

unload. If the OBID is different, then the UNLOAD<br />

utility will not work.<br />

REORG UNLOAD Same <strong>for</strong>mat as the <strong>IBM</strong> REORG UNLOAD utility<br />

N/A<br />

N/A<br />

DSNTIAUL Output identical to DSNTIAUL <strong>for</strong>mat<br />

DELIMITED You can specify a separator and a delimiter<br />

character<br />

VARIABLE Treat all variable length fields as variable<br />

USER Completely user-defined; can customize every<br />

column differently<br />

Chapter 10. Per<strong>for</strong>mance tools 371

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

Saved successfully!

Ooh no, something went wrong!