diff options
author | Erik Johnston <erikj@matrix.org> | 2023-11-16 15:19:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 15:19:35 +0000 |
commit | 3e8531d3baf205733693f9ae8b43aa0b4c82b744 (patch) | |
tree | b4a153c96b8a2dbea1e7dfa66fa9026afa3e9dad /tests | |
parent | Speed up persisting large number of outliers (#16649) (diff) | |
download | synapse-3e8531d3baf205733693f9ae8b43aa0b4c82b744.tar.xz |
Speed up deleting device messages (#16643)
Keeping track of a lower bound of stream ID where we've deleted everything below makes the queries much faster. Otherwise, every time we scan for rows to delete we'd re-scan across all the rows that have previously deleted (until the next table VACUUM).
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions