RE: Are there limits to number of INSERTS inside a Tra nsaction?

From: "Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM>
To: "'gilles(at)darold(dot)net'" <gilles(at)darold(dot)net>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: RE: Are there limits to number of INSERTS inside a Tra nsaction?
Date: 2000-07-12 19:36:11
Message-ID: 8F4C99C66D04D4118F580090272A7A23018C56@SECTORBASE1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> > Now the question: Can I do too much inside a transaction? In other
> > words, say I was importing a file with 100,000 records and I wanted
> > to make sure either the whole thing imported or none of it; would it
> > be a bad idea to do ALL of the inserts within a single transaction?
> >
> > Are there any limits to the number of inserts/updates
> within a transaction?
> >
> > Ken Causey
>
> As I know all in one must work. Why not trying, you'll got
> the answer by
> yourself ?
> If you use transaction and it failed just do an ABORT TRANSACTION...

Max # of commands per transaction is 2^32...

Vadim

Browse pgsql-general by date

  From Date Subject
Next Message mikeo 2000-07-12 19:40:27 when timestamp is null
Previous Message Gilles DAROLD 2000-07-12 19:29:17 Re: Are there limits to number of INSERTS inside a Transaction?