Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Database in recovery mode

 
   Database Help (Home) -> Programming RSS
Next:  Exclusively lock database during multiple SELECT,..  
Author Message
Smokey Grindel

External


Since: Jan 10, 2008
Posts: 63



(Msg. 1) Posted: Mon Feb 04, 2008 11:34 am
Post subject: Database in recovery mode
Archived from groups: microsoft>public>sqlserver>programming (more info?)

For some reason on a restart today we had our main database go into "in
recovery mode" what would cause this to happen? it seems like it recovered
from the logs point of view... but there were tons of entries sayign stuff
like 9000 transactions rolled forward for the checkpoint event and stuff
like the transaction log wasnt checkpointing or something? any ideas?
thanks!

 >> Stay informed about: Database in recovery mode 
Back to top
Login to vote
Andrew J. Kelly

External


Since: Sep 01, 2003
Posts: 551



(Msg. 2) Posted: Mon Feb 04, 2008 1:15 pm
Post subject: Re: Database in recovery mode [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

This is normal for a recovery action depending on how many transactions
there were since the last checkpoint. Anything after the last checkpoint
must be rolled forward or back to get the database in a consistent state.
For instance if there were open transactions (not yet committed when the
server was last shut down) it must roll them back to a known good point. It
will redo or roll forward any that were committed but may not have yet been
hardened to the db.

--
Andrew J. Kelly SQL MVP
Solid Quality Mentors


"Smokey Grindel" wrote in message

> For some reason on a restart today we had our main database go into "in
> recovery mode" what would cause this to happen? it seems like it recovered
> from the logs point of view... but there were tons of entries sayign stuff
> like 9000 transactions rolled forward for the checkpoint event and stuff
> like the transaction log wasnt checkpointing or something? any ideas?
> thanks!
>

 >> Stay informed about: Database in recovery mode 
Back to top
Login to vote
Smokey Grindel

External


Since: Jan 10, 2008
Posts: 63



(Msg. 3) Posted: Mon Feb 04, 2008 1:52 pm
Post subject: Re: Database in recovery mode [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I'm just a little concerned about this because before we had to do a reset
we were getting a lot of timeout errors from the server...basically nothing
would insert or update... and no locks where open.. no one was logged into
the db besides us and CPU usage was at 1%... when it restarted it in total
checkpointed about 15,000 transactions which feels wierd since no one was in
the DB since last friday... and nothing really happened today in it yet...
i'd of thought those would of been checkpointed a long time ago

"Andrew J. Kelly" wrote in message

> This is normal for a recovery action depending on how many transactions
> there were since the last checkpoint. Anything after the last checkpoint
> must be rolled forward or back to get the database in a consistent state.
> For instance if there were open transactions (not yet committed when the
> server was last shut down) it must roll them back to a known good point.
> It will redo or roll forward any that were committed but may not have yet
> been hardened to the db.
>
> --
> Andrew J. Kelly SQL MVP
> Solid Quality Mentors
>
>
> "Smokey Grindel" wrote in message
>
>> For some reason on a restart today we had our main database go into "in
>> recovery mode" what would cause this to happen? it seems like it
>> recovered from the logs point of view... but there were tons of entries
>> sayign stuff like 9000 transactions rolled forward for the checkpoint
>> event and stuff like the transaction log wasnt checkpointing or
>> something? any ideas? thanks!
>>
>
 >> Stay informed about: Database in recovery mode 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How to restore a .bak from full-recovery mode without tran.. - Hi, I'm in a small company (no DBA). We have a SQL 2005 database that was created in full-recovery mode. Full backups were performed along with transaction logs. However, all the transactions were part of a testing and we now want to restore the DB...

Log shipping in Standby mode recovery with lost or corrupt.. - Is there any way to recover a secondary database that is part of log shipping in standby mode when the TUF file is corrupt or missing? SQL 2005 Enterprise If I have posted this in the wrong group please let me know. Thank you Mark

Disaster Recovery - Whilst importing some procedures, I have left the 'Transfer Dependent Object' checked and the 'Drop Destination Objects' result I have over-written certain tables Can it be undone with the transaction log and if so How ? regards Earnie

kill a recovery - I'm doing some work on a test db that is pretty large (2GB). SQL 2k. When I made some changes something hung and I couldn't do anything else. I restarted my machine and same problem still. I could not run EM or QA. So I tried gettting at it from SQL 200...

recovery from a delete statement -
   Database Help (Home) -> Programming All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]