From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Dennis Björklund <db@zigo.dhs.org>
To: mixo <mixo@coza.net.za>
Cc: Bjoern Metzdorf <bm@turtle-entertainment.de>
Cc: pgsql-performance@postgresql.org
Subject: Re: Perfomance Tuning
Date: Wed, 13 Aug 2003 14:47:03 +0800
Message-ID: <1f8901c36166$b50cf6b0$2800a8c0@mars> (raw)
References: <Pine.LNX.4.44.0308130819460.2191-100000@zigo.dhs.org>
> So, group the inserts in transactions with maybe 1000 commands each. It
> will go much faster. It can then cache the rows and in the end just make
> sure all 1000 have been written out on disk.
More than that, he should be using COPY - it's 10x faster than even grouped
inserts.
Chris
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-performance@postgresql.org
Cc: chriskl@familyhealth.com.au, db@zigo.dhs.org, mixo@coza.net.za, bm@turtle-entertainment.de
Subject: Re: Perfomance Tuning
In-Reply-To: <1f8901c36166$b50cf6b0$2800a8c0@mars>
References: <Pine.LNX.4.44.0308130819460.2191-100000@zigo.dhs.org> <1f8901c36166$b50cf6b0$2800a8c0@mars>
* 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