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 81BB4D8D08 for ; Tue, 13 Sep 2005 12:46:28 -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 00505-01 for ; Tue, 13 Sep 2005 15:46:20 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.202]) by svr1.postgresql.org (Postfix) with ESMTP id 77C18D89DF for ; Tue, 13 Sep 2005 12:46:19 -0300 (ADT) Received: by zproxy.gmail.com with SMTP id 40so307711nzk for ; Tue, 13 Sep 2005 08:46:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=R39iFBbAbcMsRPhMiPddCQ+xRLAyEFVsAyY7GRB848Ts8br1u+gDKZRbSlO0nRNB+EEgBrhLssKQywpHHF8iWKZIOsjPjEDAcd5Q4b2vAHdHw//5+tcex6GYh2tY+duJnMyLMkt1jO50WNb661s6NN4ySm7CtaNApHGaKN5grcg= Received: by 10.36.90.8 with SMTP id n8mr860586nzb; Tue, 13 Sep 2005 08:46:19 -0700 (PDT) Received: from ?10.0.7.63? ( [69.88.103.162]) by mx.gmail.com with ESMTP id 38sm9050619nza.2005.09.13.08.46.18; Tue, 13 Sep 2005 08:46:19 -0700 (PDT) Message-ID: <4326F406.7010402@gmail.com> Date: Tue, 13 Sep 2005 08:45:10 -0700 From: Russ Brown User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050809) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-general@postgresql.org Subject: Re: Replication References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 required=5 tests=[RCVD_BY_IP=0.024] X-Spam-Level: X-Archive-Number: 200509/500 X-Sequence-Number: 83516 Simon Riggs wrote: > Barry, > > You can use PITR to archive transaction logs to a second server that is > kept in standby mode. > > This will cope with any number of tables and cope with dynamic changes > to tables. > > This is fairly straightforward and very low overhead. > Set archive_command to a program that transfers xlog files to second > server. > Then set restore_command on the second server to a program that loops > until the next file is available. > Switchover time is low. > Apologies for going slighly off topic, but isn't this basically how MySQL does replication? I ask because one of the arguments against moving to PostgreSQL in my organisation is 'no replication out of the box'. But if the above is true it seems that all that is required are a couple of scripts to handle log transfer and you have a form of replication out of the box right there. Or am I missing something? -- Russ