summary refs log tree commit diff
path: root/changelog.d/15531.misc
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-05-03 14:42:43 +0100
committerGitHub <noreply@github.com>2023-05-03 13:42:43 +0000
commit28ac1a1a91c972c19649e21a6e8d92bb786d8a57 (patch)
treee426fa952df06f82aa09119f64879d6bf1c54b66 /changelog.d/15531.misc
parentSpeed up rebuilding of the user directory for local users (#15529) (diff)
downloadsynapse-28ac1a1a91c972c19649e21a6e8d92bb786d8a57.tar.xz
Speed up deleting of old rows in `event_push_actions` (#15531)
Enforce that we use index scans (rather than seq scans), which we also do for state queries. The reason to enforce this is that we can't correctly get PostgreSQL to understand the distribution of `stream_ordering` depends on `highlight`, and so it always defaults (on matrix.org) to sequential scans. 
Diffstat (limited to 'changelog.d/15531.misc')
-rw-r--r--changelog.d/15531.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/15531.misc b/changelog.d/15531.misc
new file mode 100644
index 0000000000..6d4da961b5
--- /dev/null
+++ b/changelog.d/15531.misc
@@ -0,0 +1 @@
+Speed up deleting of old rows in `event_push_actions`.