MatrixSynapse/synapse/storage
Matthew Hodgson cc4944c83e speed up state deduplication migrations on sqlite
Remove the self-inner-join and instead abuse sqlite's quirk that it
allows us to mix aggregate & non-aggregate columns in a grouped
select to return the event_ids of the events in a state group:
see http://marc.info/?l=sqlite-users&m=141460824410980&w=2.

This speeds up these queries by around 25x, drastically improving
performance when sqlite is upgraded to 0.18.
2016-09-26 01:18:41 +01:00
..
engines
schema
util
__init__.py
_base.py
account_data.py
appservice.py
background_updates.py
client_ips.py
deviceinbox.py
devices.py
directory.py
end_to_end_keys.py
event_federation.py
event_push_actions.py
events.py
filtering.py
keys.py
media_repository.py
openid.py
prepare_database.py
presence.py
profile.py
push_rule.py
pusher.py
receipts.py
registration.py
rejections.py
room.py
roommember.py
search.py
signatures.py
state.py speed up state deduplication migrations on sqlite 2016-09-26 01:18:41 +01:00
stream.py
tags.py
transactions.py