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.

9.4 Migration<br />

– Use “Inactive DBAT” instead of “Type 1 Inactive Thread”<br />

– Use “Inactive Connection” instead of “Type 2 Inactive Thread”<br />

► CCSIDs must be specified <strong>for</strong> EBCDIC, ASCII and Unicode even when you do not use<br />

those encoding schemas in your application<br />

► The DSNHDECP module must be defined by the user. It is not defined by <strong>DB2</strong> by default.<br />

► Buffer pools BP8K0, BP16K0, and BP32K must be defined in advance since some catalog<br />

table spaces use 8 KB, 16 KB and 32 KB pages.<br />

► For data sharing groups: GBP8K0, GBP16K0 and GBP32K also need to be allocated.<br />

► The location name must be specified, even if DDF is not used. See PTF UQ90701 <strong>for</strong><br />

APAR PQ91009.<br />

Migration is the process of converting an existing <strong>DB2</strong> subsystem, user data, and catalog<br />

data to a new version. This process has changed from <strong>DB2</strong> V7 to V8 in order to minimize the<br />

possible impact of regression and fallback incompatibilities. For more in<strong>for</strong>mation refer to <strong>DB2</strong><br />

<strong>UDB</strong> <strong>for</strong> z/<strong>OS</strong> <strong>Version</strong> 8 Installation Guide, GC18-7418.<br />

The migration to <strong>DB2</strong> V8 is only allowed from V7. As mentioned, a <strong>DB2</strong> V8 subsystem will<br />

migrate going through three different modes:<br />

► Compatibility mode (CM)<br />

► Enabling-new-function mode (ENFM)<br />

► New-function mode (NFM)<br />

We are interested in the per<strong>for</strong>mance of the catalog migration, how long the migration will<br />

take, and how big the catalog will be. In this section we are using general in<strong>for</strong>mation from<br />

several real migrations to illustrate the catalog migration. After reading this section you will be<br />

able to determine how long it is going to take to migrate your catalog and how large it will be<br />

after the migration.<br />

During the migration process, you must go through CM and ENFM, be<strong>for</strong>e reaching the NFM.<br />

When in CM, your Catalog and Directory have already successfully been converted to V8,<br />

new columns have been added to existing tables, new indexes and table spaces have been<br />

created and so on.<br />

However, there are two other major changes to the <strong>DB2</strong> catalog necessary to make most of<br />

the new functions provided with <strong>DB2</strong> V8 possible. These changes are:<br />

► Change existing catalog columns so that they can store long names.<br />

► Convert the catalog to Unicode.<br />

In CM, these two changes have not been done. Furthermore, the only new functions available<br />

<strong>for</strong> use in this mode of operation are those which allow fallback to V7.<br />

In ENFM, you are in the process of converting your Catalog table spaces so that after<br />

completion of the conversion, they now accept long names and exist in the Unicode encoding<br />

scheme. Catalog conversion is per<strong>for</strong>med by running job DSNTIJNE. You can spread<br />

conversion of your catalog table across several maintenance intervals. Use job DSNTIJNH to<br />

direct DSNTIJNE to halt after conversion of the current table space has completed. To<br />

resume, simply rerun DSNTIJNE from the top. It will automatically locate the next table space<br />

to be converted. The process of conversion is not disruptive, that is, you can continue<br />

operation while being in ENFM. Once you have migrated all table spaces of your <strong>DB2</strong> catalog<br />

to Unicode, your <strong>DB2</strong> subsystem will operate in NFM once you run the DSNTIJNF to indicate<br />

Chapter 9. Installation and migration 353

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

Saved successfully!

Ooh no, something went wrong!