Skip to content

database: Add index on crate_downloads table #8242

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

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Mar 5, 2024

We discussed this change on Zulip, and it looks like this will be a significant performance improvement for search queries that use the new crate_downloads table.

Related:

@Turbo87 Turbo87 added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-backend ⚙️ labels Mar 5, 2024
@Turbo87 Turbo87 requested a review from a team March 5, 2024 12:06
@Turbo87 Turbo87 force-pushed the crate-downloads-index branch from dd70fb6 to 5edb0c6 Compare March 5, 2024 12:21
Copy link

codecov bot commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.73%. Comparing base (a35bfa9) to head (5edb0c6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8242   +/-   ##
=======================================
  Coverage   87.73%   87.73%           
=======================================
  Files         272      272           
  Lines       27345    27345           
=======================================
  Hits        23992    23992           
  Misses       3353     3353           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Turbo87 Turbo87 merged commit 3cb8a36 into rust-lang:main Mar 5, 2024
@Turbo87 Turbo87 deleted the crate-downloads-index branch March 5, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants