synapse-product/synapse/storage/schema/state
Erik Johnston 3acf85c85f
Reduce likelihood of Postgres table scanning state_groups_state. ()
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.
2021-07-15 16:02:12 +01:00
..
delta Reduce likelihood of Postgres table scanning state_groups_state. () 2021-07-15 16:02:12 +01:00
full_schemas/54 Reorganise the database schema directories () 2021-05-07 10:22:05 +01:00