summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorAaron Raimist <aaron@raim.ist>2018-11-18 12:37:56 -0600
committerAaron Raimist <aaron@raim.ist>2018-11-18 12:38:04 -0600
commitf6cbef633284aae14fee2781b9ea735fdc537765 (patch)
tree3b0120140860fa135aa9902bfdd0d1577f6cc4dc /docs
parentMerge pull request #4193 from kivikakk/add-openbsd-prereq (diff)
downloadsynapse-f6cbef633284aae14fee2781b9ea735fdc537765.tar.xz
Add a note saying you need to manually reclaim disk space
People keep asking why their database hasn't gotten smaller after using this API.

Signed-off-by: Aaron Raimist <aaron@raim.ist>
Diffstat (limited to 'docs')
-rw-r--r--docs/admin_api/purge_history_api.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/admin_api/purge_history_api.rst b/docs/admin_api/purge_history_api.rst
index 2da833c827..a5c3dc8149 100644
--- a/docs/admin_api/purge_history_api.rst
+++ b/docs/admin_api/purge_history_api.rst
@@ -61,3 +61,11 @@ the following:
     }
 
 The status will be one of ``active``, ``complete``, or ``failed``.
+
+Reclaim disk space (Postgres)
+-----------------------------
+
+To reclaim the disk space and return it to the operating system, you need to run
+`VACUUM FULL;` on the database.
+
+https://www.postgresql.org/docs/current/sql-vacuum.html