Fediverse instances should never require manual database admin.
Post
Remote status
Fediverse instances should never require manual database admin.
Replies
21@silverpill Does mitra not suffer from this? @phnt was saying in the issue:
Yes, this is a problem for any database running on PostgreSQL that is constantly being written to. Database growing in size and database bloat are unavoidable facts of running a database.
sadly postgresql comes from a rich lineage, where a bigger computer is the end all solution
@i @phnt @silverpill Is pg_repack better or worse than the pg_squeeze mentioned in the issue?
https://www.cybertec-postgresql.com/en/pg_squeeze-optimizing-postgresql-storage/
@phnt @phnt @taoeffect @silverpill fedi just needs a better way to federate too (tfw no nigentropy )
mitra.social (4.5 years old instance):
# du -sh /var/lib/postgresql/
1.2G /var/lib/postgresql/
image.png
Was that after running the --prune-orphaned-activities option?
You can run a prune with that option less regularly as it is slower than without it and by quite a lot.