BUG: BCP Import Activities May Encounter an Undetected Deadlock

ID: Q171368


The information in this article applies to:
  • Microsoft SQL Server version 6.5

BUG #: 16739 (Windows: 6.50)

SYMPTOMS

A bulk copy program (BCP) process may become blocked by a DUMP TRANSACTION statement, while the DUMP TRANSACTION blocked is blocked by the BCP operation.

The block is more common when the database has the Truncate Log On Checkpoint option enabled, but it may occur when the DUMP TRANSACTION statement is used by a user connection.

The sp_who output does NOT show a block in the "Blk" column but the checkpoint spid, generally spid 3, shows a "dump transaction" and the user connection shows a "bulk insert".


WORKAROUND

To work around this problem, try one of the following:

  • Reduce the batch size of the BCP operation, to reduce the frequency of this problem.


  • Use fast mode BCP, to reduce the frequency of this problem.


  • Stop the BCP operation and allow the DUMP TRANSACTION to complete.


  • Try using -F and -L BCP command-line options.



STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: hang locked hung dead frozen freeze stop stopped

Keywords : kbusage SSrvGen kbbug6.50
Version : 6.5
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: April 19, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.