pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tsirkin Evgeny <tsurkin@mail.jct.ac.il>
Cc: pgsql-admin@postgresql.org
Subject: Re: reading vacuum verbose output
Date: Tue, 14 Jun 2005 09:35:04 -0400
Message-ID: <27818.1118756104@sss.pgh.pa.us> (raw)
In-Reply-To: <42AEA3F2.4000202@mail.jct.ac.il>
References: <42AEA3F2.4000202@mail.jct.ac.il>

Tsirkin Evgeny <tsurkin@mail.jct.ac.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



view thread (2+ messages)

Message-ID: <27818.1118756104@sss.pgh.pa.us>
Permalink:  ../27818.1118756104@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27818.1118756104@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, tsurkin@mail.jct.ac.il
  Subject: Re: reading vacuum verbose output
  In-Reply-To: <27818.1118756104@sss.pgh.pa.us>
  References: <42AEA3F2.4000202@mail.jct.ac.il> <27818.1118756104@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