Re: Inserts optimization?

From: Francisco Reyes <lists(at)stringsutils(dot)com>
To: Pgsql performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Inserts optimization?
Date: 2006-04-15 13:34:45
Message-ID: cone.1145108085.293250.47312.1000@zoraida.natserv.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Tom Lane writes:

> Also, increasing checkpoint_segments and possibly wal_buffers helps a
> lot for write-intensive loads.

Following up on those two recomendations from Tom.
Tom mentioned in a different message that if the inserst are small that
increasing wal_buffers would not help.

How about checkpoint_segments?
Also commit_delays seems like may be helpfull. Is it too much a risk to set
commit_delays to 1 second? If the machine has any problems while having a
higher commit_delay will the end result simply be that a larger amount of
transactions will be rolled back?

p.s. did not CC Tom because he uses an RBL which is rather "selective" about
what it lets through (one of the worst in my opinion).

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Mikael Carneholm 2006-04-16 23:24:20 Migration study, step 2: rewriting queries
Previous Message Francisco Reyes 2006-04-15 13:26:46 Re: Inserts optimization?