mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-24 19:25:57 +00:00
![]() The postgres statistics collector sometimes massively underestimates the number of distinct state groups are in the `state_groups_state`, which can cause postgres to use table scans for queries for multiple state groups. We fix this by manually setting `n_distinct` on the column. |
||
---|---|---|
.. | ||
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 /docs/development/database_schema.md.