Re: Vacuum stats interpreted?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Boes <jboes(at)qtm(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Vacuum stats interpreted?
Date: 2003-11-26 21:43:37
Message-ID: 17932.1069883017@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Jeff Boes <jboes(at)qtm(dot)net> writes:
> The "Keep" and "UnUsed" numbers seem high to me, compared to other tables. Can
> anyone interpret these and tell me anything about what we could do with this
> table to make it "look" better?

"Keep" is the number of rows that are committed dead but had to be kept
anyway, because there are open transactions old enough to still
potentially see them. The only way to reduce that is to not have old
transactions hanging 'round while you vacuum.

UnUsed is the number of empty line-pointer slots. At 4 bytes apiece,
this would have to vastly exceed the number of live tuples before you
should worry much.

7.4 labels these numbers in a hopefully more user-friendly way, btw.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jeff Boes 2003-11-26 21:48:26 Re: Vacuum stats interpreted?
Previous Message Adam Ruth 2003-11-26 21:36:10 Re: pg_lo_import alternative ...