diff options
author | reivilibre <oliverw@element.io> | 2025-03-18 18:38:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-18 18:38:18 +0000 |
commit | 47e295bf3a0ec62b6a9ae675414a34dd25a6b589 (patch) | |
tree | acdae096b7af736262792ab5ef40cf3b9266287b /synapse/storage/schema | |
parent | Add a column `participant` to `room_memberships` table (#18068) (diff) | |
download | synapse-47e295bf3a0ec62b6a9ae675414a34dd25a6b589.tar.xz |
Add index to sliding sync membership snapshot table, to fix a performance issue. (#18074)
To address a performance problem due to the foreign key on the same column. cc @erikjohnston --------- Signed-off-by: Olivier 'reivilibre <oliverw@matrix.org>
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r-- | synapse/storage/schema/main/delta/89/01_sliding_sync_membership_snapshot_index.sql | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/synapse/storage/schema/main/delta/89/01_sliding_sync_membership_snapshot_index.sql b/synapse/storage/schema/main/delta/89/01_sliding_sync_membership_snapshot_index.sql new file mode 100644 |