Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Event ID 17137

Author  Topic 

tech_1
Posting Yak Master

129 Posts

Posted - 2012-01-07 : 21:34:38
Hi.
for some reason im getting every few minutes alot of these event logs with 2 DB's always saying that it is starting DB {x} and then the next one in sequence starting DB {y}

there are no connections to these databases at any time. not sure what is causing this to happen ever 2-4 minutes. And it is only ever these 2 specific DB's. There are 3 others but no event logs on them

using SQL Server 2008 R2 EE

any ideas?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-01-07 : 23:52:45
Do these databases have autoclose enabled? If so, disable that.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

tech_1
Posting Yak Master

129 Posts

Posted - 2012-01-08 : 06:51:16
Thanks.

the problem is though, it was never happening before. but then again it has had been a good few months before I checked the event logs.

how would I disable auto close? But what would be accessing it causing to open itself? (nothing is on the system... it is my local computer). the only time it uses it when im developing against the DB but i havent for some time
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-01-08 : 13:58:53
Right click on the database, go to properties, and then to options. What is the value of autoclose for these two databases? If they are set to true, then change them to false and click ok. Let us know if they were already set to false.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

biswajitdas
Starting Member

44 Posts

Posted - 2012-01-13 : 10:18:25
yep thats the correct soultion , I tested it on the test env.

alter database [Database_Name] SET auto_close OFF


Sr Sql server DBA/Artitech
Go to Top of Page
   

- Advertisement -