Re: your mail - Mailing list pgsql-sql

From Zalman Stern
Subject Re: your mail
Date
Msg-id 199909020644.XAA18312@netcom15.netcom.com
Whole thread Raw
In response to ...  (Martin Neumann <lists@mne.de>)
List pgsql-sql
I would either validate the data in the script, or batch the records into
bunches of 100 or 1000 or whatever inserts. If one of the batches fails,
then reprocess only that batch using individual inserts.

I believe using transactions of moderate size will be faster than using
really really huge ones. There are of course also transactional semantics
issues if you have concurrent access going on.

-Z-


pgsql-sql by date:

Previous
From: Martin Neumann
Date:
Subject: ...
Next
From: tolik@aaanet.ru (Anatoly K. Lasareff)
Date:
Subject: Re: none