Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 54F781336FA7 for ; Sun, 2 Jan 2011 13:43:22 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 20470-04; Sun, 2 Jan 2011 17:43:15 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail149084.authsmtp.net (outmail149084.authsmtp.net [62.13.149.84]) by mail.postgresql.org (Postfix) with ESMTP id CD159133655C; Sun, 2 Jan 2011 13:43:14 -0400 (AST) Received: from mail-c194.authsmtp.com (mail-c194.authsmtp.com [62.13.128.121]) by punt8.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id p02Hh4BU051128; Sun, 2 Jan 2011 17:43:04 GMT Received: from [192.168.0.2] ([81.5.146.37]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2) with ESMTP id p02Hh3t3033101; Sun, 2 Jan 2011 17:43:03 GMT Subject: Re: Sync Rep Design From: Simon Riggs To: Kevin Grittner Cc: greg@2ndquadrant.com, hannu@2ndquadrant.com, heikki.linnakangas@enterprisedb.com, robertmhaas@gmail.com, stefan@kaltenbrunner.cc, josh@postgresql.org, pgsql-hackers@postgresql.org In-Reply-To: <4D205D650200002500038EDC@gw.wicourts.gov> References: <4D205D650200002500038EDC@gw.wicourts.gov> Content-Type: text/plain; charset="UTF-8" Date: Sun, 02 Jan 2011 17:43:02 +0000 Message-ID: <1293990182.2090.1914.camel@ebony> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-Server-Quench: c0301d4c-1697-11e0-80b9-0022640b883e X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZOTQEd DAteCiN5VAwpPBRK HVkIKg5MJUcNSQVJ NksafhtFaAdbZ1hf HGQLWlVEUVp7XWB/ aw4fZQRDZ1RPWwN0 U09WR1pVCwUmQRwD fkYdFhpydAZHeH8+ ZEJrWHgVD0R5dUcp Rh1JFGsPYnphaTUf TUhYJQpJcANIfBlB agJ3XHBYLwdSbGoL PyYYHB0LBgAXEzVT SUk3IEpabUsQHzE6 L7NQ X-Authentic-SMTP: 61633235383639.1015:706 X-AuthFastPath: 0 (Was 255) X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201101/82 X-Sequence-Number: 177919 On Sun, 2011-01-02 at 11:11 -0600, Kevin Grittner wrote: > Simon Riggs wrote: > > > Do you agree that requiring response from 2 sync standbys, or > > locking up, gives us 94% server availability, but 99.9992% data > > durability? > > I'm not sure how to answer that. The calculations so far have been > based around up-time and the probabilities that you have a machine up > at any moment and whether you can have confidence that if you do, you > have all committed transactions represented. There's been an implied > assumption that the down time is unplanned, but not much else. The > above question seems to me to get into too many implied assumptions > to feel safe throwing out a number without pinning those down a whole > lot better. If, for example, that 2% downtime always means the > machine irretrievably went up in smoke, hitting unavailable means > things are unrecoverable. That's probably not the best assumption > (at least outside of a combat zone), but what is? Not really relevant. There's no room at all for downtime of any kind in a situation where all servers must be available. -- Simon Riggs http://www.2ndQuadrant.com/books/ PostgreSQL Development, 24x7 Support, Training and Services