From: Gavin Sherry <swm@alcove.com.au>
To: Chris Isaacson <cisaacson@tradebotsystems.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: COPY insert performance
Date: Tue, 26 Jul 2005 22:12:21 +1000 (EST)
Message-ID: <Pine.LNX.4.58.0507262208030.15612@linuxworld.com.au> (raw)
In-Reply-To: <07774C6E31D94A44A2A60E2085944F09071DF0@tbmail.tradebot.com>
References: <07774C6E31D94A44A2A60E2085944F09071DF0@tbmail.tradebot.com>
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
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: swm@alcove.com.au, cisaacson@tradebotsystems.com
Subject: Re: COPY insert performance
In-Reply-To: <Pine.LNX.4.58.0507262208030.15612@linuxworld.com.au>
* 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