Thanks to Matt Clarkson for the tip.SELECT pg_database.datname,
pg_size_pretty(pg_database_size(pg_database.datname)) AS size
FROM pg_database;
2009-02-25
Finding the size of a Postgres database on disk
Here's how to tell how much space (on disk) a Postgres database takes:
Subscribe to:
Post Comments (Atom)


0 comments:
Post a Comment