Thomas is looking for a way to determine the size of the database dev
or a specific table. Alex suggested using Grafana dashboard for this purpose.
Thomas Teixeira
Asked on Jul 12, 2022
Example:
SELECT pg_size_pretty(pg_database_size('dev')) AS database_size;
SELECT pg_size_pretty(pg_total_relation_size('your_table')) AS table_size;