dendrite/syncapi/storage/postgres
PiotrKozimor 2be43560ca
Index on syncapi_send_to_device table (#2684)
Introduced index improves select query performance. Example execution time of `selectSendToDeviceMessagesSQL` query dropped from 80 ms to 15 ms. No sytest modifications are required.

### Pull Request Checklist

* [x] I have added added tests for PR _or_ I have justified why this PR doesn't need tests.
* [x] Pull request includes a [sign off](https://github.com/matrix-org/dendrite/blob/main/docs/CONTRIBUTING.md#sign-off)

Signed-off-by: `Piotr Kozimor <p1996k@gmail.com>`
2022-08-30 14:47:54 +01:00
..
deltas Implement history visibility on /messages, /context, /sync (#2511) 2022-08-11 18:23:35 +02:00
account_data_table.go Try that again 2022-04-27 15:10:15 +01:00
backwards_extremities_table.go Remove dead code in the sync api (#2341) 2022-04-09 00:37:50 +01:00
current_room_state_table.go Fix syncapi shared users query & device lists (#2614) 2022-08-03 18:35:17 +02:00
filter_table.go Send all account data on complete sync by default 2022-04-26 16:58:20 +01:00
filtering.go Correctly use provided filters (#2339) 2022-04-11 09:05:23 +02:00
ignores_table.go Add possibility to ignore users (#2329) 2022-04-07 15:08:19 +01:00
invites_table.go Various bug fixes and tweaks around invites and membership 2022-03-17 17:05:21 +00:00
memberships_table.go Implement history visibility on /messages, /context, /sync (#2511) 2022-08-11 18:23:35 +02:00
notification_data_table.go Partly fix notification counts (#2621) 2022-08-05 13:44:20 +02:00
output_room_events_table.go Stop spamming the logs with StateBetween: ignoring deleted state event IDs 2022-08-16 14:42:35 +01:00
output_room_events_topology_table.go Remove dead code in the sync api (#2341) 2022-04-09 00:37:50 +01:00
peeks_table.go Peeking via MSC2753 (#1370) 2020-09-10 14:39:18 +01:00
presence_table.go Limit presence in /sync responses (#2394) 2022-04-28 15:12:40 +01:00
receipt_table.go Update database migrations, remove goose (#2264) 2022-07-25 10:39:22 +01:00
send_to_device_table.go Index on syncapi_send_to_device table (#2684) 2022-08-30 14:47:54 +01:00
syncserver.go Implement history visibility on /messages, /context, /sync (#2511) 2022-08-11 18:23:35 +02:00