Re: We probably need autovacuum_max_wraparound_workers - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: We probably need autovacuum_max_wraparound_workers
Date
Msg-id 20120629021519.GR1267@tamriel.snowman.net
Whole thread Raw
In response to Re: We probably need autovacuum_max_wraparound_workers  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
* Josh Berkus (josh@agliodbs.com) wrote:
> I don't find Stephen's proposal of goal-based solutions to be practical.
>  A goal-based approach makes the assumption that database activity is
> predictable, and IME most databases are anything but.

We're talking about over the entire transaction space, and we can be
pretty liberal, in my view, with our estimates.  If we get it right, we
might risk doing more autovac's for wraparound than strictly necessary,
but they should happen over a sufficient time that it doesn't cause
performance issues.

One definite problem with this, of course, is that the wraparound
autovac can't be stopped and restarted, and anything that increases the
amount of wall-clock time required to complete the autovac will
necessairly increase the risk that we'll lose a bunch of work due to a
database restart.
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: We probably need autovacuum_max_wraparound_workers
Next
From: "Etsuro Fujita"
Date:
Subject: Re: [PATCH] Lazy hashaggregate when no aggregation is needed