pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Stephen Frost <sfrost@snowman.net>
To: Ghislain ROUVIGNAC <ghr@sylob.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Portworx snapshots
Date: Mon, 29 Oct 2018 08:49:43 +0100
Message-ID: <86bd6d8e5019bd5f48a44c769f011613a1728f23.camel@cybertec.at> (raw)
In-Reply-To: <20181028153535.GO4184@tamriel.snowman.net>
References: <CAH12p1CNxXSt2X0157CqqD20zvv3XEOLdbUvuqNnq0ZvyPY5NA@mail.gmail.com>
	<20181028153535.GO4184@tamriel.snowman.net>

Stephen Frost wrote:
> The downside with any snapshot-style approach is that it means that when
> you have a failure, you have to go through and replay all the WAL since
> the last checkpoint, which is single-threaded and can take a large
> amount of time.
> 
> When doing your testing, I'd strongly recommend that you have a large
> max_wal_size, run a large pgbench which writes a lot of data, and see
> how long a failover takes with this system.

Then "checkpoint_timeout" should also be large, right?

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com





view thread (6+ messages)  latest in thread

Message-ID: <86bd6d8e5019bd5f48a44c769f011613a1728f23.camel@cybertec.at>
Permalink:  ../86bd6d8e5019bd5f48a44c769f011613a1728f23.camel@cybertec.at/
Also on:    postgresql.org/message-id/86bd6d8e5019bd5f48a44c769f011613a1728f23.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, sfrost@snowman.net, ghr@sylob.com
  Subject: Re: Portworx snapshots
  In-Reply-To: <86bd6d8e5019bd5f48a44c769f011613a1728f23.camel@cybertec.at>
  References: <CAH12p1CNxXSt2X0157CqqD20zvv3XEOLdbUvuqNnq0ZvyPY5NA@mail.gmail.com> <20181028153535.GO4184@tamriel.snowman.net> <86bd6d8e5019bd5f48a44c769f011613a1728f23.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox