X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 38A86D8D45 for ; Tue, 13 Sep 2005 12:41:07 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 99158-02 for ; Tue, 13 Sep 2005 15:41:02 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id D5E19D8D5A for ; Tue, 13 Sep 2005 12:41:01 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j8DFdvhv023544; Tue, 13 Sep 2005 11:39:57 -0400 (EDT) To: "Simon Riggs" Cc: "Tatsuo Ishii" , barry@e-rm.co.uk, pgsql-general@postgresql.org Subject: Re: Replication In-reply-to: References: Comments: In-reply-to "Simon Riggs" message dated "Tue, 13 Sep 2005 16:21:04 -0700" Date: Tue, 13 Sep 2005 11:39:57 -0400 Message-ID: <23543.1126625997@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200509/499 X-Sequence-Number: 83515 "Simon Riggs" writes: >> From: Tatsuo Ishii [mailto:t-ishii@sra.co.jp] >> I thought there are some issues of log based replication (I don't >> remeber details though). Have they been resolved recently? > Yes, currently log-file based replication is not recommended when the > transaction rate is either low or extremely variable. The point being not that it doesn't work, but that it can take a long time (or an unpredictable amount of time) for transactions to propagate to the slave machine. You can kluge up a solution for this, ie, write a cron job to copy the latest WAL segment file across to the slave once a minute (or whatever your requirement for propagation delay is). But we haven't gotten a standard solution into the code itself yet. regards, tom lane