Re: Initializing initFileRelationIds list via write is unsafe - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Initializing initFileRelationIds list via write is unsafe
Date
Msg-id CA+TgmoaYUBsq_AHapow2HhqjQFXbAO2SpLCLMm=b5+SfLBb2pA@mail.gmail.com
Whole thread Raw
In response to Re: Initializing initFileRelationIds list via write is unsafe  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sat, Jun 6, 2015 at 11:51 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> This suggests that CLOBBER_CACHE_ALWAYS is actually missing a pretty
> large part of the cache behavioral space.  Maybe we should devise some
> sort of "CLOBBER_CACHE_RANDOMLY" option that would inject cache flush
> events more selectively, perhaps only once every thousand opportunities
> or so.  And perhaps not only full cache reset events, though I confess
> to not being sure what that ought to look like.

It should probably be done pseudo-randomly, but otherwise, +1.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Map basebackup tablespaces using a tablespace_map file
Next
From: Claudio Freire
Date:
Subject: Re: [CORE] Restore-reliability mode