From: | "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | "Bruno Almeida do Lago" <teolupus(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: WAL segments size |
Date: | 2007-11-12 19:52:43 |
Message-ID: | dcc563d10711121152r4402b46arba616623c53f5c76@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Nov 12, 2007 2:14 PM, Bruno Almeida do Lago <teolupus(at)gmail(dot)com> wrote:
> Hi,
>
> One of our PostgreSQL databases is generating archive logs too frequently,
> since the number of transactions/s (inserts & updates) is very high.
>
> I was looking for a parameter on postgresql.conf to increase the WAL
> segments size, but according to documentation this can only be changed while
> building PostgreSQL.
There's no great need to change the SIZE, just increase the number of
WAL segments.
More importantly, look into tuning your bgwriter so it keeps up with
the write load and you don't have a lot of checkpoints. There was a
post here last week:
http://www.westnet.com/~gsmith/content/postgresql/chkp-bgw-83.htm
that had a very good tutorial on bgwriting and how to configure it.
From | Date | Subject | |
---|---|---|---|
Next Message | Lew | 2007-11-12 19:53:55 | Re: md5() sorting |
Previous Message | Andrew Sullivan | 2007-11-12 19:42:31 | Re: WAL segments size |