From: Susan Russo <russo@morgan.harvard.edu>
To: russo@morgan.harvard.edu
To: tgl@sss.pgh.pa.us
Cc: harvsys@morgan.harvard.edu
Cc: pgsql-performance@postgresql.org
Subject: Re: does VACUUM ANALYZE complete with this error?
Date: Wed, 23 May 2007 15:03:57 -0400 (EDT)
Message-ID: <200705231903.l4NJ3vuT014318@larrys.harvard.edu> (raw)
Hi Tom - thanks for the additional/confirming info.
>So you definitely have got a problem of needing more vacuuming...
Yes, we're going to nightly, as I said in last message, however,
it worse than this.....
I found that *1* vacuum analyze works well in many instances to
help optimize query performance (which in one example was running
in lightening speed on 2 of our 5 identical software/hardware/configs
Pg 8.1.4 servers). However, in several cases, a *2nd* vacuum
analyze was necessary. (btw - first vacuum was after adjusting
max_fsm_pages, and getting no error msgs from vacuum).
I *think* - please advise, I may be able to affect configs
for a more effective vacuum analyze the first time around (??)
Perhaps an increase to deafult_statistics_target (set to 100??).
I'd read that when performing a vacuum analyze, Pg doesn't actually
go through all values in each table and update statistics, rather,
it samples some of the values and uses that statistical sample.
Thus, different runs of the vacuum analyze might generate different
statistics (on different dbs on different servers) since the same db
may be used differently on a different server. Is this correct??
Thanks for any advice....I'm hoping regular duplicate vacuum
analyze isn't the solution...
Susan
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-performance@postgresql.org
Cc: russo@morgan.harvard.edu, tgl@sss.pgh.pa.us, harvsys@morgan.harvard.edu
Subject: Re: does VACUUM ANALYZE complete with this error?
In-Reply-To: <200705231903.l4NJ3vuT014318@larrys.harvard.edu>
References: <200705231903.l4NJ3vuT014318@larrys.harvard.edu>
* 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