Re: Turning off HOT/Cleanup sometimes - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Turning off HOT/Cleanup sometimes
Date
Msg-id 20140109213455.GD19084@awork2.anarazel.de
Whole thread Raw
In response to Re: Turning off HOT/Cleanup sometimes  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 2014-01-09 16:27:23 -0500, Robert Haas wrote:
> People *think* they don't like that, because that's the way it works
> right now.  If it worked some other way, there's a good chance people
> would be complaining about that behavior, too.

I think on of the primary reason why it's causing huge slowdowns is that
the ring buffer of scan strategies causes dirty buffer writes pretty
much immediately, when a buffer is reused.

Not that delaying the writeout would work all that effectively right
now, with the current bgwriter...

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: Standalone synchronous master
Next
From: Steeve Lennmark
Date:
Subject: Re: [PATCH] Relocation of tablespaces in pg_basebackup