FIX: Reorder Outer Joins with Filter Criteria Before Non-selective Joins and Outer Joins (318530)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q318530 BUG #: 356418 (SHILOH_BUGS) SYMPTOMS If you submit a query that contains at least one outer join
that has a filter condition in the WHERE clause on the inner table of the outer
join (for example, a filter condition on the right table of a left outer join,
or the left table of a right outer join), SQL Server may perform less selective
joins first instead of performing the outer join early and applying the filter
condition. If the filter condition from the outer join is one of the more
selective criteria for the query, failing to process the criteria early in the
plan may lead to:
- Larger intermediate join sizes.
- Higher resource utilization by the SQL Server
process.
- Slower response time for the query.
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.0584 Sqlservr.exe
NOTE: Because of file dependencies, the most recent hotfix or feature
that contains the files may also contain additional
files. STATUSMicrosoft
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.
| Modification Type: | Minor | Last Reviewed: | 9/27/2005 |
|---|
| Keywords: | kbHotfixServer kbQFE kbSQLServ2000sp3fix kbbug kbfix kbSQLServ2000preSP3fix KB318530 |
|---|
|