Re: does VACUUM ANALYZE complete with this error? - Mailing list pgsql-performance

From Susan Russo
Subject Re: does VACUUM ANALYZE complete with this error?
Date
Msg-id 200705231903.l4NJ3vuT014318@larrys.harvard.edu
Whole thread Raw
In response to does VACUUM ANALYZE complete with this error?  (Susan Russo <russo@morgan.harvard.edu>)
Responses Re: does VACUUM ANALYZE complete with this error?
List pgsql-performance
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

pgsql-performance by date:

Previous
From: "Y Sidhu"
Date:
Subject: Simulate database fragmentation
Next
From: Chris Mair
Date:
Subject: Re: Drop table vs Delete record