From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: Daniel J. Luke <dluke@geeklair.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: Getting even more insert performance (250m+rows/day)
Date: Wed, 24 May 2006 22:03:49 +0200
Message-ID: <20060524200349.GA10753@uio.no> (raw)
In-Reply-To: <CE96DEF6-C455-4BB3-8B57-A78849A519E8@geeklair.net>
References: <CE96DEF6-C455-4BB3-8B57-A78849A519E8@geeklair.net>
On Wed, May 24, 2006 at 03:45:17PM -0400, Daniel J. Luke wrote:
> Things I've already done that have made a big difference:
> - modified postgresql.conf shared_buffers value
> - converted to COPY from individual insert statements
> - changed BLCKSZ to 32768
Have you tried fiddling with the checkpointing settings? Check your logs --
if you get a warning about checkpoints being too close together, that should
give you quite some boost.
Apart from that, you should have quite a bit to go on -- somebody on this
list reported 2 billion rows/day earlier, but it might have been on beefier
hardware, of course. :-)
/* Steinar */
--
Homepage: http://www.sesse.net/
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: sgunderson@bigfoot.com, dluke@geeklair.net
Subject: Re: Getting even more insert performance (250m+rows/day)
In-Reply-To: <20060524200349.GA10753@uio.no>
* 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