Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 7B11E64FD04 for ; Thu, 11 Sep 2008 19:32:43 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 33541-08 for ; Thu, 11 Sep 2008 19:32:42 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by postgresql.org (Postfix) with ESMTP id 01E2864FCD2 for ; Thu, 11 Sep 2008 19:32:43 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.1/8.14.1) with ESMTP id m8BMWcVK048417 for ; Thu, 11 Sep 2008 19:32:38 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.1/8.14.1/Submit) id m8BMIfFg036445 for pgsql-admin@postgresql.org; Thu, 11 Sep 2008 19:18:41 -0300 (ADT) (envelope-from news) From: Chris Browne X-Newsgroups: pgsql.admin Subject: Re: replica of database Date: Thu, 11 Sep 2008 18:18:32 -0400 Organization: cbbrowne Computing Inc Lines: 46 Message-ID: <87y71yxr5z.fsf@dba2.int.libertyrms.com> References: <127B4898CB0EE64DA86CDB35C6713FB503000C0BE9@tsr-exch03> <48C8A419.5060304@commandprompt.com> <87wshizrdo.fsf@dba2.int.libertyrms.com> <1221163376.8188.43.camel@bnicholson-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.hub.org User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.21 (linux) Cancel-Lock: sha1:nqHdrtTdej5vP10+3aMJ0d8o55c= To: pgsql-admin@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200809/111 X-Sequence-Number: 30204 bnichols@ca.afilias.info (Brad Nicholson) writes: > On Thu, 2008-09-11 at 12:19 -0600, Scott Marlowe wrote: >> On Thu, Sep 11, 2008 at 8:30 AM, Chris Browne wrote: >> > jd@commandprompt.com ("Joshua D. Drake") writes: >> >> Aftab Alam wrote: >> >>> Yes ,I want a replica of my db so that I can use it as failover >> >>> >> >>> >> >>> >> >>> Version 7.3 linux AS release 4 update 6 >> >> >> >> Version 7.3 is end of life and I don't know of *any* of the >> >> replication technologies that will work with it. >> > >> > Slony-I version 1.1 can still work with 7.3. We ceased support of 7.3 >> > when we released v1.2, but recommended, at the time, using 1.1 for >> > 7.3-compatibility. >> >> And as buggy as slony 1.0 might have been, I ran it for about 2 years >> in production replicating a HUGE amount of data daily with zero >> failures. Of course, the servers were fast and reliable, so that might >> have helped cover a lot of issues other people had for us. > > And when we ran it we had replica's getting corrupted due to bugs almost > weekly (based on a particular pattern of activity). The edges are > there. It did never lose data on us. Mind you, that was on 7.4, not 7.3. It's possible that: a) 7.4 did new stuff, so that those index corruptions would not have been present in 7.3, but also that b) 7.3 might have "data-eating problems not present in 7.4." I *would* suggest using 1.1.[latest], of Slony-I, as that should have the fewest issues, on the Slony-I side, of any version available to run against PG 7.3, and should work the most cleanly. But on the other hand, I'd *also* strongly urge using this to get off of v7.3 and onto something a LOT newer, ASAP. I think you can get to PostgreSQL 8.1 using the 1.1 branch, which is usefully newer :-). -- let name="cbbrowne" and tld="acm.org" in String.concat "@" [name;tld];; http://www3.sympatico.ca/cbbrowne/unix.html Economists are still trying to figure out why the girls with the least principle draw the most interest.