From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
---|---|
To: | Szymon Guz <mabewlun(at)gmail(dot)com> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: why autocommit mode is slow? |
Date: | 2011-04-08 14:26:57 |
Message-ID: | BANLkTim7AO1ZAqevQambXXLF6_9MgYj6Vw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Apr 7, 2011 at 9:59 PM, Szymon Guz <mabewlun(at)gmail(dot)com> wrote:
> this is maybe a stupid question, but I don't know how to explain to my
> coworkers why performing many inserts in autocommit mode is so much slower
> than making all of them in one transaction.
> Why is that so slow?
There's a performance bug that slows things down more than necessary.
I've worked out a solution that we can use to improve that.
Not sure that we should backpatch it though.
--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | David Johnston | 2011-04-08 14:34:02 | Re: Using Function returning setof record in JOIN |
Previous Message | Pavel Stehule | 2011-04-08 14:23:28 | Re: cast list of oid |