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.

Figure 5-7 shows the sliding scale mechanism <strong>for</strong> a 16 GB data set with a maximum of 246<br />

extents.It assumes an initial extent of 1 cylinder.<br />

Extent size (CYLS)<br />

200<br />

150<br />

100<br />

50<br />

0<br />

Figure 5-7 Sliding scale <strong>for</strong> 16 GB data set<br />

An increasing secondary quantity size up to 127 extents is allocated and a constant number<br />

of 127 cylinders <strong>for</strong> data sets less than 1 GB or 1, 2, 4, 8 and 16 GB is used <strong>for</strong> the secondary<br />

allocation thereafter.<br />

This approach of sliding the secondary quantity minimizes the potential <strong>for</strong> wasted space by<br />

increasing the extents size slowly at first, and it also avoids very large secondary allocations<br />

from extents 128-255 which will most likely cause fragmentation where multiple extents have<br />

to be used to satisfy a data set extension. The solution will address new data sets which will<br />

be allocated and also existing data sets requiring additional extents.<br />

A new default PRIQTY value will be applied if not specified by the user and recorded in the<br />

Catalog. The actual value applied by <strong>DB2</strong> <strong>for</strong> default PRIQTY will be determined by the<br />

applicable TSQTY or IXQTY DSNZPARMs which were introduced with <strong>DB2</strong> V7. DSNZPARMs<br />

TSQTY and IXQTY will now have global scope. TSQTY will apply to non-LOB table spaces.<br />

For LOB table spaces a 10x multiplier will be applied to TSQTY to provide the default value <strong>for</strong><br />

PRIQTY. IXQTY will apply to indexes. DSNZPARMs TSQTY and IXQTY will continue to have<br />

a default value of 0 (zero), but this value will indicate a new default value of 720 KB (1<br />

cylinder) is to be applied. If TSQTY is set to 0 then 1 cylinder will be the default PRIQTY<br />

space allocation <strong>for</strong> non-LOB table spaces and 10 cylinders will be the default PRIQTY space<br />

allocation <strong>for</strong> LOB table spaces. If IXQTY is set to 0 then 1 cylinder will be the default PRIQTY<br />

space allocation <strong>for</strong> indexes.<br />

The user can provide override values <strong>for</strong> TSQTY and IXQTY DSNZPARMs to avoid wasting<br />

excessive DASD space. For example on a development subsystem, TSQTY and IXQTY may<br />

be set to 48KB <strong>for</strong> track allocation. The use of the default <strong>for</strong> PRIQTY will be recorded in the<br />

associated PQTY column as -1 in the SYSTABLEPART or SYSINDEXPART catalog table.<br />

<strong>DB2</strong> will always honor the PRIQTY value specified by the user and recorded in the associated<br />

PQTY column in SYSTABLEPART or SYSINDEXPART catalog table.<br />

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

Sliding scale <strong>for</strong> 16 GB data sets<br />

16<br />

32<br />

64<br />

96<br />

128 246<br />

Extent number

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

Saved successfully!

Ooh no, something went wrong!