summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-11-19 14:19:51 +0100
committerGitHub <noreply@github.com>2018-11-19 14:19:51 +0100
commit65b793c5a195ea7cb1621a7bf05d92fb18706f66 (patch)
tree14a7957d2e6161bbfbc8214ea4cdb444ca9c3725
parentMerge pull request #4193 from kivikakk/add-openbsd-prereq (diff)
parentAdd changelog (diff)
downloadsynapse-65b793c5a195ea7cb1621a7bf05d92fb18706f66.tar.xz
Merge pull request #4200 from aaronraimist/vacuum-full-note
Add a note saying you need to manually reclaim disk space
-rw-r--r--changelog.d/4200.misc1
-rw-r--r--docs/admin_api/purge_history_api.rst8
2 files changed, 9 insertions, 0 deletions
diff --git a/changelog.d/4200.misc b/changelog.d/4200.misc
new file mode 100644
index 0000000000..505c98edcf
--- /dev/null
+++ b/changelog.d/4200.misc
@@ -0,0 +1 @@
+Add a note saying you need to manually reclaim disk space after using the Purge History API
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