Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1009 Bytes

database_maintenance_tools.md

File metadata and controls

18 lines (12 loc) · 1009 Bytes

This blog post by Victor Berger explains how to use many of the tools listed on this page: https://levans.fr/shrink-synapse-database.html

List of useful tools and scripts for maintenance Synapse database:

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

This API deletes the local media from the disk of your own server.

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

Tool for compressing (deduplicating) state_groups_state table.

Some easy SQL that reports useful stats about your Synapse database.