Example: Requesting configuration recommendations using the
Configuration Advisor
This scenario demonstrates to run the Configuration Advisor
from the command line to generate recommendations and shows the output
that the Configuration Advisor produces.
To run the Configuration Advisor:
Connect to the PERSONL database by specifying the following command
from the command line:
DB2 CONNECT TO PERSONL
Issue the AUTOCONFIGURE command from the CLP,
specifying how the database is used. As shown in the following example,
set a value of NONE for the APPLY option
to indicate that you want to view the configuration recommendations
but not apply them:
If
you are unsure about the value of a parameter for the command, you
can omit it, and the default will be used. You can pass up to 10 parameters
without values: MEM_PERCENT, WORKLOAD_TYPE,
and so on, as shown in the previous example.
The recommendations generated by the AUTOCONFIGURE command
are displayed on the screen in table format, as shown in Figure 1
If you agree with all of the recommendations,
either reissue the AUTOCONFIGURE command but specify
that you want the recommended values to be applied by using the APPLY
option, or update individual configuration parameters using the UPDATE
DATABASE MANAGER CONFIGURATION command and the UPDATE
DATABASE CONFIGURATION command.