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
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 A question from SQLServerLogs

Author  Topic 

vb_bv
Starting Member

24 Posts

Posted - 2002-04-24 : 05:37:53
hi, all, I found a strange SQLServerLog from Enterprise Manager, I don't know why the SQLServerLogs keep continue shows the message below:

Starting up database 'XXX'.

where the 'XXX' is the name of database, does anyone knows why's that happen or how to fix it.

many thanks you guys help.

KHeon
Posting Yak Master

135 Posts

Posted - 2002-04-24 : 07:58:44
Not sure if I follow but what you are seeing is typical SQL Server behavoir. When the SQL Server service restarts it has to go through and "start up" each of the databases.

Kyle Heon
PixelMEDIA, Inc.
Programmer L2
kheon@pixelmedia.com
Go to Top of Page

efelito
Constraint Violating Yak Guru

478 Posts

Posted - 2002-04-24 : 09:30:23
If this is a recurring event in the log and you have not restarted your server in awhile, check the database options. If auto close is selected then the database will close after a period of inactivity and reopen when a user tries to connect to it.

Jeff Banschbach
Consultant, MCDBA
Go to Top of Page

vb_bv
Starting Member

24 Posts

Posted - 2002-04-24 : 21:35:41
thanks KHeon and efelito, and efelito, you're right, I found my datasbase setting is enabled the "Auto Close" button, just would like
any the disadvantage if I disbale this button?

many thanks.

Go to Top of Page

efelito
Constraint Violating Yak Guru

478 Posts

Posted - 2002-04-25 : 10:28:36
There really aren't any disadvantages in disabling auto close. It is designed to help save resources on infrequently accessed databases. Having it enabled, especially on a production system, can cause serious performance problems. It consumes a lot of extra resources to keep closing and opening the db everytime someone wants to access it.

Jeff Banschbach
Consultant, MCDBA
Go to Top of Page
   

- Advertisement -