Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Log message - Starting up database 'DATABASE NAME'. 1

Status
Not open for further replies.

Robhunter999

IS-IT--Management
Mar 7, 2002
6
GB
I am repeatedly seeing the message "Starting up database 'DATABASE NAME'" in the SQL log files for some of the databases. This makes the log files very difficult to check the logs accurately and makes them very large.

This line tends to occur in batches of three or four, and all hours of day and night, but only affects some of the databases.

I am looking to establish if this is a problem with the SQL Database setup, or the code written as the front end (Delphi), and what i can do to eliminate the unnecesary entries

Any help appreciated.

Rob Hunter

 
Those databases probably have the autoclose option set to TRUE. When the option is True, SQL closes the database when not in use. It then reopens the DB when needed. Thus you see many Starting... messages. Use sp_dboption to set the option to false.

exec sp_dboption 'db_name','autoclose','False' Terry L. Broadbent - DBA
Computing Links:
faq183-874 contains "Suggestions for Getting Quick and Appropriate Answers" to your questions.
 
Thanks a lot for that, the problem seems to be caused by the Delphi apps that grab chnks of data and then let the database Autoclose, causing the entry each time the next request is sent.

Turning this off has meant the logs are so much easier to monitor.

Thanks again
Rob Hunter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top