X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (mx2.hub.org [200.46.204.254]) by postgresql.org (Postfix) with ESMTP id 5A1F411F66D5 for ; Thu, 20 Apr 2006 22:42:47 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: -2.094 X-Spam-Level: X-Spam-Status: No, score=-2.094 required=5 tests=[AWL=-0.215, BAYES_00=-2.599, SARE_SPEC_REPLICA=0.72] Received: from postgresql.org ([200.46.204.71]) by localhost (mx2.hub.org [200.46.204.254]) (amavisd-new, port 10024) with ESMTP id 1D-dmHpWYvpC for ; Thu, 20 Apr 2006 22:42:46 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 8BE6D11F66CA for ; Thu, 20 Apr 2006 22:42:43 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id A654456423; Thu, 20 Apr 2006 20:42:44 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Thu, 20 Apr 2006 20:42:44 -0500 Date: Thu, 20 Apr 2006 20:42:43 -0500 From: "Jim C. Nasby" To: Pierre LEBRECH Cc: "Joshua D. Drake" , pgsql-admin@postgresql.org Subject: Re: Slony1 or DRBD for replication ? Message-ID: <20060421014243.GR49405@pervasive.com> References: <443F9BF3.4060101@laposte.net> <1145028323.5597.1.camel@localhost.localdomain> <443FDF05.4060600@laposte.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <443FDF05.4060600@laposte.net> X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060421:pierre.lebrech@laposte.net::FHYCgaOFsUMM3LsS:00000000000 0000000000000000000000003/Jv X-Hashcash: 1:20:060421:jd@commandprompt.com::lajK6qsCMvOeIH7O:00000000000000000 0000000000000000000000001+L5 X-Hashcash: 1:20:060421:pgsql-admin@postgresql.org::tg4wJ9yMcVJdVEmX:00000000000 0000000000000000000000002hVz X-Archive-Number: 200604/207 X-Sequence-Number: 21376 On Fri, Apr 14, 2006 at 07:42:29PM +0200, Pierre LEBRECH wrote: > The second location should be used in case of emergency. So, if my first > machine/system becomes unreachable for whatever reason, I want to be > able to switch very quickly to the other machine. Of course, the goal is > to have no loss of data. That is the context. > > Furthermore, I have experience with DRBD (not on databases) and I do not > know if DRBD would be the best way to solve this replication problem. > > Thanks for any suggestions and explanations. > > PS : my database is actualy in production in a critical environment I believe that Continuent currently has the only no-loss (ie: syncronous) replication solution. DRBD might allow for this as well, if it can be setup to not return from fsync until the data's been replicated. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461