Re: [HACKERS] increasing the default WAL segment size - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] increasing the default WAL segment size
Date
Msg-id 6de5a341-6bec-35a6-e085-834c36fa58d6@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] increasing the default WAL segment size  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
On 3/23/17 21:47, Jeff Janes wrote:
> I have a pg_restore which predicts the file 5 files ahead of the one it
> was asked for, and initiates a pre-fetch and decompression of it. Then
> it delivers the file it was asked for, either by pulling it out of the
> pre-staging area set up by the N-5th invocation, or by going directly to
> the archive to get it.  This speeds up play-back dramatically when the
> files are stored compressed and non-local.

Yeah, some better support for prefetching would be necessary to avoid
having to have any knowledge of the file naming.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] increasing the default WAL segment size
Next
From: Thomas Munro
Date:
Subject: Re: [HACKERS] delta relations in AFTER triggers