From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Steve Bergman <steve@rueb.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Optimizing for writes. Data integrity not critical
Date: Fri, 20 May 2005 09:45:42 +0800
Message-ID: <428D4146.6000203@familyhealth.com.au> (raw)
In-Reply-To: <428D1153.1020109@rueb.com>
References: <428D1153.1020109@rueb.com>
> I'm doing the writes individually. Is there a better way? Combining
> them all into a transaction or something?
Use COPY of course :)
Or at worst bundle 1000 inserts at a time in a transation...
And if you seriously do not care about your data at all, set fsync = off
in you postgresql.conf for a mega speedup.
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, steve@rueb.com
Subject: Re: Optimizing for writes. Data integrity not critical
In-Reply-To: <428D4146.6000203@familyhealth.com.au>
References: <428D1153.1020109@rueb.com> <428D4146.6000203@familyhealth.com.au>
* 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