Re: Standalone synchronous master

Поиск
Список
Период
Сортировка
Искать
От
MauMau
Тема
Re: Standalone synchronous master
Дата
Msg-id
7C5B6172D080441F8FD8171800713398@maumau
Ответ на
Список
Дерево обсуждения
Standalone synchronous master Rajeev rastogi <rajeev.rastogi@huawei.com>
Re: Standalone synchronous master Heikki Linnakangas <hlinnakangas@vmware.com>
Re: Standalone synchronous master Andres Freund <andres@2ndquadrant.com>
Re: Standalone synchronous master Simon Riggs <simon@2ndQuadrant.com>
Re: Standalone synchronous master Bruce Momjian <bruce@momjian.us>
Re: Standalone synchronous master Hans-Jürgen Schönig <postgres@cybertec.at>
Re: Standalone synchronous master Heikki Linnakangas <hlinnakangas@vmware.com>
Re: Standalone synchronous master Bruce Momjian <bruce@momjian.us>
Re: Standalone synchronous master Kevin Grittner <kgrittn@ymail.com>
Re: Standalone synchronous master Tom Lane <tgl@sss.pgh.pa.us>
Re: Standalone synchronous master Simon Riggs <simon@2ndQuadrant.com>
Re: Standalone synchronous master Michael Paquier <michael.paquier@gmail.com>
Re: Standalone synchronous master Andres Freund <andres@2ndquadrant.com>
Re: Standalone synchronous master Kevin Grittner <kgrittn@ymail.com>
Re: Standalone synchronous master Heikki Linnakangas <hlinnakangas@vmware.com>
Re: Standalone synchronous master "Joshua D. Drake" <jd@commandprompt.com>
Re: Standalone synchronous master Tom Lane <tgl@sss.pgh.pa.us>
Re: Standalone synchronous master "Joshua D. Drake" <jd@commandprompt.com>
Re: Standalone synchronous master Tom Lane <tgl@sss.pgh.pa.us>
Re: Standalone synchronous master "Joshua D. Drake" <jd@commandprompt.com>
Re: Standalone synchronous master Hannu Krosing <hannu@2ndQuadrant.com>
Re: Standalone synchronous master Andres Freund <andres@2ndquadrant.com>
Re: Standalone synchronous master "Joshua D. Drake" <jd@commandprompt.com>
Re: Standalone synchronous master Andres Freund <andres@2ndquadrant.com>
Re: Standalone synchronous master Tom Lane <tgl@sss.pgh.pa.us>
Re: Standalone synchronous master Stephen Frost <sfrost@snowman.net>
Re: Standalone synchronous master Peter Eisentraut <peter_e@gmx.net>
Re: Standalone synchronous master Andres Freund <andres@2ndquadrant.com>
Re: Standalone synchronous master Stephen Frost <sfrost@snowman.net>
Re: Standalone synchronous master Tom Lane <tgl@sss.pgh.pa.us>
Re: Standalone synchronous master Hannu Krosing <hannu@2ndQuadrant.com>
Re: Standalone synchronous master Jeff Janes <jeff.janes@gmail.com>
Re: Standalone synchronous master "Joshua D. Drake" <jd@commandprompt.com>
Re: Standalone synchronous master Andres Freund <andres@2ndquadrant.com>
Re: Standalone synchronous master "MauMau" <maumau307@gmail.com>
Re: Standalone synchronous master Hannu Krosing <hannu@2ndQuadrant.com>
Re: Standalone synchronous master "MauMau" <maumau307@gmail.com>
Re: Standalone synchronous master Hannu Krosing <hannu@2ndQuadrant.com>
Re: Standalone synchronous master Bruce Momjian <bruce@momjian.us>
Re: Standalone synchronous master Amit Kapila <amit.kapila16@gmail.com>
Re: Standalone synchronous master Bruce Momjian <bruce@momjian.us>
Re: Standalone synchronous master "Joshua D. Drake" <jd@commandprompt.com>
Re: Standalone synchronous master Andres Freund <andres@2ndquadrant.com>
Re: Standalone synchronous master Stephen Frost <sfrost@snowman.net>
Re: Standalone synchronous master Andres Freund <andres@2ndquadrant.com>
Re: Standalone synchronous master Stephen Frost <sfrost@snowman.net>
Re: Standalone synchronous master Andres Freund <andres@2ndquadrant.com>
Re: Standalone synchronous master Stephen Frost <sfrost@snowman.net>
Re: Standalone synchronous master "Joshua D. Drake" <jd@commandprompt.com>
Re: Standalone synchronous master Hannu Krosing <hannu@2ndQuadrant.com>
Re: Standalone synchronous master "Joshua D. Drake" <jd@commandprompt.com>
Re: Standalone synchronous master Andres Freund <andres@2ndquadrant.com>
Re: Standalone synchronous master Adrian Klaver <adrian.klaver@gmail.com>
Re: Standalone synchronous master "Joshua D. Drake" <jd@commandprompt.com>
Re: Standalone synchronous master Andres Freund <andres@2ndquadrant.com>
Re: Standalone synchronous master "Joshua D. Drake" <jd@commandprompt.com>
Re: Standalone synchronous master Jeff Janes <jeff.janes@gmail.com>
Re: Standalone synchronous master Jim Nasby <jim@nasby.net>
Re: Standalone synchronous master Simon Riggs <simon@2ndQuadrant.com>
Re: Standalone synchronous master Hannu Krosing <hannu@2ndQuadrant.com>
Re: Standalone synchronous master Amit Kapila <amit.kapila16@gmail.com>
Re: Standalone synchronous master Bruce Momjian <bruce@momjian.us>
Re: Standalone synchronous master Amit Kapila <amit.kapila16@gmail.com>
Re: Standalone synchronous master Jeff Janes <jeff.janes@gmail.com>
Re: Standalone synchronous master Amit Kapila <amit.kapila16@gmail.com>
Re: Standalone synchronous master Rajeev rastogi <rajeev.rastogi@huawei.com>
From: "Andres Freund" 
> On 2014-01-08 14:42:37 -0800, Joshua D. Drake wrote:
>> If we have the following:
>>
>> db0->db1:down
>>
>> Using the model (as I understand it) that is being discussed we have
>> increased our failure rate because the moment db1:down we also lose db0. 
>> The
>> node db0 may be up but if it isn't going to process transactions it is
>> useless. I can tell you that I have exactly 0 customers that would want 
>> that
>> model because a single node failure would cause a double node failure.
>
> That's why you should configure a second standby as another (candidate)
> synchronous replica, also listed in synchronous_standby_names.

Let me ask a (probably) stupid question.  How is the sync rep different from 
RAID-1?

When I first saw sync rep, I expected that it would provide the same 
guarantees as RAID-1 in terms of durability (data is always mirrored on two 
servers) and availability (if one server goes down, another server continues 
full service).

The cost is reasonable with RAID-1.  The sync rep requires high cost to get 
both durability and availability --- three servers.

Am I expecting too much?


Regards
MauMau



В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
От: Robert Haas
Дата:
FAQ