Re: Understanding Transactions

From: Francisco Reyes <lists(at)natserv(dot)com>
To: Joe Koenig <joe(at)jwebmedia(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Understanding Transactions
Date: 2001-12-12 17:43:38
Message-ID: 20011212124144.E40466-100000@zoraida.natserv.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 12 Dec 2001, Joe Koenig wrote:

> inserts faster in groups of 1,000 or 5,000? I know that letting each
> insert be in its own transaction creates a lot of overhead, but I didn't
> know if putting 5,000 inserts into a transaction created overhead for
> that transaction. Hopefully my question makes sense. Thanks,

Have you tried putting them all in one transaction?
That may be the easiest approach.

I would think that a group of 1000 has a higher overhead than 5000.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Luis Amigo 2001-12-12 17:44:55 Re: Understanding Transactions
Previous Message Joe Conway 2001-12-12 17:42:45 Re: [GENERAL] Using Cursor in PostgreSQL 7.2