Re: Inserts optimization?

From: Vivek Khera <vivek(at)khera(dot)org>
To: Pgsql performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Inserts optimization?
Date: 2006-04-20 19:45:14
Message-ID: 4A92D044-F4C3-4B7B-B25A-E09575E66984@khera.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


On Apr 14, 2006, at 8:00 AM, Marc Cousin wrote:

> So, you'll probably end up being slowed down by WAL fsyncs ... and
> you won't
> have a lot of solutions. Maybe you should start with trying to set
> fsync=no
> as a test to confirm that (you should have a lot of iowaits right
> now if you
> haven't disabled fsync).

Instead of doing that, why not use commit_delay to some nominal value
to try and group the fsyncs. If they're coming in at 30 per second,
this should help a bit, I suspect.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2006-04-20 20:17:00 Re: Recovery will take 10 hours
Previous Message Milen Kulev 2006-04-20 19:45:09 Re: Quick Performance Poll