SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Can't Kill SPID “Transaction Rollback in Progress”


Can't Kill SPID “Transaction Rollback in Progress”

Author
Message
GilaMonster
GilaMonster
SSC Guru
SSC Guru (231K reputation)SSC Guru (231K reputation)SSC Guru (231K reputation)SSC Guru (231K reputation)SSC Guru (231K reputation)SSC Guru (231K reputation)SSC Guru (231K reputation)SSC Guru (231K reputation)

Group: General Forum Members
Points: 231956 Visits: 46354
Welsh Corgi (3/3/2013)
How do you check what the rollback session is waiting for?


Same way you check what any session is waiting for, sys.dm_exec_requests

If you believe that Kill with the statusOnly option is not working, file a bug report on Connect.

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


Welsh Corgi
Welsh Corgi
One Orange Chip
One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)

Group: General Forum Members
Points: 27926 Visits: 4895
GilaMonster (3/3/2013)
[quote]Welsh Corgi (3/3/2013)
How do you check what the rollback session is waiting for?


GilaMonster
Same way you check what any session is waiting for, sys.dm_exec_requests

If you believe that Kill with the statusOnly option is not working, file a bug report on Connect.[/quote


I'm not going to ask you to open Google but do you have a favorite query to identify this?

For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/

For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
GilaMonster
GilaMonster
SSC Guru
SSC Guru (231K reputation)SSC Guru (231K reputation)SSC Guru (231K reputation)SSC Guru (231K reputation)SSC Guru (231K reputation)SSC Guru (231K reputation)SSC Guru (231K reputation)SSC Guru (231K reputation)

Group: General Forum Members
Points: 231956 Visits: 46354
Welsh Corgi (3/3/2013)
GilaMonster (3/3/2013)
[quote]Welsh Corgi (3/3/2013)
How do you check what the rollback session is waiting for?


GilaMonster
Same way you check what any session is waiting for, sys.dm_exec_requests

If you believe that Kill with the statusOnly option is not working, file a bug report on Connect.[/quote


I'm not going to ask you to open Google but do you have a favorite query to identify this?


Query sys.dm_exec_requests, filter on the session_id that you killed, check the blocking_session_id and the wait-related columns.

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


rameioj13
rameioj13
SSC Rookie
SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)

Group: General Forum Members
Points: 44 Visits: 4
This is also my problem. I'm afraid to reboot the service cause some forums says that it might cause database to be suspect..

Do you really recommend to bounce the service? I have no backup and I can't backup because of this killed\rollback status
rameioj13
rameioj13
SSC Rookie
SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)

Group: General Forum Members
Points: 44 Visits: 4
SPID 59: transaction rollback in progress. Estimated rollback completion: 0%. Estimated time remaining: 63447061 seconds.

the estimated time is increasing from time to time.. what should i do? will i wait for it? or restart the service?

i afraid that my database will be suspect.
SQLisAwE5OmE
SQLisAwE5OmE
Hall of Fame
Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)

Group: General Forum Members
Points: 3178 Visits: 3075
Why don't you guys run dbcc inputbuffer (spid#)

It will show which tsql code is currently running.

SueTons.

Regards,
SQLisAwe5oMe.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search