Re: reading vacuum verbose output

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tsirkin Evgeny <tsurkin(at)mail(dot)jct(dot)ac(dot)il>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: reading vacuum verbose output
Date: 2005-06-14 13:35:04
Message-ID: 27818.1118756104@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Tsirkin Evgeny <tsurkin(at)mail(dot)jct(dot)ac(dot)il> writes:
> INFO: --Relation public.student2maslulsign_rashum_musmach_old--
> INFO: Pages 906: Changed 0, Empty 0; Tup 846: Vac 0, Keep 0, UnUsed 96035.
> Total CPU 0.03s/0.01u sec elapsed 0.04 sec.

> If there are unused tuples why i see the Changed 0 ?

Those are unused tuple slots, not tuples. They can be re-used, but they
won't be reclaimed unless the page they are in is truncated from the
table.

> (Note :The db is vacuumed every ~5 hours ver 7.3)

It would appear that you need a round of VACUUM FULL to get these tables
back down to a reasonable physical size, and in future vacuum more often.
Check your FSM settings too.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Chris Browne 2005-06-14 16:36:35 Re: Remote Access
Previous Message Marcos 2005-06-14 11:15:33 Remote Access