Re: Why we are going to have to go DirectIO - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Why we are going to have to go DirectIO
Date
Msg-id 20131211003444.GA2935@awork2.anarazel.de
Whole thread Raw
In response to Re: Why we are going to have to go DirectIO  (Claudio Freire <klaussfreire@gmail.com>)
List pgsql-hackers
On 2013-12-04 05:39:23 -0200, Claudio Freire wrote:
> Problem is, Postgres relies on a working kernel cache for checkpoints.
> Checkpoint logic would have to be heavily reworked to account for an
> impaired kernel cache.

I don't think checkpoints are the critical problem with that, they are
nicely in the background and we could easily add sorting.

Rather I think it would be the writeout of a dirty victim buffer when
acquiring a new buffer.

Greetings,

Andres Freund

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



pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: ANALYZE sampling is too good
Next
From: Robert Haas
Date:
Subject: Re: logical changeset generation v6.8