Search Postgresql Archives

Re: WAL segments size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 12, 2007 2:14 PM, Bruno Almeida do Lago <teolupus@xxxxxxxxx> 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.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux