Re: Vacuum explained

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
Cc: Gaetano Mendola <mendola(at)bigfoot(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Vacuum explained
Date: 2003-01-06 20:45:59
Message-ID: 26423.1041885959@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Robert Treat <xzilla(at)users(dot)sourceforge(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jeff Boes 2003-01-06 20:52:21 ANALYZE not working?
Previous Message philo vivero 2003-01-06 20:39:37 Re: repair table? database? how ? neccessary?