To prevent access to the CommServe DB in single user mode we might want to enable the SQL option AUTO_UPDATE_STATISTICS_ASYNC .
Now the big issue/question is will this break anything in Commvault, as we are running CommSeve LiveSync and in BOL I cannot find any reference to this setting.
Anyone have any experience with this setting?
BR,
Luís Constantino
Best answer by Orazan
Good afternoon. You must have the database in Full Recovery Mode with CommServe Live Sync. We are basically doing log shipping with monitoring for availability. As you can see here, Full is required:
Good afternoon. You must have the database in Full Recovery Mode with CommServe Live Sync. We are basically doing log shipping with monitoring for availability. As you can see here, Full is required:
To prevent access to the CommServe DB in single user mode we might want to enable the SQL option AUTO_UPDATE_STATISTICS_ASYNC .
Now the big issue/question is will this break anything in Commvault, as we are running CommSeve LiveSync and in BOL I cannot find any reference to this setting.
Anyone have any experience with this setting?
BR,
Luís Constantino
I very much doubt this has been tested from our perspective since there isn't any need to. Be interesting to see if anyone in the community has done this (and interesting find that this is an inadvertent way to disable single user mode).
Before you set the database to SINGLE_USER, verify the AUTO_UPDATE_STATISTICS_ASYNC option is set to OFF. When set to ON, the background thread used to update statistics takes a connection against the database, and you will be unable to access the database in single-user mode. To view the status of this option, query the is_auto_update_stats_async_on column in the sys.databases catalog view. If the option is set to ON, perform the following tasks:
Set AUTO_UPDATE_STATISTICS_ASYNC to OFF.
Check for active asynchronous statistics jobs by querying the sys.dm_exec_background_job_queue dynamic management view.
If there are active jobs, either allow the jobs to complete or manually terminate them by using KILL STATS JOB.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.