pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: gav <gav@nlr.ru>
To: pgsql-sql@postgresql.org
Subject: how many inserts in one transaction?
Date: Sun, 23 Jan 2000 00:15:52 +0300
Message-ID: <1611.000123@nlr.ru> (raw)

Hi,

I have a database created in postgres 6.5.3 and need insert huge
number (~10-100 thousands) of
rows in one of tables. To do that quickly I put this part of work in
transaction. My question is such: should I split this block of
insertings into many transaction to raise the speed? And
exists the limit of INSERT-commands that I can do in one transaction?

Best regards,
Alex





view thread (2+ messages)  latest in thread

Message-ID: <1611.000123@nlr.ru>
Permalink:  ../1611.000123@nlr.ru/
Also on:    postgresql.org/message-id/1611.000123@nlr.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: gav@nlr.ru
  Subject: Re: how many inserts in one transaction?
  In-Reply-To: <1611.000123@nlr.ru>
  References: <1611.000123@nlr.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox