Re: Faster way of estimating database size

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Sam Saffron <sam(dot)saffron(at)gmail(dot)com>
Cc: PGSQL Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Faster way of estimating database size
Date: 2018-06-15 07:59:19
Message-ID: 20180615075919.vq6xpamarxsg5aq5@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jun 15, 2018 at 10:29:02AM +1000, Sam Saffron wrote:
> SELECT pg_database.datname, pg_database_size(pg_database.datname) as
> size FROM pg_database

Consider reading and using approach shown in
https://www.depesz.com/2018/02/17/which-schema-is-using-the-most-disk-space/

Best regards,

depesz

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2018-06-15 11:59:32 Re: Trying to understand odd trigger behavior
Previous Message Fabio Pardi 2018-06-15 07:45:50 Re: Faster way of estimating database size