dendrite/syncapi/storage
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
..
postgres Index on syncapi_send_to_device table (#2684) 2022-08-30 14:47:54 +01:00
shared SyncAPI tweaks/fixes (#2671) 2022-08-25 13:42:47 +01:00
sqlite3 Index on syncapi_send_to_device table (#2684) 2022-08-30 14:47:54 +01:00
tables Implement history visibility on /messages, /context, /sync (#2511) 2022-08-11 18:23:35 +02:00
interface.go SyncAPI tweaks/fixes (#2671) 2022-08-25 13:42:47 +01:00
storage_test.go Implement history visibility on /messages, /context, /sync (#2511) 2022-08-11 18:23:35 +02:00
storage_wasm.go
storage.go