pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Jeff Frost <jeff@frostconsultingllc.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: auto vacuum settings
Date: Wed, 31 Aug 2005 14:07:03 -0400
Message-ID: <20050831180703.GA23453@surnet.cl> (raw)
In-Reply-To: <Pine.LNX.4.63.0508311058570.16005@discord.dyndns.org>
References: <43152971.1030508@winklerpartners.com>
	<27988.1125463452@sss.pgh.pa.us>
	<Pine.LNX.4.63.0508302232000.30613@discord.dyndns.org>
	<1400.1125496055@sss.pgh.pa.us>
	<Pine.LNX.4.63.0508311058570.16005@discord.dyndns.org>

On Wed, Aug 31, 2005 at 10:59:49AM -0700, Jeff Frost wrote:
> Thanks Tom!
> 
> Now what does the relpages column mean?  I.e. how should I interpret that 
> entry for my tables?

relpages is the number of "pages" of the table.  A page is 8kb (unless
you changed a compile-time setting -- you can check it with SHOW
block_size).

Each page stores whole tuples, and can have some amount of free space.
Tuples exceeding a certain length will be "toasted", that is, some of
its attributes will be moved to an external table.  Check the
documentation for more details -- there is a section called "Disk
Storage" or something similar.

-- 
Alvaro Herrera -- Valdivia, Chile         Architect, www.EnterpriseDB.com
"[PostgreSQL] is a great group; in my opinion it is THE best open source
development communities in existence anywhere."                (Lamar Owen)



view thread (5+ messages)

Message-ID: <20050831180703.GA23453@surnet.cl>
Permalink:  ../20050831180703.GA23453@surnet.cl/
Also on:    postgresql.org/message-id/20050831180703.GA23453@surnet.cl

 · 

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 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: alvherre@alvh.no-ip.org, jeff@frostconsultingllc.com, tgl@sss.pgh.pa.us
  Subject: Re: auto vacuum settings
  In-Reply-To: <20050831180703.GA23453@surnet.cl>
  References: <43152971.1030508@winklerpartners.com> <27988.1125463452@sss.pgh.pa.us> <Pine.LNX.4.63.0508302232000.30613@discord.dyndns.org> <1400.1125496055@sss.pgh.pa.us> <Pine.LNX.4.63.0508311058570.16005@discord.dyndns.org> <20050831180703.GA23453@surnet.cl>

* 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