Database cleanup work: $ psql -c "SELECT pg_size_pretty(pg_database_size('mastod...

@Larvitz@burningboard.net

Database cleanup work:

$ psql -c "SELECT pg_size_pretty(pg_database_size('mastodon'))"
pg_size_pretty
----------------
38 GB
(1 row)

$ pg_repack mastodon
INFO: repacking table "public.account_aliases"
....

$ psql -c "SELECT pg_size_pretty(pg_database_size('mastodon'))"
pg_size_pretty
----------------
32 GB
(1 row)

Nice :-) Another successful maintanance ! Also patched up the entire machine and all jails to FreeBSD 15.0-RELEASE-p10 and verified our backups work and are restorable.

#mastodon #mastoadmin #postgresql #selfhosting #freebsd