1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2024-12-22 04:34:28 +03:00

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>
This commit is contained in:
Aaron Raimist 2018-11-18 12:37:56 -06:00 committed by Brendan Abolivier
parent 6baa32fd65
commit 26708be7f8

View file

@ -61,3 +61,11 @@ the following:
} }
The status will be one of ``active``, ``complete``, or ``failed``. 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