pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
RE: EXTERNAL: Re: Netapp SnapCenter
11+ messages / 5 participants
[nested] [flat]

* RE: EXTERNAL: Re: Netapp SnapCenter
@ 2020-06-25 15:15  Wolff, Ken L <ken.l.wolff@lmco.com>
  0 siblings, 1 reply; 11+ messages in thread

From: Wolff, Ken L @ 2020-06-25 15:15 UTC (permalink / raw)
  To: Paul Förster <paul.foerster@gmail.com>; +Cc: Stephen Frost <sfrost@snowman.net>; Magnus Hagander <magnus@hagander.net>; pgsql-general

>> On 23. Jun, 2020, at 22:59, Wolff, Ken L <ken.l.wolff@lmco.com> wrote:
>> 
>> https://www.netapp.com/us/media/tr-4770.pdf 

> I will check this out. Thank you very much.


There's actually a lot of good stuff in that document about Postgres in general.  I'd be curious to hear what everyone thinks, though, and specifically about what NetApp recommends in Section 3.3 about putting data and WAL on separate volumes, which I believe contradicts what's been discussed in this email thread.






^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: EXTERNAL: Re: Netapp SnapCenter
@ 2020-06-25 15:23  Paul Förster <paul.foerster@gmail.com>
  parent: Wolff, Ken L <ken.l.wolff@lmco.com>
  0 siblings, 2 replies; 11+ messages in thread

From: Paul Förster @ 2020-06-25 15:23 UTC (permalink / raw)
  To: Wolff, Ken L <ken.l.wolff@lmco.com>; +Cc: Stephen Frost <sfrost@snowman.net>; Magnus Hagander <magnus@hagander.net>; pgsql-general

Hi Ken,

> On 25. Jun, 2020, at 17:15, Wolff, Ken L <ken.l.wolff@lmco.com> wrote:
> There's actually a lot of good stuff in that document about Postgres in general.  I'd be curious to hear what everyone thinks, though, and specifically about what NetApp recommends in Section 3.3 about putting data and WAL on separate volumes, which I believe contradicts what's been discussed in this email thread.

yes, I've read the part about different volumes and I must say, I don't agree because I think it violates atomicity.

Archived WAL is another thing, but PGDATA and pg_wal should IMHO always be located on the same volume, along with tablespaces, if any.

Cheers,
Paul




^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: EXTERNAL: Re: Netapp SnapCenter
@ 2020-06-25 15:32  David G. Johnston <david.g.johnston@gmail.com>
  parent: Paul Förster <paul.foerster@gmail.com>
  1 sibling, 0 replies; 11+ messages in thread

From: David G. Johnston @ 2020-06-25 15:32 UTC (permalink / raw)
  To: Paul Förster <paul.foerster@gmail.com>; +Cc: Wolff, Ken L <ken.l.wolff@lmco.com>; Stephen Frost <sfrost@snowman.net>; Magnus Hagander <magnus@hagander.net>; pgsql-general

On Thu, Jun 25, 2020 at 8:24 AM Paul Förster <paul.foerster@gmail.com>
wrote:

> Archived WAL is another thing, but PGDATA and pg_wal should IMHO always be
> located on the same volume, along with tablespaces, if any.
>

My understanding that having such a setup (single volume) eases
administration at the cost of performance.  It is perfectly acceptable to
favor the performance benefits, you just need to ensure that your
administration of the server is robust enough to handle it properly.  It
sounds like this product, though, doesn't provide the correct depth of
administration while recommending the performance weighted setup.

David J.

^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: EXTERNAL: Re: Netapp SnapCenter
@ 2020-06-26 10:29  Magnus Hagander <magnus@hagander.net>
  parent: Paul Förster <paul.foerster@gmail.com>
  1 sibling, 1 reply; 11+ messages in thread

From: Magnus Hagander @ 2020-06-26 10:29 UTC (permalink / raw)
  To: Paul Förster <paul.foerster@gmail.com>; +Cc: Wolff, Ken L <ken.l.wolff@lmco.com>; Stephen Frost <sfrost@snowman.net>; pgsql-general

On Thu, Jun 25, 2020 at 5:23 PM Paul Förster <paul.foerster@gmail.com>
wrote:

> Hi Ken,
>
> > On 25. Jun, 2020, at 17:15, Wolff, Ken L <ken.l.wolff@lmco.com> wrote:
> > There's actually a lot of good stuff in that document about Postgres in
> general.  I'd be curious to hear what everyone thinks, though, and
> specifically about what NetApp recommends in Section 3.3 about putting data
> and WAL on separate volumes, which I believe contradicts what's been
> discussed in this email thread.
>
> yes, I've read the part about different volumes and I must say, I don't
> agree because I think it violates atomicity.
>

I believe NetApp does atomic snapshots across multiple volumes, if you have
them in the same consistency group. (If you don't then you're definitely in
for a world of pain if you ever have to restore)

Snapshotting multiple volumes in a consistency group will set up a write
fence across them, then snapshot, and AIUI guarantees correct write
ordering.

-- 
 Magnus Hagander
 Me: https://www.hagander.net/ <http://www.hagander.net/;
 Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/;

^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: EXTERNAL: Re: Netapp SnapCenter
@ 2020-06-26 12:36  Paul Förster <paul.foerster@gmail.com>
  parent: Magnus Hagander <magnus@hagander.net>
  0 siblings, 1 reply; 11+ messages in thread

From: Paul Förster @ 2020-06-26 12:36 UTC (permalink / raw)
  To: Magnus Hagander <magnus@hagander.net>; +Cc: Wolff, Ken L <ken.l.wolff@lmco.com>; Stephen Frost <sfrost@snowman.net>; pgsql-general

Hi Magnus,

> On 26. Jun, 2020, at 12:29, Magnus Hagander <magnus@hagander.net> wrote:
> I believe NetApp does atomic snapshots across multiple volumes, if you have them in the same consistency group. (If you don't then you're definitely in for a world of pain if you ever have to restore)
> 
> Snapshotting multiple volumes in a consistency group will set up a write fence across them, then snapshot, and AIUI guarantees correct write ordering.

That's how I understood it too. But it will be difficult in our complex storage world to get the storage guys to create a consistency group.

Also, what I'm looking for is a plugin that allows to, how Netapp call it, "quiece" the PostgreSQL cluster, i.e. does start/stop backup.

I don't really trust the community plugin as it is so old and I'm not sure it gets any more development attention. For example, what about the API change (exclusive vs. non-exclusive)? Does it use the new API?

Cheers,
Paul




^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: EXTERNAL: Re: Netapp SnapCenter
@ 2020-06-29 13:32  Stephen Frost <sfrost@snowman.net>
  parent: Paul Förster <paul.foerster@gmail.com>
  0 siblings, 1 reply; 11+ messages in thread

From: Stephen Frost @ 2020-06-29 13:32 UTC (permalink / raw)
  To: Paul Förster <paul.foerster@gmail.com>; +Cc: Magnus Hagander <magnus@hagander.net>; Wolff, Ken L <ken.l.wolff@lmco.com>; pgsql-general

Greetings,

* Paul Förster (paul.foerster@gmail.com) wrote:
> > On 26. Jun, 2020, at 12:29, Magnus Hagander <magnus@hagander.net> wrote:
> > I believe NetApp does atomic snapshots across multiple volumes, if you have them in the same consistency group. (If you don't then you're definitely in for a world of pain if you ever have to restore)
> > 
> > Snapshotting multiple volumes in a consistency group will set up a write fence across them, then snapshot, and AIUI guarantees correct write ordering.
> 
> That's how I understood it too. But it will be difficult in our complex storage world to get the storage guys to create a consistency group.
> 
> Also, what I'm looking for is a plugin that allows to, how Netapp call it, "quiece" the PostgreSQL cluster, i.e. does start/stop backup.

Presumably they mean 'quiesce', except that that *isn't* what PG's
start/stop backup calls do, and assuming that's what happens is quite
wrong and could lead to issues.

The PG start/stop backup calls do things like wait for a checkpoint to
happen and track when that checkpoint was and return that info along
with whatever the stopping point of the backup is- so that you can make
sure that you have all of the WAL between those two points, and so you
can create the backup_label file that's needed to indicate on restore
that you're restoring from a backup and not just doing crash recovery.

If it isn't an atomic snapshot across everything then start/stop calls
have to be done as well as all that other fun stuff.

> I don't really trust the community plugin as it is so old and I'm not sure it gets any more development attention. For example, what about the API change (exclusive vs. non-exclusive)? Does it use the new API?

No clue.

Thanks,

Stephen

Attachments:

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

^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: EXTERNAL: Re: Netapp SnapCenter
@ 2020-06-29 13:59  Paul Förster <paul.foerster@gmail.com>
  parent: Stephen Frost <sfrost@snowman.net>
  0 siblings, 1 reply; 11+ messages in thread

From: Paul Förster @ 2020-06-29 13:59 UTC (permalink / raw)
  To: Stephen Frost <sfrost@snowman.net>; +Cc: Magnus Hagander <magnus@hagander.net>; Wolff, Ken L <ken.l.wolff@lmco.com>; pgsql-general

Hi Stephen,

> On 29. Jun, 2020, at 15:32, Stephen Frost <sfrost@snowman.net> wrote:
> 
> Presumably they mean 'quiesce', except that that *isn't* what PG's

yes, sorry, "quiece" was a typo on my part. I never fully understood what they mean with "quiesce" anyway. But then, I'm not the storage specialist in out company anyway.

> start/stop backup calls do, and assuming that's what happens is quite
> wrong and could lead to issues.
> 
> The PG start/stop backup calls do things like wait for a checkpoint to
> happen and track when that checkpoint was and return that info along
> with whatever the stopping point of the backup is- so that you can make
> sure that you have all of the WAL between those two points, and so you
> can create the backup_label file that's needed to indicate on restore
> that you're restoring from a backup and not just doing crash recovery.
> 
> If it isn't an atomic snapshot across everything then start/stop calls
> have to be done as well as all that other fun stuff.

that's exactly why I want control over pg_start_backup() and pg_stop_backup(). It may be in the form of pre- and post-scripts, but I want control over it. I just can't seem to build trust in a plugin that saw the last release two years ago and which I can't even find out if it would allow PITRs, works with the new API and such things.

I may be wrong here, but my gut feeling about this is just not good for some reason.

Cheers,
Paul




^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: EXTERNAL: Re: Netapp SnapCenter
@ 2020-06-29 14:43  Stephen Frost <sfrost@snowman.net>
  parent: Paul Förster <paul.foerster@gmail.com>
  0 siblings, 1 reply; 11+ messages in thread

From: Stephen Frost @ 2020-06-29 14:43 UTC (permalink / raw)
  To: Paul Förster <paul.foerster@gmail.com>; +Cc: Magnus Hagander <magnus@hagander.net>; Wolff, Ken L <ken.l.wolff@lmco.com>; pgsql-general

Greetings,

* Paul Förster (paul.foerster@gmail.com) wrote:
> > On 29. Jun, 2020, at 15:32, Stephen Frost <sfrost@snowman.net> wrote:
> > 
> > Presumably they mean 'quiesce', except that that *isn't* what PG's
> 
> yes, sorry, "quiece" was a typo on my part. I never fully understood what they mean with "quiesce" anyway. But then, I'm not the storage specialist in out company anyway.

On some database platforms it basically means "stop writing", in order
to allow a backup to be taken, but that's not what happens on PG and any
documentation about using PG's start/stop definitely shouldn't be
talking about quiescing the database.

> > start/stop backup calls do, and assuming that's what happens is quite
> > wrong and could lead to issues.
> > 
> > The PG start/stop backup calls do things like wait for a checkpoint to
> > happen and track when that checkpoint was and return that info along
> > with whatever the stopping point of the backup is- so that you can make
> > sure that you have all of the WAL between those two points, and so you
> > can create the backup_label file that's needed to indicate on restore
> > that you're restoring from a backup and not just doing crash recovery.
> > 
> > If it isn't an atomic snapshot across everything then start/stop calls
> > have to be done as well as all that other fun stuff.
> 
> that's exactly why I want control over pg_start_backup() and pg_stop_backup(). It may be in the form of pre- and post-scripts, but I want control over it. I just can't seem to build trust in a plugin that saw the last release two years ago and which I can't even find out if it would allow PITRs, works with the new API and such things.

I certainly don't blame you, particularly given all the changes
regarding how restore is done which went into v12- obviously anything
that hasn't been updated since before v12 was released isn't going to
work with those changes.

Thanks,

Stephen

Attachments:

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

^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: EXTERNAL: Re: Netapp SnapCenter
@ 2020-06-29 15:18  Paul Förster <paul.foerster@gmail.com>
  parent: Stephen Frost <sfrost@snowman.net>
  0 siblings, 1 reply; 11+ messages in thread

From: Paul Förster @ 2020-06-29 15:18 UTC (permalink / raw)
  To: Stephen Frost <sfrost@snowman.net>; +Cc: Magnus Hagander <magnus@hagander.net>; Wolff, Ken L <ken.l.wolff@lmco.com>; pgsql-general

Hi Stephen,

> On 29. Jun, 2020, at 16:43, Stephen Frost <sfrost@snowman.net> wrote:
> 
> On some database platforms it basically means "stop writing", in order
> to allow a backup to be taken, but that's not what happens on PG and any
> documentation about using PG's start/stop definitely shouldn't be
> talking about quiescing the database.

ah, so it's more like freezing. Thanks.

> I certainly don't blame you, particularly given all the changes
> regarding how restore is done which went into v12- obviously anything
> that hasn't been updated since before v12 was released isn't going to
> work with those changes.

we have 11.6 and 12.3. 11.6 because we (unfortunately) have to use Qlik (formerly Attunity). And no, that again wasn't my decision. Databases which are involved in Qlik replication can't be updated (yet) according to our Qlik specialist. I had a big argument with him when I updated even from 11.5 to 11.6. This means I can't even update to 11.8.

Cheers,
Paul




^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: EXTERNAL: Re: Netapp SnapCenter
@ 2020-06-29 15:29  Stephen Frost <sfrost@snowman.net>
  parent: Paul Förster <paul.foerster@gmail.com>
  0 siblings, 1 reply; 11+ messages in thread

From: Stephen Frost @ 2020-06-29 15:29 UTC (permalink / raw)
  To: Paul Förster <paul.foerster@gmail.com>; +Cc: Magnus Hagander <magnus@hagander.net>; Wolff, Ken L <ken.l.wolff@lmco.com>; pgsql-general

Greetings,

* Paul Förster (paul.foerster@gmail.com) wrote:
> > On 29. Jun, 2020, at 16:43, Stephen Frost <sfrost@snowman.net> wrote:
> > I certainly don't blame you, particularly given all the changes
> > regarding how restore is done which went into v12- obviously anything
> > that hasn't been updated since before v12 was released isn't going to
> > work with those changes.
> 
> we have 11.6 and 12.3. 11.6 because we (unfortunately) have to use Qlik (formerly Attunity). And no, that again wasn't my decision. Databases which are involved in Qlik replication can't be updated (yet) according to our Qlik specialist. I had a big argument with him when I updated even from 11.5 to 11.6. This means I can't even update to 11.8.

I typically recommend rather strongly against using anything that won't
allow you to update to keep pace with PG minor versions, considering
they include critical security and corruption fixes (in some cases, but
even if they don't, they're important to install).

Time to consider an alternative product, imv.

Thanks,

Stephen

Attachments:

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

^ permalink  raw  reply  [nested|flat] 11+ messages in thread

* Re: EXTERNAL: Re: Netapp SnapCenter
@ 2020-06-29 15:34  Paul Förster <paul.foerster@gmail.com>
  parent: Stephen Frost <sfrost@snowman.net>
  0 siblings, 0 replies; 11+ messages in thread

From: Paul Förster @ 2020-06-29 15:34 UTC (permalink / raw)
  To: Stephen Frost <sfrost@snowman.net>; +Cc: Magnus Hagander <magnus@hagander.net>; Wolff, Ken L <ken.l.wolff@lmco.com>; pgsql-general

Hi Stephen,

> On 29. Jun, 2020, at 17:29, Stephen Frost <sfrost@snowman.net> wrote:
> 
> I typically recommend rather strongly against using anything that won't
> allow you to update to keep pace with PG minor versions, considering
> they include critical security and corruption fixes (in some cases, but
> even if they don't, they're important to install).

I know and I totally agree.

> Time to consider an alternative product, imv.

again, I absolutely agree. I told them so but I can't influence that. So I'm basically stuck with the versions we have for all databases which are involved in Qlik replications. All others I can upgrade at will, and I do so. :-)

Cheers,
Paul




^ permalink  raw  reply  [nested|flat] 11+ messages in thread


end of thread, other threads:[~2020-06-29 15:34 UTC | newest]

Thread overview: 11+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-06-25 15:15 RE: EXTERNAL: Re: Netapp SnapCenter Wolff, Ken L <ken.l.wolff@lmco.com>
2020-06-25 15:23 ` Paul Förster <paul.foerster@gmail.com>
2020-06-25 15:32   ` David G. Johnston <david.g.johnston@gmail.com>
2020-06-26 10:29   ` Magnus Hagander <magnus@hagander.net>
2020-06-26 12:36     ` Paul Förster <paul.foerster@gmail.com>
2020-06-29 13:32       ` Stephen Frost <sfrost@snowman.net>
2020-06-29 13:59         ` Paul Förster <paul.foerster@gmail.com>
2020-06-29 14:43           ` Stephen Frost <sfrost@snowman.net>
2020-06-29 15:18             ` Paul Förster <paul.foerster@gmail.com>
2020-06-29 15:29               ` Stephen Frost <sfrost@snowman.net>
2020-06-29 15:34                 ` Paul Förster <paul.foerster@gmail.com>

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