From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@surnet.cl>
Cc: Steve Lane <slane@soliantconsulting.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Convenient dump of table and object size in PG 7.4
Date: Thu, 26 May 2005 23:17:20 -0400
Message-ID: <10450.1117163840@sss.pgh.pa.us> (raw)
In-Reply-To: <20050527024812.GB18417@surnet.cl>
References: <4294CFC0.6040901@ca.afilias.info>
<BEBBF290.19D5F%slane@soliantconsulting.com>
<20050527024812.GB18417@surnet.cl>
Alvaro Herrera <alvherre@surnet.cl> writes:
> On Thu, May 26, 2005 at 09:39:26PM -0500, Steve Lane wrote:
>> Object sizes are computed from pg_class.relpages with an assumed page size
>> of 8192.
> Additionally, "show block_size" will give you the block (page) size. I
> don't see how would you use that in a query though.
current_setting('block_size')
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, alvherre@surnet.cl, slane@soliantconsulting.com
Subject: Re: Convenient dump of table and object size in PG 7.4
In-Reply-To: <10450.1117163840@sss.pgh.pa.us>
References: <4294CFC0.6040901@ca.afilias.info> <BEBBF290.19D5F%slane@soliantconsulting.com> <20050527024812.GB18417@surnet.cl> <10450.1117163840@sss.pgh.pa.us>
* 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