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.

– CLASST: Specifies the threshold at which class castout is started. It is expressed as a<br />

percentage of the number of data entries. The default is decreased from 10% to 5%.<br />

– GBPOOLT: Specifies the threshold at which the data in the group buffer pool is cast out<br />

to DASD. It is expressed as a percentage of the number of data entries in the group<br />

buffer pool. The default is decreased from 50% to 30%.<br />

– GBPCHKPT: Specifies the time interval in minutes between group buffer pool<br />

checkpoints. The default is lowered from 8 minutes to 4 minutes.<br />

9.2 IVP sample programs<br />

<strong>DB2</strong> continues to enhance the IVP samples in order to demonstrate the usage of new<br />

functions, to provide more features and enhance the usability of the samples themselves. In<br />

this section we are interested in the per<strong>for</strong>mance of multi-row fetch from the programs<br />

DSNTEP2, DSNTEP4 and DSNTIAUL. This function can be activated only in NFM. These<br />

programs are often used <strong>for</strong> testing during the migration to a new <strong>DB2</strong> release.<br />

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

In this section we describe how the tests were made, what kinds of scenarios were used, how<br />

we get the default, and how much improvement each program gets when using multi-row<br />

FETCH.<br />

Native measurements environment<br />

► <strong>DB2</strong> <strong>for</strong> z/<strong>OS</strong> V8 and V7 (non-data sharing)<br />

► z/<strong>OS</strong> Release 1.3.0<br />

► <strong>IBM</strong> z900 Series 2064 2-way processor<br />

► ESS 800 DASD with FICON channels<br />

Measurement scenarios<br />

► Non-partitioned table space, 10,000 row table, 26 columns, 1 index<br />

► Dynamic SQL with table space scan<br />

► Measured on both V7 and V8<br />

► Retrieve 5 columns, 10k rows<br />

► Retrieve 20 columns, 10k rows<br />

DSNTEP2 and DSNTEP4<br />

DSNTEP2 is a PLI program shipped with <strong>DB2</strong> to demonstrate the support <strong>for</strong> dynamic SQL.<br />

The DSNTEP2 has been enhanced <strong>for</strong>:<br />

► GET DIAGN<strong>OS</strong>TICS<br />

DSNTEP2 now uses GET DIAGN<strong>OS</strong>TICS to retrieve error in<strong>for</strong>mation.<br />

► Large SQL statement:<br />

The sample program DSNTEP2 can now handle SQL statements larger than 32 KB in<br />

size.<br />

► Greater than 18 character table/column names:<br />

The sample program DSNTEP2 has been modified to handle the longer table and column<br />

names.<br />

► New MAXERRORS value:<br />

A new MAXERRORS parameter has been added in DSNTEP2. It allows you to<br />

dynamically set the number of errors that DSNTEP2 will tolerate. In previous versions of<br />

<strong>DB2</strong>, DSNTEP2 stopped processing after it encountered 10 SQL errors. The<br />

346 <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>

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

Saved successfully!

Ooh no, something went wrong!