EF+SQL Server-generated query: how to add query hints?
win32nipuh

win32nipuh @win32nipuh

Location:
Germany
Joined:
Jan 15, 2021

EF+SQL Server-generated query: how to add query hints?

Publish Date: Apr 3
0 0

I am looking for way to add hints for joins.
Our app uses EF, I have found one query which executes 1 minute.
It is EF generated query used multiple joins with subqueries. After I have added HASH JOIN the query works 1 second in SSMS.
How to add HASH hint to JOIN used into the generated query?

Comments 0 total

    Add comment