Re: dbsize command

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: "Reynolds, Gregory A" <gregory(dot)a(dot)reynolds(at)lmco(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: dbsize command
Date: 2008-06-23 18:51:39
Message-ID: Pine.GSO.4.64.0806231447460.25410@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 23 Jun 2008, Reynolds, Gregory A wrote:

> In past versions there was a contrib/dbsize command that would tell you
> how much storage space was being taken by a table. Is that is still a
> supported feature in 8.3, and if so what is the syntax or where is the
> documentation on how to use it?

The low-level functions are documented at
http://www.postgresql.org/docs/current/static/functions-admin.html#FUNCTIONS-ADMIN-DBSIZE

Check out http://wiki.postgresql.org/wiki/Disk_Usage for some samples of
how to actually use them.

--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-06-23 19:00:05 Re: Data Types
Previous Message Roberts, Jon 2008-06-23 18:50:29 Re: Data Types