diff options
author | Aaron Raimist <aaron@raim.ist> | 2018-11-18 12:37:56 -0600 |
---|---|---|
committer | Aaron Raimist <aaron@raim.ist> | 2018-11-18 12:38:04 -0600 |
commit | f6cbef633284aae14fee2781b9ea735fdc537765 (patch) | |
tree | 3b0120140860fa135aa9902bfdd0d1577f6cc4dc /docs | |
parent | Merge pull request #4193 from kivikakk/add-openbsd-prereq (diff) | |
download | synapse-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.rst | 8 |
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 |