mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-24 11:45:10 -05: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. |
||
|---|---|---|
| .. | ||
| 23 | ||
| 30 | ||
| 32 | ||
| 35 | ||
| 47 | ||
| 56 | ||
| 61 | ||