mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 21:59:26 -05:00
b2c2b03079
PostgreSQL may underestimate the number of distinct `room_id`s in `event_search`, which can cause it to use table scans for queries for multiple rooms. Fix this by setting `n_distinct` on the column. Resolves #14402. Signed-off-by: Sean Quah <seanq@matrix.org> |
||
---|---|---|
.. | ||
common | ||
main | ||
state | ||
__init__.py | ||
README.md |
Synapse Database Schemas
This directory contains the schema files used to build Synapse databases. For more information, see https://matrix-org.github.io/synapse/develop/development/database_schema.html.