FIX: Incorrect Cardinality Estimates for NOT EXISTS Predicates After You Upgrade to SQL Server 2000 Service Pack 3

This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 364221 (SHILOH_BUGS)
After you upgrade to SQL Server 2000 Service Pack 3, the SQL Server query optimizer may incorrectly estimate the cost for queries that involve a predicate that uses a NOT EXISTS (<subquery>) construct. The estimate will be too high, and results in poorly performing queries as compared to SQL Server 2000 Service Pack 2.

Service pack information

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 How to obtain the latest SQL Server 2000 service pack

Hotfix information

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version         Size            File name   --------------------------------------------------------------------------   26-Feb-2003  03:41  2000.80.777.0      29,244 bytes  Dbmslpcn.dll   08-Feb-2003  05:43                    786,432 bytes  Distmdl.ldf   08-Feb-2003  05:43                  2,359,296 bytes  Distmdl.mdf   30-Jan-2003  01:55                        180 bytes  Drop_repl_hotfix.sql   01-Feb-2003  00:32  2000.80.763.0   1,557,052 bytes  Dtsui.dll   30-Jan-2003  05:18                    746,470 bytes  Instdist.sql   30-Jan-2003  01:55                      1,402 bytes  Inst_repl_hotfix.sql   08-Feb-2003  06:40  2000.80.765.0      90,692 bytes  Msgprox.dll   08-Feb-2003  03:53                  1,065,895 bytes  Replmerg.sql   08-Feb-2003  06:40  2000.80.765.0     221,768 bytes  Replprov.dll   08-Feb-2003  06:40  2000.80.765.0     307,784 bytes  Replrec.dll   30-Jan-2003  05:18                  1,084,318 bytes  Replsys.sql   28-Feb-2003  01:34  2000.80.778.0     176,696 bytes  Sqlmap70.dll   08-Feb-2003  06:40  2000.80.765.0      57,920 bytes  Sqlrepss.dll   03-Mar-2003  19:15  2000.80.780.0   7,516,241 bytes  Sqlservr.exe   08-Feb-2003  06:40  2000.80.765.0      45,644 bytes  Sqlvdi.dll   26-Feb-2003  03:41  2000.80.777.0      29,244 bytes  Ssmslpcn.dll   26-Feb-2003  03:41  2000.80.777.0      82,492 bytes  Ssnetlib.dll   28-Feb-2003  01:34  2000.80.778.0      98,872 bytes  Xpweb70.dll				
Note: Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.This problem was first corrected in Microsoft SQL Server 2000 Service Pack 4.

Article ID: 815593 - Last Review: 02/27/2014 21:17:41 - Revision: 5.1

  • Microsoft SQL Server 2000 Service Pack 3
  • kbnosurvey kbarchive kbbug kbfix kbqfe kbsqlserv2000presp4fix kbhotfixserver KB815593