matrix-org / rust-synapse-compress-state

A tool to compress some state in a Synapse instance's database
https://pypi.org/project/synapse-auto-compressor/
Apache License 2.0
143 stars 33 forks source link

Allow running across all rooms. #19

Open erikjohnston opened 4 years ago

erikjohnston commented 4 years ago

Currently the tool is per room, which makes it hard to run as a periodic background task to clean out the database, or as a one-shot "reduce db size" tool.

Related: https://github.com/matrix-org/rust-synapse-compress-state/issues/6

starcraft66 commented 4 years ago

Are there any plans to implement this feature in the near future? I'd like to run this program on my server but I have hundreds of rooms and I have no way of knowing which ones are bloating the database the most.

aaronraimist commented 4 years ago

@starcraft66 https://github.com/matrix-org/synapse/wiki#what-are-the-biggest-rooms-on-my-server will be helpful

starcraft66 commented 4 years ago

@aaronraimist thanks for the suggestion, I'm running the query right now!