Skip to content

Conversation

@InfiniteStash
Copy link
Collaborator

WHERE IN causes postgres to read the whole primary table before joining, which is very slow. INNER JOIN lets it start with the subquery instead.

@InfiniteStash InfiniteStash merged commit e8ac277 into stashapp:master Dec 21, 2025
3 checks passed
InfiniteStash added a commit that referenced this pull request Dec 21, 2025
@InfiniteStash InfiniteStash deleted the fix-multi-criterion branch December 21, 2025 10:51
@discourse-stashapp
Copy link

This pull request has been mentioned on Stash. There might be relevant details there:

https://discourse.stashapp.cc/t/release-v0-7-8-stashapp-stash-box/4867/1

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants