From: Vadim Mikheev <vadim@krs.ru>
To: Frank Morton <fmorton@base2inc.com>
Cc: pgsql-sql@hub.org
Subject: Re: [SQL] Slow Inserts Again
Date: Mon, 03 May 1999 21:28:59 +0800
Message-ID: <372DA49B.C25EDDD6@krs.ru> (raw)
References: <06b501be9567$e5941590$8355e5ce@base2inc.com>
Frank Morton wrote:
>
> This last attempt, I bracket each insert statement with
^^^^^^^^^^^^^^^^^^^^^
> "begin;" and "end;".
Why _each_?
Enclose ALL statements by begin; & end; to insert ALL data
in SINGLE transaction:
begin;
insert ....;
insert ....;
...
insert ....;
end;
Vadim
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: vadim@krs.ru, fmorton@base2inc.com, pgsql-sql@hub.org
Subject: Re: [SQL] Slow Inserts Again
In-Reply-To: <372DA49B.C25EDDD6@krs.ru>
References: <06b501be9567$e5941590$8355e5ce@base2inc.com> <372DA49B.C25EDDD6@krs.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