Drop an unused index_namespaces_on_runners_token
What does this MR do and why?
Drops the index index_namespaces_on_runners_token
on namespaces
, which is no longer used.
We can see that the index has seen zero scans in the past month on any database:
We can also see that the namespaces.runners_token
column is not used at all, as runner tokens are encrypted:
gitlabhq_dblab=# select id from namespaces where runners_token is not null;
id
----
(0 rows)
See #425979 (closed) for more details.
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.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #425979 (closed)