Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server 2008 - General
»
Why in recovery for so long if database is in...
Why in recovery for so long if database is in SIMPLE mode
Rate Topic
Display Mode
Topic Options
Author
Message
james marriot
james marriot
Posted Tuesday, January 08, 2013 4:08 AM
Grasshopper
Group: General Forum Members
Last Login: Monday, January 28, 2013 3:57 AM
Points: 19,
Visits: 21
Hi.
I have a database thats just undergone a very large insert into a table. The instance was restarted and now the database is in recovery mode.
The database is in simple mode.
I would have assumed that once the insert was done and commited the log would checkpoint itself soon after and there would be no long recovery. can anyone explain where my thinking on this might be wrong?
Post #1404121
GilaMonster
GilaMonster
Posted Tuesday, January 08, 2013 4:17 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 4:49 PM
Points: 37,722,
Visits: 29,977
Recovery model has no effect at all on recovery times.
Recovery time is a factor of how much needs to be undone or redone at startup. If it's taking forever, you likely had a large uncommitted transaction at time of shutdown or a large transaction that had committed but not yet written to the data file, possibly also VLF fragmentation.
Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild
: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter
We stand on the bridge and no one may pass
Post #1404130
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.