From: Shankar K <shan0075@yahoo.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: interpret vacuum verbose output
Date: Fri, 6 Jun 2003 10:07:41 -0700 (PDT)
Message-ID: <20030606170741.2150.qmail@web21102.mail.yahoo.com> (raw)
In-Reply-To: <2104.1054821585@sss.pgh.pa.us>
Thanks tom that was very useful.
just wondering what could be "Keep 0, UnUsed 205434"
refer here. does that any of it impact in evaluvating
the vaccum frequecy.
thanks,
Shankar
--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Shankar K <shan0075@yahoo.com> writes:
> > I'm trying to evaluate the frequecy to run vacuum
> > analyze on key tables. so if anyone could help me
> to
> > interpret the output of vacuum analyze verbose
> output
> > that would be great.
>
> > INFO: Removed 55448 tuples in 2367 pages.
> > CPU 0.04s/0.11u sec elapsed 0.41 sec.
> > INFO: Pages 11266: Changed 4, Empty 0; Tup 231:
> Vac
> > 55448, Keep 0, UnUsed 205434.
>
> This says that you have 231 live tuples versus 55448
> that were removed ---
> in other words, less than one-half of one percent of
> your table was
> current data. You need to vacuum this table a LOT
> more often than
> you are doing.
>
> You will need a VACUUM FULL and a REINDEX to get the
> table and index
> physical sizes down to something reasonable, after
> which a more rigorous
> schedule of plain vacuums ought to keep things in
> shape.
>
> regards, tom lane
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please
> send an appropriate
> subscribe-nomail command to majordomo@postgresql.org
> so that your
> message can get through to the mailing list cleanly
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
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: shan0075@yahoo.com, tgl@sss.pgh.pa.us
Subject: Re: interpret vacuum verbose output
In-Reply-To: <20030606170741.2150.qmail@web21102.mail.yahoo.com>
References: <2104.1054821585@sss.pgh.pa.us> <20030606170741.2150.qmail@web21102.mail.yahoo.com>
* 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