Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B91C39F9BBF for ; Sat, 8 Sep 2007 13:39:56 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 01854-04 for ; Sat, 8 Sep 2007 13:39:54 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id EB9BE9F9BC5 for ; Sat, 8 Sep 2007 13:39:53 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l88Gdbx1024338; Sat, 8 Sep 2007 12:39:37 -0400 (EDT) To: "Joshua D. Drake" cc: Gregory Stark , Simon Riggs , Bernd Helmle , mfatticcioni@mbigroup.it, pgsql-performance@postgresql.org Subject: Re: DRBD and Postgres: how to improve the perfomance? In-reply-to: <46E2CAAF.50205@commandprompt.com> References: <2C070D1C3970467FF64F6B6A@imhotep.credativ.de> <1189232904.4281.19.camel@ebony.site> <87k5r1zd52.fsf@oxford.xeocode.com> <46E2CAAF.50205@commandprompt.com> Comments: In-reply-to "Joshua D. Drake" message dated "Sat, 08 Sep 2007 09:15:43 -0700" Date: Sat, 08 Sep 2007 12:39:37 -0400 Message-ID: <24337.1189269577@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/146 X-Sequence-Number: 26691 "Joshua D. Drake" writes: > Gregory Stark wrote: >> "Simon Riggs" writes: >>> You're right, but the distinction is a small one. What are the chances >>> of losing two independent servers within a few milliseconds of each >>> other? >> >> If they're on the same power bus? > That chance is minuscule or at least should be. It seems a bit silly to be doing replication to a slave server that has any common point of failure with the master. However, it seems like the point here is not so much "can you recover your data" as what a commit means. Do you want a commit reported to the client to mean the data is safely down to disk in both places, or only one? regards, tom lane