pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Treat <xzilla@users.sourceforge.net>
Cc: Gaetano Mendola <mendola@bigfoot.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Vacuum explained
Date: Mon, 06 Jan 2003 15:45:59 -0500
Message-ID: <26423.1041885959@sss.pgh.pa.us> (raw)
In-Reply-To: <1041884632.15455.112.camel@camel>
References: <av6rrh$1sfe$1@news.hub.org>
	<1041884632.15455.112.camel@camel>

Robert Treat <xzilla@users.sourceforge.net> writes:
> Tup = # of "rows" in your table

Right.  This is the number of rows remaining after the vacuum, to be
precise.

> Keep = # of tuples that the db did not feel it could safely mark/remove
> (probably envolved in some type of transaction)

More specifically, these are tuples that are committed dead, but cannot
yet be removed because they might still be visible under the MVCC rules
to one or more open transactions.  This number is included in "Tup".

> Unused = # of tuples awaiting being reused

These are not actually tuples, but tuple slots (page item pointers)
that are open for re-use.

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <26423.1041885959@sss.pgh.pa.us>
Permalink:  ../26423.1041885959@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26423.1041885959@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, xzilla@users.sourceforge.net, mendola@bigfoot.com
  Subject: Re: Vacuum explained
  In-Reply-To: <26423.1041885959@sss.pgh.pa.us>
  References: <av6rrh$1sfe$1@news.hub.org> <1041884632.15455.112.camel@camel> <26423.1041885959@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