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

Update database_maintenance_tools.md #15083

Merged
merged 3 commits into from
Feb 20, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/15083.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update database maintenance tools documentation to include a recent blog post (originally written on Dec 3, 2022 and continues to receive updates, last update on Feb 7, 2023) to replace the commonly suggested blog post from 2020 which commands do not work. This new recent blog post was shared by its author in the Matrix Synapse Admin room after I had experienced tons of frustration not getting anything to work in the ancient blog post from 2020, so I'm updating this documentation to help others not get completely frustrated when maintaining their homeservers. Contributed by @jahway603.
DMRobertson marked this conversation as resolved.
Show resolved Hide resolved
5 changes: 3 additions & 2 deletions docs/usage/administration/database_maintenance_tools.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
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
This blog post by Jackson Chen explains how to use many of the tools listed on this page: https://jacksonchen666.com/posts/2022-12-03/14-33-00/
This blog post by Victor Berger is from 2020 & outdated, so please only use as light reference: https://levans.fr/shrink-synapse-database.html
DMRobertson marked this conversation as resolved.
Show resolved Hide resolved

# List of useful tools and scripts for maintenance Synapse database:

Expand All @@ -15,4 +16,4 @@ The purge history API allows server admins to purge historic events from their d
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.
Some easy SQL that reports useful stats about your Synapse database.