pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dimitri Fontaine <dfontaine@hi-media.com>
To: pgsql-performance@postgresql.org
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: Richard Huxton <dev@archonet.com>
Cc: Jignesh K. Shah <J.K.Shah@sun.com>
Cc: Greg Smith <gsmith@gregsmith.com>
Subject: Re: Benchmark Data requested
Date: Tue, 5 Feb 2008 18:01:50 +0100
Message-ID: <200802051801.52963.dfontaine@hi-media.com> (raw)
In-Reply-To: <1202225207.4252.718.camel@ebony.site>
References: <1202150236.4252.521.camel@ebony.site>
	<47A87B2E.7050205@archonet.com>
	<1202225207.4252.718.camel@ebony.site>

Le mardi 05 février 2008, Simon Riggs a écrit :
> It runs a stream of COPY statements, so only first would be optimized
> with the "empty table optimization".

The number of rows per COPY statement is configurable, so provided you have an 
estimation of the volume to import (wc -l), you could tweak this number for 
lowering the stream (down to 1 COPY maybe)...

But basically a COPY run should be kept in memory (and we're talking about 
high volumes here) and in case of error processing you'd want it not that 
huge after all...

-- 
dim

Attachments:

  signature.asc (application/pgp-signature, 188B) download

view thread (51+ messages)  latest in thread

Message-ID: <200802051801.52963.dfontaine@hi-media.com>
Permalink:  ../200802051801.52963.dfontaine@hi-media.com/
Also on:    postgresql.org/message-id/200802051801.52963.dfontaine@hi-media.com

 · 

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: dfontaine@hi-media.com, simon@2ndquadrant.com, dev@archonet.com, J.K.Shah@sun.com, gsmith@gregsmith.com
  Subject: Re: Benchmark Data requested
  In-Reply-To: <200802051801.52963.dfontaine@hi-media.com>

* 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