mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-13 00:30:48 -05:00
Add index on events (topological_ordering, stream_ordering) to help with ORDER BY clauses
This commit is contained in:
parent
6606f7c659
commit
cce5d057d3
2 changed files with 2 additions and 0 deletions
1
synapse/storage/schema/delta/16/events_order_index.sql
Normal file
1
synapse/storage/schema/delta/16/events_order_index.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
CREATE INDEX events_order ON events (topological_ordering, stream_ordering);
|
||||
Loading…
Add table
Add a link
Reference in a new issue