Step 1
How do I connect to the Sentry's database in Docker?
Step 2
How to find big tables of a PostgreSQL database?
SELECT
table_name,
pg_size_pretty(pg_total_relation_size(quote_ident(table_name))),
pg_total_relation_size(quote_ident(table_name))
FROM information_schema.tables
WHERE 'public' = table_schema
ORDER BY 3 DESC
LIMIT 20;