Changing node and database configuration files
To update the database configuration file, run the AUTOCONFIGURE command with the appropriate options.
About this task
The Configuration Advisor helps you to tune performance and to balance memory requirements for a single database per instance by suggesting which configuration parameters to modify and providing suggested values for them.
If you plan to change any database partition groups (adding or deleting database partitions, or moving existing database partitions), the node configuration file must be updated. If you plan to change the database, review the values for the configuration parameters. You can adjust some values periodically as part of the ongoing changes made to the database that are based on how it is used.
- For database parameters, the first new connection to the database after all applications are disconnected
- For database manager parameters, the next time that you stop and start the instance
In most cases, the values recommended by the Configuration Advisor provide better performance than the default values because they are based on information about your workload and your own particular server. However, the values are designed to improve the performance of, though not necessarily optimize, your database system. Think of the values as a starting point on which you can make further adjustments to obtain optimized performance.
db2set DB2_ENABLE_AUTOCONFIG_DEFAULT=NO
db2set DB2_ENABLE_AUTOCONFIG_DEFAULT=YES
See Automatic features for other features that are enabled by
default.Procedure
To change database or database manager configuration parameters:
What to do next
To view or print the current database manager configuration parameters, use the GET DATABASE MANAGER CONFIGURATION command.