April 10, 2019 at 10:03 am
Hi Experts,
I am Using SQL Server Express Edition at client side, and my Database goes "In Recovery" Mode automatically, and comes in normal mode with in seconds
it repeats 3 to 4 times in 1 Minute.
Please suggest what to do keep in active mode.
Thanks
Mohamad Feroz Patel
Patel Mohamad
April 10, 2019 at 12:55 pm
Express editions have a setting called autoclose, which turns off the database when it has been idle for a while in order to save resources, since an express edition is often a developer type machine.
if this query returns any results at all, those databases need to be modified to turn off autoclose:
SELECT 'ALTER DATABASE ' + QUOTENAME(name) + ' SET AUTO_CLOSE OFF', AS fixcmd,* FROM sys.databases WHERE is_auto_close_on = 1
Lowell
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply