Re: Standalone synchronous master
От
Stephen Frost
Тема
Re: Standalone synchronous master
Дата
Msg-id
20140110220208.GX2686@tamriel.snowman.net
Ответ на
Re: Standalone synchronous master (Andres Freund)
Список
Дерево обсуждения
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>
* Andres Freund (andres@2ndquadrant.com) wrote: > On 2014-01-10 10:59:23 -0800, Joshua D. Drake wrote: > > If a synchronous slave goes down, the master continues to operate. That is > > all. I don't care if it is configurable (I would be fine with that). I don't > > care if it is not automatic (e.g; slave goes down and we have to tell the > > master to continue). > > Would you please explain, as precise as possible, what the advantages of > using a synchronous standby would be in such a scenario? In a degraded/failure state, things continue to *work*. In a non-degraded/failure state, you're able to handle a system failure and know that you didn't lose any transactions. Tom's point is correct, that you will fail on the "have two copies of everything" in this mode, but that could certainly be acceptable in the case where there is a system failure. As pointed out by someone previously, that's how RAID-1 works (which I imagine quite a few of us use). I've been thinking about this a fair bit and I've come to like the RAID1 analogy. Stinks that we can't keep things going (automatically) if either side fails, but perhaps we will one day... Thanks, Stephen
В списке pgsql-hackers по дате отправления