Db2 server behavior changes
Changes to Db2 registry variables, configuration parameters, database physical design characteristics, and database authorities and privileges can result in Db2 server behavior changes that might impact your upgrade.
Generally, instance profile variables that you set in your Db2 profile registry or your system environment retain their values after an instance upgrade. Some global profile registry variables, such as DB2SYSTEM and DB2PATH, are set by the Db2 installation procedure or instance upgrade. However, the global profile registry variables that you set by running the db2set command with the -g option are not upgraded. Therefore, you must define them after upgrade.
Existing database and database manager configuration parameters also, generally, retain their values after upgrade. However, the default values assigned to new parameters or the new default values assigned to existing parameters might change the behavior or performance of your applications.
Changes that impact all releases earlier than Db2 12.1
- Registry Variables
- Database manager configuration parameters
- Database configuration parameters
- Changes to physical design characteristics of databases
- Changes to authorities and privileges
- New registry variables
- New registry variables that are introduced in Db2 12.1 have no impact on Db2 upgrade.
- Changes to existing registry variables
- The following table describes the upgrade impact of changes to existing registry
variables:
Table 1. Changes to existing registry variables Name Upgrade impact DB2DSDRIVER_CFG_PATH This variable now specifies multiple configuration files at same or different locations with different names. If filename is not specified in a path and name pair, then the file name defaults to a value of db2dsdriver.cfg. - Deprecated and discontinued registry variables
-
You should remove the use of registry variables that are deprecated because the functionality associated with the variable is obsolete or has been replaced by new functionality. See What's changed to determine the upgrade impact of discontinued registry variables.
If you are upgrading from version 10.5 or earlier, consider removing deprecated registry variables in pre-12.1 releases because the functionality associated with the variable is obsolete or replaced by new functionality. Also, remove the use of discontinued registry variables in all releases earlier than Db2 12.1 releases as they do not have the intended effect.
- New database manager configuration parameters
- New database manager configuration parameters that are introduced in 12.1 have no impact on Db2 upgrade. If you are upgrading from Db2 11.1, review new database manager configuration parameter in Db2 11.5 that have an impact when upgrading from those releases. See Db2 server behavior changes for details.
- Changes to existing database manager configuration parameters
- Changes to database manager configuration parameters introduced in 12.1 have no impact on Db2 upgrade. If you are upgrading from Db2 11.1, review the changes for database manager configuration parameters in Db2 11.5 that have an impact when upgrading from those releases. See Db2 server behavior changes for details.
- Deprecated and discontinued database manager configuration parameters
-
Refer to What's changed for any deprecated or discontinued database manager configuration parameters.
- New database configuration parameters
-
The following table describes the upgrade impact of the default values of new database configuration parameters:
Table 2. New database configuration parameters Name Upgrade impact dft_table_org This parameter specifies whether a user table is created as a column-organized table (value COLUMN) or a row-organized table (value ROW) when the ORGANIZE BY COLUMN or the ORGANIZE BY ROW clause is not specified on the CREATE TABLE statement.The default value for this parameter is ROW, which has no impact on upgrade. If you have DDL scripts and you plan to change the default orientation of tables, modify your exiting scripts to specify the ORGANIZE BY COLUMN or the ORGANIZE BY ROW clause for the CREATE TABLE statements to ensure that tables are created with the proper orientation regardless of the setting of this parameter. For more information, see Changes to database configuration parameters.
- Deprecated and discontinued database configuration parameters
-
You must remove the use of database configuration parameters that are deprecated and discontinued because the functionality associated with the variable is obsolete or replaced by new functionality. Refer to What's changed for any deprecated or discontinued database configuration parameters.
- Changes to physical design characteristics of databases
- Review the items in what's new and what's changed to determine whether there are any changes to the physical design characteristics of databases that impact upgrade.
- Changes to authorities and privileges
-
There are no changes to the authorities and privileges in this release.
See Upgrade impact from Db2 command changes and Upgrade impact from SQL statement changes for a summary of Db2 command and SQL statement changes with upgrade impact. See the Command Reference and SQL Reference for details about all the changes in authorization.