anonymousland-synapse/synapse/storage/data_stores/main
Brendan Abolivier 3f9b61ff95
Fix the SQL SELECT query in _paginate_room_events_txn
Doing a SELECT DISTINCT when paginating is quite expensive, because it requires the engine to do sorting on the entire events table. However, we only need to run it if we're filtering on 2+ labels, so this PR is changing the request so that DISTINCT is only used then.
2019-11-07 11:51:11 +00:00
..
schema Merge pull request #6301 from matrix-org/babolivier/msc2326 2019-11-01 17:04:45 +00:00
__init__.py Merge branch 'develop' into uhoreg/cross_signing_fix_workers_notify 2019-10-31 12:32:07 -04:00
account_data.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
appservice.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
client_ips.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
deviceinbox.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
devices.py Update synapse/storage/data_stores/main/devices.py 2019-10-31 22:49:48 -04:00
directory.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
e2e_room_keys.py delete keys when deleting backups 2019-10-24 21:21:51 -04:00
end_to_end_keys.py make user signatures a separate stream 2019-10-30 17:22:52 -04:00
event_federation.py Address codestyle concerns 2019-10-24 18:43:13 +01:00
event_push_actions.py Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
events_bg_updates.py Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
events_worker.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
events.py Merge pull request #6301 from matrix-org/babolivier/msc2326 2019-11-01 17:04:45 +00:00
filtering.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
group_server.py Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
keys.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
media_repository.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
monthly_active_users.py Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
openid.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
presence.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
profile.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
push_rule.py Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
pusher.py Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
receipts.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
registration.py Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
rejections.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
relations.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
room.py Make room directory search case insensitive 2019-10-29 10:24:02 +00:00
roommember.py Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
search.py Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
signatures.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
state_deltas.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
state.py Fix bug which caused rejected events to be stored with the wrong room state (#6320) 2019-11-06 10:01:39 +00:00
stats.py Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
stream.py Fix the SQL SELECT query in _paginate_room_events_txn 2019-11-07 11:51:11 +00:00
tags.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
transactions.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
user_directory.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
user_erasure_store.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00