Re: Repeated 'Starting up database' messages

From: Tibor Karaszi (tibor_please.no.email_karaszi_at_hotmail.nomail.com)
Date: 07/02/04


Date: Fri, 2 Jul 2004 11:32:12 +0200

Turn off autoclose for the database. What probably happened is that you have autoclose, some other
process (like anti-virus) got hold of the file while SQL Server didn't have it opened, SQL server
tried to access the file, ouch!, suspect database. Next restart, file weren't open by other process,
SQL Server turned off the autoclose option.

Autoclose is not designed for production databases!

-- 
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Jonathan Wareham" <JonathanW@CooperParry.com> wrote in message
news:OHdeeaBYEHA.644@tk2msftngp13.phx.gbl...
> Hi,
>
> Our network monitoring software reported the following message :
>
> The database "MSCRM" in the instance "MSSQLSERVER" is in a critical state.
> The state is: Suspect
>
> After looking at SQL Enterprise Manager, the database appears to be fine and
> I can browse tables, views, stored procedures and query the database as
> normal.  However when I looked at the SQL Server Error Log I found many
> messages reporting 'Starting up database 'MSCRM'.
>
> Any ideas?
>
> Jonathan
>
> Here is a sample log from this morning :
>
>
> 2004-07-02 09:29:53.76  spid89 Starting up database 'MSCRM'.
> 2004-07-02 09:29:54.48  spid89 Starting up database 'MSCRM'.
> 2004-07-02 09:29:59.17  spid89 Starting up database 'MSCRM'.
> 2004-07-02 09:29:59.43  spid89 Starting up database 'MSCRM'.
> 2004-07-02 09:29:59.67  spid89 Starting up database 'MSCRM'.
> 2004-07-02 09:29:59.93  spid89 Starting up database 'MSCRM'.
> 2004-07-02 09:30:00.24  spid89 Starting up database 'MSCRM'.
> 2004-07-02 09:30:00.48  spid89 Starting up database 'MSCRM'.
> 2004-07-02 09:30:00.82  spid89 Starting up database 'MSCRM'.
> 2004-07-02 09:30:01.06  spid89 Starting up database 'MSCRM'.
> 2004-07-02 09:30:01.46  spid89 Starting up database 'MSCRM'.
> 2004-07-02 09:30:01.74  spid89 Starting up database 'MSCRM'.
> 2004-07-02 09:30:02.03  spid89 Starting up database 'MSCRM'.
> 2004-07-02 09:30:02.32  spid89 Starting up database 'MSCRM'.
> 2004-07-02 09:32:19.81  spid89 Starting up database 'MSCRM'.
> 2004-07-02 09:45:00.48  spid72 Starting up database 'MSCRM'.
> 2004-07-02 09:45:01.06  spid72 Starting up database 'MSCRM'.
> 2004-07-02 10:00:00.23  spid91 Starting up database 'MSCRM'.
> 2004-07-02 10:00:00.65  spid91 Starting up database 'MSCRM'.
> 2004-07-02 10:00:00.89  spid101 Starting up database 'MSCRM'.
> 2004-07-02 10:00:01.60  spid101 Starting up database 'MSCRM'.
> 2004-07-02 10:00:06.99  spid91 Starting up database 'MSCRM'.
>
>


Relevant Pages

  • Re: Slow initial record write
    ... 'autoclose' as 'off' so I guess this isn't the issue. ... directly to the SQL server and it was as follows: ... > To find out execute the following within Query Analyzer: ... > be due to the database starting up. ...
    (microsoft.public.sqlserver.setup)
  • Re: Slow initial record write
    ... > 'autoclose' as 'off' so I guess this isn't the issue. ... > directly to the SQL server and it was as follows: ... >> To find out execute the following within Query Analyzer: ... >> be due to the database starting up. ...
    (microsoft.public.sqlserver.setup)
  • Re: MS Access DAO -> ADO.NET Migration
    ... William Vaughn ... Microsoft MVP ... Hitchhiker's Guide to Visual Studio and SQL Server ... My migration app works building a SSCE database file with imported data ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Sql server slow
    ... My autoclose suggestion might help Miles' EM database enumeration problem ... Slow connectivity can have many ... >> SQL Server MVP ...
    (microsoft.public.sqlserver.server)
  • Re: Cluster will not fail over.
    ... > As far as the TCP/IP issue goes, you had to rebuild the cluster and were ... > able to restore the master database. ... > a cluster installation you'll have to revisit. ... >> This worked bringing up the sql server in minimal mode. ...
    (microsoft.public.sqlserver.clustering)