Re: Benchmarck PostgreSQL 8.1.4 MySQL 5.0.20 and Oracle 10g2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mikael Carneholm" <Mikael(dot)Carneholm(at)WirelessCar(dot)com>
Cc: "Olivier Andreotti" <olivier(dot)andreotti(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Benchmarck PostgreSQL 8.1.4 MySQL 5.0.20 and Oracle 10g2
Date: 2006-05-18 14:48:20
Message-ID: 13688.1147963700@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Mikael Carneholm" <Mikael(dot)Carneholm(at)WirelessCar(dot)com> writes:
> Btw, check you logfile for hints regarding increasing max_fsm_pages, and
> consider increasing checkpoint_segments as well. You could also play
> with more aggressive bgwriter_* params to reduce the risk for long
> vacuum pauses.

Yeah, checkpoint_segments is a really critical number for any
write-intensive situation. Pushing it up to 30 or more can make a big
difference. You might want to set checkpoint_warning to a large value
(300 or so) so you can see in the log how often checkpoints are
happening. You really don't want checkpoints to happen more than about
once every five minutes, because not only does the checkpoint itself
cost a lot of I/O, but there is a subsequent penalty of increased WAL
traffic due to fresh page images getting dumped into WAL.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Ruben Rubio Rey 2006-05-18 14:52:23 Re: SQL CPU time usage
Previous Message Mikael Carneholm 2006-05-18 14:11:51 Re: Benchmarck PostgreSQL 8.1.4 MySQL 5.0.20 and Oracle 10g2