What is the difference between a Residual and a Join predicate?
If I haven’t missed a subtlety they are exactly the same. Why confuse novices by using two different words for the same thing?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
These are distinct concepts. We’re right into the details of of how SQL Server plans its queries, not the place for the faint hearted! But very interesting, you won’t be a “noob” for long if you’re studying this area.
This article describes how some predicates can be interpreted to “seek”, first excluding many rows, so that only a few need to be examined to determine if they match the remainder of the predicate – the residual predicate.
This article describes how joins are processed, and how the details of the query can lead to the decision as to whether there’s a join predicate, radically affecting the performance.