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

fix: query performance on DocumentDB #171

Merged
merged 2 commits into from
Feb 7, 2024
Merged

fix: query performance on DocumentDB #171

merged 2 commits into from
Feb 7, 2024

Conversation

chris13524
Copy link
Member

@chris13524 chris13524 commented Feb 7, 2024

Description

Resolves the use of COLSCAN instead of IXSCAN.

With DocumentDB on a sparse index, you must use $exists: true in the query or else it will always use a COLSCAN: https://docs.aws.amazon.com/documentdb/latest/developerguide/functional-differences.html#functional-differences.sparse-index

Slack conversation
Slack conversation

How Has This Been Tested?

Manually

Due Diligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

@chris13524 chris13524 self-assigned this Feb 7, 2024
@chris13524 chris13524 requested a review from Elyniss as a code owner February 7, 2024 19:55
@chris13524 chris13524 merged commit 660e06b into master Feb 7, 2024
10 of 18 checks passed
@chris13524 chris13524 deleted the fix/query-perf branch February 7, 2024 20:04
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