Re: copy and postgresql.conf

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: "FERREIRA, William (VALTECH)" <william(dot)ferreira(at)airbus(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: copy and postgresql.conf
Date: 2006-02-14 16:29:32
Message-ID: 43F2056C.2040109@logix-tt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message martial.bizel 2006-02-14 16:32:33 Re: out of memory
Previous Message Scott Marlowe 2006-02-14 16:23:09 Re: Postgres slower than MS ACCESS