-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Join with query filter causes nested subquery and poor query performance #21082
Comments
is there any solutions ? |
Not only that, but if you try and use full text indexing functions like Contains or FreeText it failes since it tried to do them on the sub query.
|
Will this issue be addressed? Any workarounds? |
@smitpatel related/dup of #17622? |
Also related #21082 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
EFCore 3.1.4
When using dynamic query filters and joins the sql generated uses subqueries for each table joined causing slow query executing on large data tables.
Produces sql statement
Whereas the optimal query would be
Any suggestions on what I may be doing wrong or how to optimise the query generation
Thanks in advance
The text was updated successfully, but these errors were encountered: