Remove unused deployments indexes on .com
What does this MR do and why?
Prepares the following deployments
indexes for async removal. Each shows zero usage over the last 30 days:
-
index_deployments_on_created_at
- usage -
index_deployments_on_id_and_status_and_created_at
- usage -
index_deployments_on_user_id_and_status_and_created_at
- usage
We cannot remove these globally because self-managed installations still require them in UsageData
and CountDeploymentsMetric
. This means we don't need a subsequent merge request to remove these indexes synchronously.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Related to #463233
Edited by Tiger Watson