On Mon, Feb 27, 2012 at 5:13 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Fri, Feb 24, 2012 at 5:35 AM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
>> On Thu, Feb 23, 2012 at 11:59 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>>> this doesn't feel like the right time to embark on a bunch of new
>>> engineering projects.
>> IMHO this is exactly the right time to do full system tuning. Only
>> when we have major projects committed can we move towards measuring
>> things and correcting deficiencies.
> Ideally we should measure things as we do them. Of course there will
> be cases that we fail to test which slip through the cracks, as Greg
> is now finding, and I agree we should try to fix any problems that we
> turn up during testing. But, as I said before, so far Greg hasn't
> turned up anything that can't be fixed by adjusting settings, so I
> don't see a compelling case for change on that basis.
That isn't the case. We have evidence that the current knobs are
hugely ineffective in some cases.
Turning the bgwriter off is hardly "adjusting a setting", its
admitting that there is no useful setting.
I've suggested changes that aren't possible by tuning the current knobs.
> As a side point, there's no obvious reason why the problems Greg is
> identifying here couldn't have been identified before committing the
> background writer/checkpointer split. The fact that we didn't find
> them then suggests to me that we need to be more not less cautious in
> making further changes in this area.
The split was essential to avoid the bgwriter action being forcibly
turned off during checkpoint sync. The fact that forcibly turning it
off is in some cases a benefit doesn't alter the fact that it was in
many cases a huge negative. If its on you can always turn it off, but
if it was not available at all there was no tuning option. I see no
negative aspect to the split.
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
In response to
pgsql-hackers by date
|Next:||From: Simon Riggs||Date: 2012-02-27 09:03:14|
|Subject: Re: CLOG contention, part 2|
|Previous:||From: Kyotaro HORIGUCHI||Date: 2012-02-27 08:20:30|
|Subject: Re: Speed dblink using alternate libpq tuple storage|