Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vnv75-0000rL-DI for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Dec 2013 18:54:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vnv74-0005c2-RZ for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Dec 2013 18:54:26 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vnv73-0005Zl-2O for pgsql-hackers@postgresql.org; Tue, 03 Dec 2013 18:54:25 +0000 Received: from lists.commandprompt.com ([69.168.55.30]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vnv6z-000806-CN for pgsql-hackers@postgresql.org; Tue, 03 Dec 2013 18:54:23 +0000 Received: from [192.168.1.5] (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id 9DDB9273; Tue, 3 Dec 2013 10:54:19 -0800 (PST) Received: from [192.168.1.5] ([68.186.4.50] helo=[192.168.1.5]) by assp.commandprompt.com with ESMTPS(AES256-SHA) (2.1.1); 3 Dec 2013 10:54:19 -0800 Message-ID: <529E28D9.9070905@commandprompt.com> Date: Tue, 03 Dec 2013 10:54:17 -0800 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Robert Haas , =?ISO-8859-1?Q?Fabr=EDzio_Mell?= =?ISO-8859-1?Q?o?= CC: Christian Kruse , Pgsql Hackers Subject: Re: Time-Delayed Standbys References: <52984711.8040806@lab.ntt.co.jp> <20131203163302.GA18669@achilles.fritz.box> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Assp-Version: 2.1.1(11364) on assp.commandprompt.com X-Assp-Client-SSL: yes X-Assp-ID: assp.commandprompt.com m1-96859-01205 X-Assp-Envelope-From: jd@commandprompt.com X-Assp-Intended-For: robertmhaas@gmail.com X-Assp-Original-Subject: Re: [HACKERS] Time-Delayed Standbys X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 12/03/2013 10:46 AM, Robert Haas wrote: > > On Tue, Dec 3, 2013 at 12:36 PM, Fabrízio de Royes Mello > wrote: >> On Tue, Dec 3, 2013 at 2:33 PM, Christian Kruse >> wrote: >>> >>> Hi Fabrizio, >>> >>> looks good to me. I did some testing on 9.2.4, 9.2.5 and HEAD. It >>> applies and compiles w/o errors or warnings. I set up a master and two >>> hot standbys replicating from the master, one with 5 minutes delay and >>> one without delay. After that I created a new database and generated >>> some test data: >>> >>> CREATE TABLE test (val INTEGER); >>> INSERT INTO test (val) (SELECT * FROM generate_series(0, 1000000)); >>> >>> The non-delayed standby nearly instantly had the data replicated, the >>> delayed standby was replicated after exactly 5 minutes. I did not >>> notice any problems, errors or warnings. >>> >> >> Thanks for your review Christian... > > So, I proposed this patch previously and I still think it's a good > idea, but it got voted down on the grounds that it didn't deal with > clock drift. I view that as insufficient reason to reject the > feature, but others disagreed. Unless some of those people have > changed their minds, I don't think this patch has much future here. > I would agree that it is a good idea. Joshua D. Drake -- Command Prompt, Inc. - http://www.commandprompt.com/ 509-416-6579 PostgreSQL Support, Training, Professional Services and Development High Availability, Oracle Conversion, Postgres-XC, @cmdpromptinc For my dreams of your image that blossoms a rose in the deeps of my heart. - W.B. Yeats -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers