Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Synapse database maintenance tools

zzottel edited this page Oct 27, 2017 · 19 revisions

List of useful tools and scripts for maintenance Synapse database:

The purge remote media API allows server admins to purge old cached remote media.

The purge history API allows server admins to purge historic events from their database, reclaiming disk space.

Cleans a synapse Postgres database of deleted messages and abandoned rooms.

Delete images and thumbnails created by URL previews in Synapse

NOTE: This is not required anymore as of Synapse 0.24, it now deletes those images by itself.