SHRINKDATABASE killed but rollback appears to be stuck

  • Hello...I've found several useful tips/tricks on this site over the years, and am hoping someone can help me with this one as well.

    A shrinkdatabase was executed and killed 8-10 hours later. The problem is that:

    select percent_complete, estimated_completion_time, cpu_time, total_elapsed_time, * from sys.dm_exec_requests

    suggest that there has been no progress in the last 2-3 hours, and the estimated_completion_time increases.

    How can I proceed?

    Thanks,

  • should never be shrunk on a regular basis find out more here ....[/url]

  • Is the process being blocked by other processes? What is that process waiting on?

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • Wait. Do not restart SQL (the roll back will just continue with the DB unavailable). Check what the shrink process is waiting for.

    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 4 posts - 1 through 3 (of 3 total)

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