Re: Keycloak and Postgres

From: Marc Tempelmeier <marc(dot)tempelmeier(at)flane(dot)de>
To: Bill Moran <wmoran(at)potentialtech(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Keycloak and Postgres
Date: 2017-04-05 07:24:32
Message-ID: 2fdd5e1551f64d47bb175cc08bcd9a9e@dehamex2013.europe.flane.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Thanks for your answer!

Can you elaborate a bit on this part:
" Because of how Postgres caches changes, you may find that a failover requires some time in recovery mode."

Thanks!

-----Ursprüngliche Nachricht-----
Von: Bill Moran [mailto:wmoran(at)potentialtech(dot)com]
Gesendet: Saturday, April 1, 2017 12:57 PM
An: Marc Tempelmeier <marc(dot)tempelmeier(at)flane(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Betreff: Re: [GENERAL] Keycloak and Postgres

On Thu, 30 Mar 2017 13:58:36 +0000
Marc Tempelmeier <marc(dot)tempelmeier(at)flane(dot)de> wrote:

> Hi,
>
> I have a replication question, we have some big Cisco UCS VM thingy, where VMs are snapshotted, the drives are abstracted etc. If a VM crashes it will be resumed in 1 min from another rack. What brings us master slave replication or some other kind of replication in this setup? Should we do it because of other failures?

Because of how Postgres caches changes, you may find that a failover requires some time in recovery mode. Those VM snapshot systems are great, but they aren't quite perfect if they don't know what is being done with the data on the drives.

Whether it's good enough depends heavily on what your expectation is.
Before trusting it to meet your needs, I would spend some time simulating failures and seeing what actually happens.

--
Bill Moran <wmoran(at)potentialtech(dot)com>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Westermann 2017-04-05 07:28:03 Re: Query never completes with low work_mem (at least not within one hour)
Previous Message Pavel Stehule 2017-04-05 07:05:09 Re: Query never completes with low work_mem (at least not within one hour)