Re: How much space do database objects take up in data files

From: paul socha <pawel(dot)socha(at)gmail(dot)com>
To: Peter Kovacs <maxottovonstirlitz(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: How much space do database objects take up in data files
Date: 2008-02-13 19:37:55
Message-ID: F57A5AF1-E873-42EF-BF5D-DC0ABC37D060@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi

Im not sure ;]
but ...

http://www.postgresql.org/docs/8.3/static/functions-admin.html
and table 9-54

merlin=# select tablename, pg_size_pretty(pg_relation_size
(tablename)) from pg_catalog.pg_tables where tableowner='merlin';;
tablename | pg_size_pretty
-----------+----------------
foo | 8192 bytes
ip | 8192 bytes
(2 rows)

On 2008-02-13, at 19:43, Peter Kovacs wrote:

> Hi,
>
> How can I find out how much space is taken up by database objects
> in data files?
>
> Thanks
> Peter

Pawel Socha
pawel(dot)socha(at)gmail(dot)com

perl -le 's**02).4^&-%2,).^9%4^!./4(%2^3,!#+7!2%^53%2&**y%& -;^[%"`-
{ a%%s%%$_%ee'

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Carol Walter 2008-02-13 20:13:41 Re: How much space do database objects take up in data files
Previous Message Michael Shapiro 2008-02-13 19:32:30 Re: CONTEXT messages for raise EXCEPTION