mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-30 12:16:14 -05:00
49e1356ee3
* move wiki pages to synapse/docs and add a few titles where necessary * update SUMMARY.md with added pages * add changelog * move incorrectly located newsfragment * update changelog number * snake case added files and update summary.md accordingly * update issue/pr links * update relative links to docs * update changelog to indicate that we moved wiki pages to the docs and state reasoning * requested changes to admin_faq.md * requested changes to database_maintenance_tools.md * requested changes to understanding_synapse_through_graphana_graphs.md * add changelog * fix leftover merge errata * fix unwanted changes from merge * use two spaces between entries * outdent code blocks
18 lines
1009 B
Markdown
18 lines
1009 B
Markdown
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:
|
|
|
|
## [Purge Remote Media API](../../admin_api/media_admin_api.md#purge-remote-media-api)
|
|
The purge remote media API allows server admins to purge old cached remote media.
|
|
|
|
## [Purge Local Media API](../../admin_api/media_admin_api.md#delete-local-media)
|
|
This API deletes the *local* media from the disk of your own server.
|
|
|
|
## [Purge History API](../../admin_api/purge_history_api.md)
|
|
The purge history API allows server admins to purge historic events from their database, reclaiming disk space.
|
|
|
|
## [synapse-compress-state](https://github.com/matrix-org/rust-synapse-compress-state)
|
|
Tool for compressing (deduplicating) `state_groups_state` table.
|
|
|
|
## [SQL for analyzing Synapse PostgreSQL database stats](useful_sql_for_admins.md)
|
|
Some easy SQL that reports useful stats about your Synapse database. |