Re: psql: what's the SQL to compute the ratio of table sizes?

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Kynn Jones" <kynnjo(at)gmail(dot)com>
Cc: "pgsql-general General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql: what's the SQL to compute the ratio of table sizes?
Date: 2008-10-17 22:04:45
Message-ID: dcc563d10810171504u22d4a262gf4f84bde5591d0fd@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Oct 17, 2008 at 3:38 PM, Kynn Jones <kynnjo(at)gmail(dot)com> wrote:
> Thanks for all your suggestions!
> Kynn

If an approximate count will work take a look in pg_stat_user_tables
right after a vacuum. It's much faster.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2008-10-17 22:16:18 Re: ideal server
Previous Message Steve Atkins 2008-10-17 21:46:13 Re: ideal server