Skip to content
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

Optimise queries by using "where exists" instead of joins if possible #720

Open
hylkevds opened this issue Jan 14, 2022 · 0 comments
Open

Comments

@hylkevds
Copy link
Member

Using exists instead of a full join is usually faster, but it may be difficult to determine if exists can be used.
See: https://www.postgresql.org/docs/current/functions-subquery.html#FUNCTIONS-SUBQUERY-EXISTS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant