Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add disk space considerations to Postgres porting instructions #6545

Closed
schildbach opened this issue Dec 13, 2019 · 1 comment · Fixed by #7899
Closed

Add disk space considerations to Postgres porting instructions #6545

schildbach opened this issue Dec 13, 2019 · 1 comment · Fixed by #7899
Labels
A-Docs things relating to the documentation z-p2 (Deprecated Label)

Comments

@schildbach
Copy link

I think on the SQLite→Postgres porting instructions some considerations about disk space usage should be added.

My homeserver.db was 1.6G and is now almost double in size after migrating to postgres:

# du -sh /var/lib/postgresql/
3.1G    /var/lib/postgresql/

This means that for following the instructions step-by-step you need <size of homeserver.db> * 4 space on your harddrive:

  • homeserver.db
  • homeserver.db.snapshot
  • /var/lib/postgresql/
@neilisfragile neilisfragile added A-Docs things relating to the documentation z-p2 (Deprecated Label) labels Dec 17, 2019
@HarHarLinks
Copy link
Contributor

My migration resulted in the following sizes (+24%):
4.9G homeserver.db
6.1G /var/lib/postgresql

aaronraimist added a commit to aaronraimist/synapse that referenced this issue Jul 18, 2020
@aaronraimist aaronraimist mentioned this issue Jul 18, 2020
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Docs things relating to the documentation z-p2 (Deprecated Label)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants