diff options
author | Aaron Raimist <aaron@raim.ist> | 2018-11-18 12:37:56 -0600 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-02-13 15:16:03 +0000 |
commit | 26708be7f8e9b215f7c1709d5b3db562d23ba8db (patch) | |
tree | 39b9782be362b89eb1d5777238fdb68aee6645fe /docs | |
parent | Update coap-proxy (diff) | |
download | synapse-26708be7f8e9b215f7c1709d5b3db562d23ba8db.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 |