Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add DB indices to speed up purging rooms #16457

Merged
merged 2 commits into from Oct 10, 2023
Merged

Add DB indices to speed up purging rooms #16457

merged 2 commits into from Oct 10, 2023

Conversation

DMRobertson
Copy link
Contributor

We have seen DELETEs from these tables clog up the background process worker on matrix.org. Indices should help.

Completely untested.

@DMRobertson DMRobertson marked this pull request as ready for review October 9, 2023 14:35
@DMRobertson DMRobertson requested a review from a team as a code owner October 9, 2023 14:35
David Robertson added 2 commits October 9, 2023 15:48
We have seen DELETEs from these tables clog up the background process
worker on matrix.org. Indices should help.
@clokep
Copy link
Contributor

clokep commented Oct 9, 2023

Is this in lieu of #16102?

@DMRobertson
Copy link
Contributor Author

Pretty much yeah. I haven't been following the details; Erik asked me to PR this so we at least have the option of a stopgap.

@erikjohnston
Copy link
Member

Yes it is

@DMRobertson DMRobertson merged commit 28fd28e into develop Oct 10, 2023
38 checks passed
@DMRobertson DMRobertson deleted the dmr/indices branch October 10, 2023 09:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants