The information in this article applies to:
BUG #: 56266 (SQLBUG_70) SYMPTOMSIf a lock escalation occurs while running a parallel query, it is possible to encounter error 1203 as follows: The error message included in the error log probably mentions the same lock resource in several of the error messages. Once the error is printed, an assertion message similar to the following is also printed: After a dump of the stack for all threads, the server initiates a shutdown of the SQL Server process. CAUSEA race condition occurs where multiple threads involved in the parallel query may try to unlock the same resource. After the first thread successfully frees the lock, other threads encounter error 1203, but are unprepared to handle this. A default error handler within the server causes the process to exit. RESOLUTIONA supported fix that corrects this problem is now available from Microsoft, but
it has not been fully regression tested and should be applied only to systems
experiencing this specific problem. If you are not severely affected by this
specific problem, Microsoft recommends that you wait for the next SQL Server service pack
that contains this fix. http://www.microsoft.com/support/supportnet/overview/overview.aspThe English version of this fix should have the following file attributes or later: NOTE: Due to file dependencies, the most recent hotfix or feature that contains the above files may also contain additional files.NOTE: If this product was already installed on your computer when you purchased it from the Original Equipment Manufacturer (OEM) and you need this fix, please call the Pay Per Incident number listed on the above Web site. If you contact Microsoft to obtain this fix, and if it is determined that you only require the fix you requested, no fee will be charged. However, if you request additional technical support, and if your no-charge technical support period has expired, or if you are not eligible for standard no-charge technical support, you may be charged a non-refundable fee. For more information about eligibility for no-charge technical support, see the following article in the Microsoft Knowledge Base: Q154871 Determining If You Are Eligible for No-Charge Technical Support WORKAROUNDYou can prevent a parallel plan by setting the 'max degree of parallelism' option in sp_configure to a value of one. Even if there are available CPU resources, the query is processed serially. STATUSMicrosoft has confirmed this to be a problem in SQL Server version 7.0. MORE INFORMATION
Parallel queries are only considered when there are one or more idle processors available to SQL Server. On a heavily used system, the optimizer should not choose a parallel plan for any queries. Additional query words: locking DOP
Keywords : SSrvErr_Log SSrvLock kbSQLServ700bug |
Last Reviewed: December 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |