Re: Vacuum, analyze, and setting reltuples of pg_class

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Vacuum, analyze, and setting reltuples of pg_class
Date: 2006-12-11 17:08:30
Message-ID: 13642.1165856910@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Greg Sabino Mullane" <greg(at)turnstep(dot)com> writes:
> Short version: is it optimal for vacuum to always populate reltuples
> with live rows + dead rows?

If we didn't do that, it would tend to encourage the use of seqscans on
tables with lots of dead rows, which is probably a bad thing.

> Is there any way to encourage those dead rows to go away,

Close your open transactions.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Sabino Mullane 2006-12-11 17:35:57 Re: Vacuum, analyze, and setting reltuples of pg_class
Previous Message Greg Sabino Mullane 2006-12-11 16:47:15 Vacuum, analyze, and setting reltuples of pg_class