pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Ghislain ROUVIGNAC <ghr@sylob.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Portworx snapshots
Date: Tue, 30 Oct 2018 11:26:27 -0400
Message-ID: <20181030152627.GR4184@tamriel.snowman.net> (raw)
In-Reply-To: <CAH12p1CR2oPCX02udQ=mQ6y4xwqj3C2fD-cy0tJ_LkSj+MrChA@mail.gmail.com>
References: <CAH12p1CNxXSt2X0157CqqD20zvv3XEOLdbUvuqNnq0ZvyPY5NA@mail.gmail.com>
	<20181028153535.GO4184@tamriel.snowman.net>
	<CAH12p1CR2oPCX02udQ=mQ6y4xwqj3C2fD-cy0tJ_LkSj+MrChA@mail.gmail.com>

Greetings,

* Ghislain ROUVIGNAC (ghr@sylob.com) wrote:
> Our application don't write lot of data, so i don't think the time taken on
> replaying the WAL will be an issue for us.

That certainly makes things simpler.

Then again, if you are not writing a lot of data then you might consider
using synchronous replication with PostgreSQL if you want to have a
durability guarantee which is across multiple otherwise independent
systems.  You can then also combine that with a proper backup solution
(please, do not try and build your own) and WAL archiving and be able to
perform PITR (point-in-time-recovery), which snapshots don't give you.

> For reliability, as you said, i was thinking in running a large pgbench
> which writes a lot of data, while taking snapshots.
> Then my idea was to restart from snapshots and see if everything works as
> expected.

Sure, testing is good and should be done regardless of what solution you
employ.

> I thought that based on the feedback from the community, maybe i wouldn't
> need to run these tests.

You should always run your own tests, and do them regularly, including
testing things like "am I able to restore this backup?", "am I able to
fail over to this other server?", etc.

Thanks!

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (6+ messages)

Message-ID: <20181030152627.GR4184@tamriel.snowman.net>
Permalink:  ../20181030152627.GR4184@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20181030152627.GR4184@tamriel.snowman.net

 · 

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: sfrost@snowman.net, ghr@sylob.com
  Subject: Re: Portworx snapshots
  In-Reply-To: <20181030152627.GR4184@tamriel.snowman.net>
  References: <CAH12p1CNxXSt2X0157CqqD20zvv3XEOLdbUvuqNnq0ZvyPY5NA@mail.gmail.com> <20181028153535.GO4184@tamriel.snowman.net> <CAH12p1CR2oPCX02udQ=mQ6y4xwqj3C2fD-cy0tJ_LkSj+MrChA@mail.gmail.com> <20181030152627.GR4184@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