FIX: Undetected Deadlock with Checkpoint and SELECT INTOID: Q163908
|
When you SELECT INTO temporary tables with identity columns, you may experience undetected deadlocks with the Checkpoint Handler in the database tempdb, and neither client is chosen as a deadlock victim.
To work around this problem, do any of the following:
Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.
You can detect this situation by using the sp_who stored procedure and
looking at the spid, status, command, and blocked columns. The following is
an example of what the sp_who output looks like:
Spid Status Command Blocked
---------------------------------------------
4 Sleeping Dump Transaction 10
0 Sleeping Insert 0
Additional query words: global identity
Keywords : kbother kbusage SSrvLock SSrvTran_SQL kbbug6.50
Version : 6.5
Platform : WINDOWS
Issue type :
Last Reviewed: April 8, 1999