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

Add Versions index on lower(gem_full_name) #4095

Merged
merged 2 commits into from Sep 26, 2023

Conversation

segiddins
Copy link
Member

So the uniqueness constraint can run significantly faster, right now each of these queries is taking 500ms

Also preload rubygems in backfill to avoid n+1

So the uniqueness constraint can run significantly faster, right now each of these queries is taking 500ms
Avoid n+1 queries because the rubygem is loaded in validations
@indirect indirect merged commit 53eeef7 into master Sep 26, 2023
14 of 15 checks passed
@indirect indirect deleted the segiddins/gem-full-name-index branch September 26, 2023 20:43
@rubygems-org-shipit rubygems-org-shipit bot temporarily deployed to staging September 26, 2023 20:51 Inactive
@rubygems-org-shipit rubygems-org-shipit bot temporarily deployed to production September 26, 2023 20:58 Inactive
@rubygems-org-shipit rubygems-org-shipit bot temporarily deployed to oidc-api-token September 28, 2023 20:09 Inactive
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.

None yet

2 participants