pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: Optimizing for writes. Data integrity not critical
Date: Fri, 20 May 2005 00:27:31 +0200
Message-ID: <20050519222731.GB20142@uio.no> (raw)
In-Reply-To: <428D1153.1020109@rueb.com>
References: <428D1153.1020109@rueb.com>

On Thu, May 19, 2005 at 05:21:07PM -0500, Steve Bergman wrote:
> I'm doing the writes individually.  Is there a better way?  Combining 
> them all into a transaction or something?

Batching them all in one or a few transactions will speed it up a _lot_.
Using COPY would help a bit more on top of that.

/* Steinar */
-- 
Homepage: http://www.sesse.net/



view thread (6+ messages)  latest in thread

Message-ID: <20050519222731.GB20142@uio.no>
Permalink:  ../20050519222731.GB20142@uio.no/
Also on:    postgresql.org/message-id/20050519222731.GB20142@uio.no

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: sgunderson@bigfoot.com
  Subject: Re: Optimizing for writes. Data integrity not critical
  In-Reply-To: <20050519222731.GB20142@uio.no>

* 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