Configuring the database
To ensure that the SQL Server delivers optimum performance when working with BMC Client Management , you need to specifically configure some parameters.
Run the following query on the Client Management - database :
SELECT
is_parameterization_forced as 'Parameterization Forced',
is_read_committed_snapshot_on as 'Read Committed Snapshot On' ,
snapshot_isolation_state as 'Snapshot Isolation State On'
FROM sys.databases
WHERE name LIKE '<BCM_DB_NAME>'The preceeding query returns the current configuration of the database for the following parameters:
- Parameterization
- Read Committed Snapshot
- Snapshot Isolation State Verify the result for these parameters and ensure that they are all set to 1.
2. (Optional) If the value for one or more parameters is set to 0, execute the following steps to activate them,
- Connect to the SQL server instance as a user with ALTER permission on the database.
- Ensure that there are no active connections to the database except for the connection executing the Alter database command.
(Optional) Type the following command to set the Parameterization option to Forced :
Alter database '<BCM_DB_NAME>' set PARAMETERIZATION FORCED
d. (Optional) Run the following SQL commands to turn on the Read Committed Snapshot and Snapshot Isolation State options:
ALTER DATABASE <BCM_DB_NAME> SET ALLOW_SNAPSHOT_ISOLATION ON;
ALTER DATABASE <BCM_DB_NAME> SET READ_COMMITTED_SNAPSHOT ON;
ALTER DATABASE <BCM_DB_NAME> SET READ_COMMITTED_SNAPSHOT ON;
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*