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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx

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


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

              http://www.postgresql.org/docs/faq

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux