PRB: Suboptimal Query Plan Executed When Same Join Predicate Appears on Both Sides of an OR Clause (288319)
The information in this article applies to:
This article was previously published under Q288319 SYMPTOMS
When you use a non-ANSI syntax for an inner join, if the same join predicate appears on both sides of an OR clause, a suboptimal execution plan may be used, which may result in substantial performance degradation when a large amount of data is processed.
RESOLUTION
To work around this problem, do one of the following:
- Move the join predicate outside of the OR clause.
-or- - Rewrite the query using ANSI join syntax so that the join predicate appears only once.
Modification Type: | Major | Last Reviewed: | 3/17/2001 |
---|
Keywords: | kbprb KB288319 |
---|
|