Re: Is there a reason _not_ to vacuum continuously?

From: "Matt Clark" <matt(at)ymogen(dot)net>
To: <josh(at)agliodbs(dot)com>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Is there a reason _not_ to vacuum continuously?
Date: 2003-09-17 20:24:37
Message-ID: LFEIJBEOKGPDHCEMDGNFEECHCDAA.matt@ymogen.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> 2) Are you sure that ANALYZE is needed? Vacuum is required
> whenever lots of
> rows are updated, but analyze is needed only when the *distribution* of
> values changes significantly.

You are right. I have a related qn in this thread about random vs. monotonic
values in indexed fields.

> 3) using PG 7.3 or less, you will also need to REINDEX these
> tables+indexes
> often (daily?). This issue will go away in 7.4, which should
> make you an
> early adopter of 7.4.

I understand this needs an exclusive lock on the whole table, which is
simply not possible more than once a month, if that... Workarounds/hack
suggestions are more than welcome :-)

Ta

M

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Michael Adler 2003-09-17 20:46:00 Re: inferior SCSI performance
Previous Message Vivek Khera 2003-09-17 20:21:46 Re: restore time: sort_mem vs. checkpoing_segments