Get basic database table, size and count statistics

This is not Discourse specific, but you can run this to know the size of the whole database

./launcher enter app
rails db
SELECT pg_size_pretty(pg_database_size(current_database()));
2 Likes