Spid51/spid53/spid54/spid51, unknown, starting up database 'dbname'. (frequent automatic database startup solution)

Source: Internet
Author: User

The database log is as follows:

 

 

11/14/2011 06:25:56, spid51, unknown, starting up database 'dbnam '.
11/14/2011 06:14:28, spid55, unknown, starting up database 'dbnam '.
11/14/2011 06:09:55, spid51, unknown, starting up database 'dbnam '.
11/14/2011 05:49:56, spid51, unknown, starting up database 'dbnam '.
11/14/2011 05:35:55, spid51, unknown, starting up database 'dbnam '.
11/14/2011 05:32:08, spid53, unknown, starting up database 'dbnam '.

 

The English documents are described as follows:

 

By default SQL express databases are created as auto_close on. as such, they are closed as soon as the last session releases access to it. they will auto-open on next access. auto_close databases run an optimized recovery when opened so their openning is not as bad as a fully fledged database open. but none-the-less, you can turn auto_close off if you wish:

 

Run the following statement:

Alter database dbname set auto_close off

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.