From: Stephen Frost <sfrost@snowman.net>
To: Ghislain ROUVIGNAC <ghr@sylob.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Portworx snapshots
Date: Sun, 28 Oct 2018 11:35:35 -0400
Message-ID: <20181028153535.GO4184@tamriel.snowman.net> (raw)
In-Reply-To: <CAH12p1CNxXSt2X0157CqqD20zvv3XEOLdbUvuqNnq0ZvyPY5NA@mail.gmail.com>
References: <CAH12p1CNxXSt2X0157CqqD20zvv3XEOLdbUvuqNnq0ZvyPY5NA@mail.gmail.com>
Greetings,
* Ghislain ROUVIGNAC (ghr@sylob.com) wrote:
> Portworx says that on a running PostgreSQL it can:
>
> - replicate volumes for failover
> - take snapshots of volumes
> - backup volumes
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.
This is why PostgreSQL has streaming replication, where we are
constantly sending WAL to the replica and replaying it immediately, and
that also allows us to have synchronous replication that is quorum based
and works with PostgreSQL, unlike what a snapshot level system would
provide.
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.
> Does someone use them in production ?
> How reliable are these features ?
> Are there performance impacts of snapshots ?
I don't know anything about the actual utilization of this in production
or if this implementation is reliable, just to be clear. My comments
specifically are about the performance of using a snapshot-based
approach (which could be this solution or various other ones).
Thanks!
Stephen
Attachments:
signature.asc (application/pgp-signature, 818B) download
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: sfrost@snowman.net, ghr@sylob.com
Subject: Re: Portworx snapshots
In-Reply-To: <20181028153535.GO4184@tamriel.snowman.net>
References: <CAH12p1CNxXSt2X0157CqqD20zvv3XEOLdbUvuqNnq0ZvyPY5NA@mail.gmail.com> <20181028153535.GO4184@tamriel.snowman.net>
* 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