Re: size in bytes of a table?

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Mark Harrison <mh(at)pixar(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: size in bytes of a table?
Date: 2005-02-11 18:41:44
Message-ID: 20050211184144.GA32427@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Feb 11, 2005 at 10:20:47AM -0800, Mark Harrison wrote:

> I'd like to present some statistics on our database tables,
> showing the number of rows and approximate amount of data
> in bytes, e.g. something like this from one of our other
> databases:
>
> tasks (546916 Kb,62018 rows)

Take a look at contrib/dbsize and contrib/pgstattuple.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2005-02-11 18:43:31 Re: [GENERAL] WARNING: could not remove database directory
Previous Message Tom Lane 2005-02-11 18:36:21 Re: [GENERAL] WARNING: could not remove database directory