Registry values, environment variables, and configuration
parameters control your database environment.
![]() |
|
Prior to the introduction of the DB2 profile registry in Version 5, changing your DB2 environment on OS/2, Windows 95 or Windows NT workstations required you to change your system's environment variables and reboot. On UNIX platforms, changing your DB2 environment required you to change the sqllib/db2profile file or the sqllib/db2cshrc file in the home directory of the instance.
With Version 5, almost all of the environment variables have been moved to the DB2 profile registry. Users with system administrative (SYSADM) authority for a given instance can update registry values for that instance. Use the db2set command to update DB2 registry values without rebooting your system. The DB2 registry applies the updated information to DB2 server instances and DB2 applications started after the changes are made.
Note: | The concept of the DB2 profile registry is not supported on Windows 3.1. See "Setting Your Environment on Windows 3.1" for more information. |
DB2 configures its operating parameters by checking for variable values according to the following search order:
See "DB2 Registry Values and Environment Variables" for descriptions of the subset of registry values and environment variables that you may want to adjust to get DB2 up and running. For more detailed information about all registry values and environment variables, refer to the Administration Guide.