Skip to content

Conversation

@iambriccardo
Copy link
Contributor

@iambriccardo iambriccardo commented Mar 27, 2023

This PR adds an index on the date_added field of the ArtifactBundle for more efficient deletions (implemented in this PR #46367).

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 27, 2023
@iambriccardo iambriccardo requested a review from beezz March 27, 2023 12:05
@github-actions
Copy link
Contributor

This PR has a migration; here is the generated SQL for src/sentry/migrations/0395_add_index_to_date_added.py ()

--
-- Alter field date_added on artifactbundle
--
CREATE INDEX CONCURRENTLY "sentry_artifactbundle_date_added_847b0a93" ON "sentry_artifactbundle" ("date_added");

@iambriccardo iambriccardo marked this pull request as ready for review March 27, 2023 12:28
@iambriccardo iambriccardo requested a review from a team as a code owner March 27, 2023 13:58
@iambriccardo iambriccardo merged commit 1e628cd into master Mar 27, 2023
@iambriccardo iambriccardo deleted the riccardo/feat/add-indexes branch March 27, 2023 14:17
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants