pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: paul socha <pawel.socha@gmail.com>
To: Peter Kovacs <maxottovonstirlitz@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: How much space do database objects take up in data files
Date: Wed, 13 Feb 2008 20:37:55 +0100
Message-ID: <F57A5AF1-E873-42EF-BF5D-DC0ABC37D060@gmail.com> (raw)
In-Reply-To: <b6e8f2e80802131043j70c15938ja094e45cd1559d5e@mail.gmail.com>
References: <b6e8f2e80802131043j70c15938ja094e45cd1559d5e@mail.gmail.com>

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.socha@gmail.com

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




view thread (6+ messages)  latest in thread

Message-ID: <F57A5AF1-E873-42EF-BF5D-DC0ABC37D060@gmail.com>
Permalink:  ../F57A5AF1-E873-42EF-BF5D-DC0ABC37D060@gmail.com/
Also on:    postgresql.org/message-id/F57A5AF1-E873-42EF-BF5D-DC0ABC37D060@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: pawel.socha@gmail.com, maxottovonstirlitz@gmail.com
  Subject: Re: How much space do database objects take up in data files
  In-Reply-To: <F57A5AF1-E873-42EF-BF5D-DC0ABC37D060@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox