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.

5.1.2 Conclusion<br />

The BACKUP SYSTEM utility provides an easier and minimally disruptive way to backup an<br />

entire <strong>DB2</strong> subsystem or data sharing group. Executing the BACKUP SYSTEM utility<br />

concurrent with your workload should not impact the per<strong>for</strong>mance.<br />

5.1.3 Recommendations<br />

We recommend that you execute the FRBACKUP prepare command outside the actual<br />

backup cycle in order to minimize the impact on the backup elapsed time.<br />

Fast log apply supports the system level point-in-time recovery and provides good<br />

per<strong>for</strong>mance. We highly recommend to activate fast log apply (LOGAPSTG DSNZPARM<br />

parameter), your system will benefit from it, not only the RESTORE SYSTEM utility but also<br />

during all RECOVER utility executions and at <strong>DB2</strong> restart.<br />

Individual recovery actions at the table space or index space level cannot use a BACKUP<br />

SYSTEM backup which implies these recoveries need a data set level copy. This data set<br />

level copy can be a <strong>DB2</strong> image copy or a non <strong>DB2</strong> backup (log only recovery), <strong>for</strong> example, a<br />

data set level FlashCopy backup (FlashCopy V2 required).<br />

5.2 Automated space management<br />

In general, a large percentage of your data sets are today managed with DFSMS storage<br />

pools, reducing the workload and the interaction of your <strong>DB2</strong> database administrators and<br />

storage administrators. Only the most critical data, as defined with service level agreements<br />

or as revealed by monitoring, may require special attention.<br />

Using DFSMS, the <strong>DB2</strong> administrator gains the following benefits:<br />

► Simplified data allocation<br />

► Improved allocation control<br />

► Improved per<strong>for</strong>mance management<br />

► Automated disk space management<br />

► Improved data availability management<br />

► Simplified data movement<br />

An important function, automated data set space management, was still lacking in this list.<br />

<strong>DB2</strong> provides this functionality in <strong>Version</strong> 8.<br />

The idea is that <strong>DB2</strong> will adjust the size of the secondary extent, when extending the data set,<br />

in such a way that the maximum allowable data set size is reached, be<strong>for</strong>e the maximum<br />

number of extents <strong>for</strong> that data set is reached, there<strong>for</strong>e avoiding out of space conditions.<br />

Remember that today space allocation supports a maximum number of 255 extents per<br />

component of a VSAM data set <strong>for</strong> multivolume data sets and a maximum of 123 extents <strong>for</strong> a<br />

single volume allocation. A striped VSAM data set can have up to 255 extents per stripe. Also<br />

new in DFSMS <strong>for</strong> z/<strong>OS</strong> 1.5 is that the system consolidates adjacent extents <strong>for</strong> a VSAM data<br />

set when extending the data set on the same volume.<br />

Users of <strong>DB2</strong> receive out of extent errors during data set extend processing when the<br />

maximum number of extents is reached, thus preventing a <strong>DB2</strong> managed page set from<br />

reaching maximum data set size. Although <strong>DB2</strong> issues warning messages (DSNP001I) of<br />

impending space shortage, user procedures in many cases cannot react quickly enough to<br />

spot the problem, use SQL ALTER to modify PRIQTY and SECQTY values, and then<br />

schedule a REORG. This is a significant problem today <strong>for</strong> large users of <strong>DB2</strong>, particularly <strong>for</strong><br />

226 <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!