Re: COPY insert performance - Mailing list pgsql-performance

From Gavin Sherry
Subject Re: COPY insert performance
Date
Msg-id Pine.LNX.4.58.0507262208030.15612@linuxworld.com.au
Whole thread Raw
In response to COPY insert performance  ("Chris Isaacson" <cisaacson@tradebotsystems.com>)
List pgsql-performance
Hi Chris,

Have you considered breaking the data into multiple chunks and COPYing
each concurrently?

Also, have you ensured that your table isn't storing OIDs?

On Mon, 25 Jul 2005, Chris Isaacson wrote:

> #-----------------------------------------------------------------------
> ----
> # RESOURCE USAGE (except WAL)
> #-----------------------------------------------------------------------
> ----
> shared_buffers = 65536  # min 16, at least max_connections*2, 8KB each

shared_buffers that high has been shown to affect performance. Try 12000.

> wal_buffers = 64  # min 4, 8KB each

Increasing wal_buffers can also have an effect on performance.

Thanks,

Gavin

pgsql-performance by date:

Previous
From: Jochem van Dieten
Date:
Subject: Re: "Vacuum Full Analyze" taking so long
Next
From: "Chris Isaacson"
Date:
Subject: Re: COPY insert performance