Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TdjU0-00052e-SY for pgsql-performance@arkaria.postgresql.org; Wed, 28 Nov 2012 15:23:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TdjTz-0002a0-SM for pgsql-performance@arkaria.postgresql.org; Wed, 28 Nov 2012 15:23:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TdjTz-0002Zv-15 for pgsql-performance@postgresql.org; Wed, 28 Nov 2012 15:23:27 +0000 Received: from dub0-omc4-s2.dub0.hotmail.com ([157.55.2.77]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TdjTv-0000mK-IP for pgsql-performance@postgresql.org; Wed, 28 Nov 2012 15:23:26 +0000 Received: from DUB104-W3 ([157.55.2.71]) by dub0-omc4-s2.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 28 Nov 2012 07:23:22 -0800 X-Originating-IP: [31.151.116.201] X-EIP: [MhRL9MXukrcTpcnyOA4AG4hRtTcT1tO7] X-Originating-Email: [willem_leenen@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_88bb14a1-341f-485d-8b21-5264e9d96b03_" From: Willem Leenen To: , CC: Subject: Re: Savepoints in transactions for speed? Date: Wed, 28 Nov 2012 15:23:21 +0000 Importance: Normal In-Reply-To: References: , <2000E26E-35FC-4801-90F3-3CFBDA7B41DF@yahoo.com>, , , MIME-Version: 1.0 X-OriginalArrivalTime: 28 Nov 2012 15:23:22.0296 (UTC) FILETIME=[4D77FB80:01CDCD7C] X-Pg-Spam-Score: -2.3 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org --_88bb14a1-341f-485d-8b21-5264e9d96b03_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Commitmarks are written to disk after each transaction. So transactionsize = has impact on performance.=20 Date: Wed=2C 28 Nov 2012 09:18:20 -0600 Subject: Re: [PERFORM] Savepoints in transactions for speed? From: mike.blackwell@rrd.com To: klaussfreire@gmail.com CC: pgsql-performance@postgresql.org On Tue=2C Nov 27=2C 2012 at 7:16 PM=2C Claudio Freire wrote: Updates=2C are faster if batched=2C if your business logic allows it=2C because it creates less bloat and creates more opportunities for with HOT updates. I don't think it applies to inserts=2C though=2C and I haven't heard it either. Ah. That must have been what I'd half-remembered. Thanks for the clarific= ation. Mike = --_88bb14a1-341f-485d-8b21-5264e9d96b03_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Commitmarks are written to disk after each transaction. So transactions= ize has impact on performance.


Date: Wed=2C 28 Nov 2012 09:18:20 -0600
S= ubject: Re: [PERFORM] Savepoints in transactions for speed?
From: mike.b= lackwell@rrd.com
To: klaussfreire@gmail.com
CC: pgsql-performance@pos= tgresql.org



On Tue=2C Nov 27=2C 2012 at 7= :16 PM=2C Claudio Freire <=3Bklaussfreire@gmail.com>=3B wrote:
Updates=2C are faster if batched=2C = if your business logic allows it=2C
because it creates less bloat and creates more opportunities for with
HOT updates. I don't think it applies to inserts=2C though=2C and I
haven't heard it either.

Ah.  =3BTh= at must have been what I'd half-remembered.  =3BThanks for the clarific= ation.

Mike =3B
=
= --_88bb14a1-341f-485d-8b21-5264e9d96b03_--