Page MenuHomePhabricator

Wow let's look at that contribution_status_id index again
Closed, ResolvedPublic1 Estimated Story Points

Description

I accidentally tested the benefits of dropping the contribution_status_id index on staging 'approving' a query because it took a few minutes on staging some weeks after forgetting I'd removed the contribution_status_id index. Then when deployed in prod the query had to be killed after 41 hours. I think that makes the case that the possible benefit of keeping it (mostly when searching for cancelled or other non-completed contributions) might not be the winning concern

https://gerrit.wikimedia.org/r/c/wikimedia/fundraising/tools/+/609555

Event Timeline

As a user, I would like indexes on contribution_status_id not to be a barrier to exporting or searching data in a timely manner