pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabi@logix-tt.com>
To: FERREIRA, William (VALTECH) <william.ferreira@airbus.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: copy and postgresql.conf
Date: Tue, 14 Feb 2006 17:29:32 +0100
Message-ID: <43F2056C.2040109@logix-tt.com> (raw)
In-Reply-To: <414D259CE29DE54DAD534037C83CE4B7269627@FR0-MAILMB20.res.airbus.corp>
References: <414D259CE29DE54DAD534037C83CE4B7269627@FR0-MAILMB20.res.airbus.corp>

Hi, Ferreira,

FERREIRA, William (VALTECH) wrote:

> i load data from files using copy method.
> Files contain between 2 and 7 millions of rows, spread on 5 tables.
> 
> For loading all the data, it takes 40mn, and the same processing takes 17mn with Oracle.
> I think that this time can be improved by changing postgresql configuration file.
> But which parameters i need to manipulate and with which values ?

Increase the size of the wal.

If its just a develpoment environment, or you don't mind data
inconsistency in case of a crash, disable fsync.

HTH,
Markus


-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org



view thread (13+ messages)  latest in thread

Message-ID: <43F2056C.2040109@logix-tt.com>
Permalink:  ../43F2056C.2040109@logix-tt.com/
Also on:    postgresql.org/message-id/43F2056C.2040109@logix-tt.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: schabi@logix-tt.com, william.ferreira@airbus.com
  Subject: Re: copy and postgresql.conf
  In-Reply-To: <43F2056C.2040109@logix-tt.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