Re: How Many Inserts Per Transactions

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Trevor Astrope <astrope(at)e-corp(dot)net>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: How Many Inserts Per Transactions
Date: 2003-08-05 16:02:45
Message-ID: Pine.LNX.4.33.0308051002010.13157-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, 5 Aug 2003, Trevor Astrope wrote:

> I was wondering if anyone found a sweet spot regarding how many inserts to
> do in a single transaction to get the best performance? Is there an
> approximate number where there isn't any more performance to be had or
> performance may drop off?
>
> It's just a general question...I don't have any specific scenario, other
> than there are multiple backends doing many inserts.

I've found that after 1,000 or so inserts, there's no great increase in
speed.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2003-08-05 16:18:47 Re: Some vacuum & tuning help
Previous Message Matthew T. O'Connor 2003-08-05 16:01:22 Re: Some vacuum & tuning help