When we should not use hash joins in sql-server ? What are the various scenarios where using hash join will result in slower performance of query ?
Kindly share.
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.
Hash Joins work amazingly well for larger datasets, especially if there are no indexes or table sizes vary a lot.
The two main considerations for not using hash joins on smaller datasets are:
Memory constraints
Concurrency