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.

– Column data type changes can be done without losing data availability to data and<br />

indexes. In V5 you could increase the size of VARCHAR columns, the changes in V8<br />

allow you to extend numeric and character columns and to change between CHAR and<br />

VARCHAR.<br />

– Indexes can have columns added, and VARCHAR columns changed from padded to<br />

non padded.<br />

► Partitioning<br />

Several partitioning enhancements are included in <strong>DB2</strong> V8 that are useful in almost all real<br />

life environments.<br />

– Online partitioning changes<br />

You can add a new partition to an existing partitioned table space and rotate partitions.<br />

– More partitions<br />

This enhancement increases the maximum number of partitions in a partitioned table<br />

space and index space past the current maximum of 254. The new maximum number<br />

of partitions is 4,096. The DSSIZE and page size determine the maximum number of<br />

possible partitions.<br />

– Data-partitioned secondary indexes<br />

V8 introduces data-partitioned secondary indexes to improve data availability during<br />

partition level utility operations (REORG PART, LOAD PART, RECOVER PART) and<br />

facilitate more complex partition level operations (roll on/off part, rotate part) introduced<br />

by Online Schema Evolution. The improved availability is accomplished by allowing the<br />

secondary indexes on partitioned tables to be partitioned according to the partitioning<br />

of the underlying data.<br />

There is no BUILD2 phase component to REORG SHRLEVEL CHANGE when all<br />

secondary indexes are partitioned, nor is there contention between LOAD PART jobs<br />

executing on different partitions of a table space. A data-partitioned secondary index is<br />

most useful when the query has predicates on both the secondary index columns and<br />

the partitioning columns.<br />

– Separation of partitioning and clustering<br />

Partitioning and clustering were bundled together in versions prior to V8. Now you can<br />

have a partitioned table space without an index and can cluster the data on any index.<br />

These changes may be able to eliminate one index (since you are no longer required to<br />

have a partitioning index) and reduce random I/O (since you can now define any index<br />

as the clustering index).<br />

► System level point-in-time backup and recovery<br />

The system level point-in-time recovery enhancement provides the capability to recover<br />

the <strong>DB2</strong> system to any point-in-time, irrespective of the presence of uncommitted units of<br />

work, in the shortest amount of time. This is accomplished by identifying the minimum<br />

number of objects that should be involved in the recovery process, which in turn reduces<br />

the time needed to restore the data and minimizes the amount of log data that needs to be<br />

applied.<br />

For larger <strong>DB2</strong> systems with more than 30,000 tables, this enhancement significantly<br />

improves data recovery time, which in turn results in considerably shorter system<br />

downtime.<br />

► BACKUP and RESTORE SYSTEM<br />

These two new utilities provide system level backup, and system level point-in-time<br />

recovery. They activate new functionality available with the new z/<strong>OS</strong> V1R5<br />

DFSMShsm, which allows a much easier and less disruptive way <strong>for</strong> fast volume-level<br />

backup and recovery to be used <strong>for</strong> disaster recovery and system cloning.<br />

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