Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXWJ1-0004Au-Me for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Aug 2016 16:24:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bXWJ1-0001Cl-9S for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Aug 2016 16:24:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bXWIy-00017e-Tm for pgsql-hackers@postgresql.org; Wed, 10 Aug 2016 16:24:32 +0000 Received: from lists.commandprompt.com ([2604:da00:2:2:5054:ff:fe07:7618]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bXWIu-00086W-Ak for pgsql-hackers@postgresql.org; Wed, 10 Aug 2016 16:24:31 +0000 Received: from [192.168.1.60] (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id 9E7F02BE; Wed, 10 Aug 2016 09:24:23 -0700 (PDT) Received: from c-73-225-27-179.hsd1.wa.comcast.net ([73.225.27.179] helo=[192.168.1.60]) by assp.commandprompt.com with SMTPSA(TLSv1_2 ECDHE-RSA-AES128-GCM-SHA256) (2.5.1); 10 Aug 2016 09:24:23 -0700 Subject: Re: Proposal for CSN based snapshots To: Stephen Frost References: <69041c5a-ec60-3c54-49d0-5df071b27f52@iki.fi> <79213506-4c9c-7e7a-44c6-ae94484c1159@iki.fi> <6906.1470840684@sss.pgh.pa.us> <8c150c9d-6ba2-69fd-e908-ed2fc2775c05@iki.fi> <3406288c-9989-5c95-4445-5443b7a7b66f@commandprompt.com> <20160810160419.GH4028@tamriel.snowman.net> Cc: Robert Haas , Heikki Linnakangas , Tom Lane , Alexander Korotkov , Simon Riggs , Dilip Kumar , Jeff Davis , PostgreSQL-development , Alvaro Herrera , Greg Stark , Andres Freund , Rajeev rastogi , Markus Wanner , Ants Aasma , Bruce Momjian , obartunov , Teodor Sigaev From: "Joshua D. Drake" Organization: Command Prompt, Inc. Message-ID: <75c0ea70-6292-6b24-ac8f-cea21134f8d8@commandprompt.com> Date: Wed, 10 Aug 2016 09:24:22 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160810160419.GH4028@tamriel.snowman.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Assp-Version: 2.5.1(16177) on assp.commandprompt.com X-Assp-ID: assp.commandprompt.com m1-46263-01950 X-Assp-Session: 7F682C5B5D80 (mail 1) X-Assp-Original-Subject: Re: [HACKERS] Proposal for CSN based snapshots X-Assp-Client-SSL: yes X-Pg-Spam-Score: -2.4 (--) 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 08/10/2016 09:04 AM, Stephen Frost wrote: > * Joshua D. Drake (jd@commandprompt.com) wrote: >> +1 for Robert here, removing async commit is a non-starter. It is >> PostgreSQL performance 101 that you disable synchronous commit >> unless you have a specific data/business requirement that needs it. >> Specifically because of how much faster Pg is with async commit. > > I agree that we don't want to get rid of async commit, but, for the > archive, I wouldn't recommend using it unless you specifically understand > and accept that trade-off, so I wouldn't lump it into a "PostgreSQL > performance 101" group- that's increasing work_mem, shared_buffers, WAL > size, etc. Accepting that you're going to lose *committed* transactions > on a crash requires careful thought and consideration of what you're > going to do when that happens, not the other way around. Yes Stephen, you are correct which is why I said, "unless you have a specific data/business requirement that needs it". Thanks! jD > > Thanks! > > Stephen > -- Command Prompt, Inc. http://the.postgres.company/ +1-503-667-4564 PostgreSQL Centered full stack support, consulting and development. Everyone appreciates your honesty, until you are honest with them. Unless otherwise stated, opinions are my own. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers