Skip to content

Conversation

@abnegate
Copy link
Member

Querying with _tenant IS NULL OR ... is slow against large tables. There's no need to check the tenant is null for non-metadata queries, so only add the check if the collection is metadata.

@abnegate abnegate requested a review from fogelito January 20, 2025 01:36
@abnegate abnegate merged commit 240478a into main Jan 20, 2025
15 checks passed
@abnegate abnegate deleted the feat-improve-queries branch January 20, 2025 09:22
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.

3 participants