Microsoft KB Archive/322868

= FIX: Deadlock May Occur During Update Statistics on System Tables =

Article ID: 322868

Article Last Modified on 9/27/2005

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition

-



This article was previously published under Q322868



BUG #: 357358 (SHILOH_BUGS)



SYMPTOMS
Concurrent connections that issue Data Definition Language (DDL) commands (CREATE, DROP, or ALTER object) may cause enough modifications to the system tables to trigger AUTO _UPDATE_STATISTICS. If two connections run these commands simultaneously, a deadlock may occur:

Msg 1205:

Transaction (Process ID 50) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.



CAUSE
A system table-specific locking optimization permitted multiple connections to acquire a lock for update statistics, leading to a subsequent deadlock.



RESOLUTION
To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

290211 INF: How To Obtain the Latest SQL Server 2000 Service Pack

NOTE: The following hotfix was created before the release of Microsoft SQL Server 2000 Service Pack 3.

The English version of this fix should have the following file attributes or later:   Version       File name ---

8.00.0629    Sqlservr.exe NOTE: Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem was first corrected in Microsoft SQL Server 2000 Service Pack 3.

Keywords: kbbug kbfix kbsqlserv2000presp3fix kbqfe kbsqlserv2000sp3fix kbhotfixserver KB322868

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.