Fix a performance issue introduced in Synapse v1.83.0 which meant that purging...
Fix a performance issue introduced in Synapse v1.83.0 which meant that purging rooms was very slow and database-intensive. (#15693) * Add indices required to efficiently validate new foreign key constraints on stream_ordering * Newsfile Signed-off-by:Olivier Wilkinson (reivilibre) <oliverw@matrix.org> --------- Signed-off-by:
Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
Showing
- changelog.d/15693.bugfix 1 addition, 0 deletionschangelog.d/15693.bugfix
- synapse/storage/databases/state/bg_updates.py 31 additions, 0 deletionssynapse/storage/databases/state/bg_updates.py
- synapse/storage/schema/main/delta/77/14bg_indices_event_stream_ordering.sql 20 additions, 0 deletions...hema/main/delta/77/14bg_indices_event_stream_ordering.sql
changelog.d/15693.bugfix
0 → 100644
Please register or sign in to comment