SQL SERVER 2008 R2 + Database In Recovery -


i store data web app in sql server 2008 r2. when connected ssms today database had (in recovery) in front of it.

when ran query: select databasepropertyex('nydatabase', 'status')

the status comes online.

i confused should next.

does mean recovery has happened successfully. if yes, why sql has in recovery in front of db still?

with sql server express 2008r2, auto_close property set true default:

setting database options

true databases when using sql server 2000 desktop engine or sql server express, , false other editions, regardless of operating system.

when set, property can cause behaviour you're seeing, i.e. ssms queries sql server metadata , @ particular instant database being opened.

if set auto_close false, should disappear.

you'll find few recommendations have set, anyway. can see through this link it's deprecated in 2008r2 it's odd it's still set default in circumstances.

microsoft employee buck woody describes why setting not help:

sql server best practices: autoclose should off

basically, in unused databases causes more work database engine prevents.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -