Re: PostgreSQL strugling during high load - Mailing list pgsql-performance

From Mischa Sandberg
Subject Re: PostgreSQL strugling during high load
Date
Msg-id 1116005602.4284e4e28869e@webmail.telus.net
Whole thread Raw
In response to Re: PostgreSQL strugling during high load  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
Quoting Tom Lane <tgl@sss.pgh.pa.us>:

> "Mindaugas Riauba" <mind@bi.lt> writes:
> > ... So contents of database changes very fast. Problem is that
> when
> > pg_autovacuum does vacuum those changes slows down too much.
>
> The "vacuum cost" parameters can be adjusted to make vacuums fired
> by pg_autovacuum less of a burden.  I haven't got any specific
> numbers
> to suggest, but perhaps someone else does.

I solved one problem by cranking sleep scaling to -S 20.
It made pg_autovacuum back off longer during extended periods of heavy
disk-intensive query activity. Our update activity is near-constant
insert rate, then once or twice a day, massive deletes.
--
Dreams come true, not free.


pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: PostgreSQL strugling during high load
Next
From: John A Meinel
Date:
Subject: Re: Optimize complex join to use where condition before