Preventive Service Planning
Abstract
This document decribes the steps you should take to migrate your DB2 instances and databases from earlier versions of DB2® Universal Database™ (DB2 UDB) to DB2 Version 8.
Content
Pre-migration checklist Space Considerations Other Considerations Migration Operational steps where DB2DIR is /usr/opt/db2_08_01 on AIX and /opt/IBM/db2/V8.1 on all other UNIX-based operating systems. Migration Restrictions Migration Consideration for Clients Client / Server Connectivity scenarios. Possible scenarios to consider when planning the migration: Scenario 1 V8 clients with V8 servers (no restrictions) If we have both 32- and 64-bit DB2 Version 8 clients, they can access Version 8 64-bit servers without DB2 Connect. Scenario 2 V7 32-bit clients with V7 or V8 32-bit servers (no restrictions in a single partition database; limited restrictions in a partitioned database) There is no Version 7 client support in a Version 8 partitioned database environment for the SET CLIENT CONNECT_NODE or ATTACH_NODE options or for a utility flow that requires an ATTACH command. If these commands are needed, V8 client must be used instead. Scenario 3 V8 clients with DB2 V7 servers (many restrictions, not recommended) We should not consider using this migration scenario because of the restrictions. Scenario 4 V7 32-bit clients with V8 64-bit servers (limited restrictions) This can be implemented by using either V8 DB2 Connect or DB2 Connect loopback gateway. Using DB2 Connect Version 7 32-bit client ===>Version 8 32-bit DB2 Connect Gateway===>Version 8 64-bit server Windows Any supported 32-bit os 64-bit AIX/Solaris/HP-UX/Linux Using a DB2 Connect loopback gateway Version 7 32-bit client===>Version 8 32-bit DB2 Connect Gateway instance + a Version 8 64-bit server instance Windows Steps to catalog a loopback node: On the server: $ db2 catalog tcpip node loopnd remote steel server 55460 $ db2 catalog db sample as loopsam at node loopnd Sample database is a local database on the server. On the client: db2 catalog tcpip node loopndc remote steel server 55460 db2 catalog db loopsam as loopsam at node loopndc Post-migration Upon the completion of database migration, performing one or all of the following tasks will greatly enhance your database and application performance: All existing packages are required to rebuild under the newer DB2 release. This is not done as part of the database migration process. DB2 will automatically rebuild the package the first time it is being used, therefore there is a slight performance penalty paid for doing it. However, if you have a lot of packages in your database you may want to consider rebuilding them before they are first used. DB2 provides a command called DB2RBIND which can be used to rebuild all packages in the database. All old statistics that are used to optimize query performance are retained in the catalogs during the database migration. Newer DB2 releases will have new or modified statistics. In order to take advantage of the new statistics, you may want to consider executing the RUNSTATS command on tables, particularly those tables that are critical to the performance of your SQL queries. Existing parameters may be updated and new parameters added with their default values during database migration. Some of the parameters may not be optimal for your applications. Therefore, you may want to consider fine tuning some of these parameters. |
[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Install\/Migrate\/Upgrade - Instance","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8;7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21156092