BUG: BCP Import Activities May Encounter an Undetected Deadlock

Last reviewed: July 16, 1997
Article ID: Q171368
The information in this article applies to:
  • Microsoft SQL Server, versions 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 : kbbug6.50 kbusage SSrvGen
Version : 6.5
Platform : WINDOWS
Issue type : kbbug
Resolution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 16, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.