Why in recovery for so long if database is in SIMPLE mode

  • 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?

  • 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, MVP, M.Sc (Comp Sci)
    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

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply