Re: WAL file utilization question - Mailing list pgsql-admin

From Keaton Adams
Subject Re: WAL file utilization question
Date
Msg-id 1179335284.22514.30.camel@MXLRMT-208.corp.mxlogic.com
Whole thread Raw
In response to Re: WAL file utilization question  ("Jim C. Nasby" <decibel@decibel.org>)
List pgsql-admin
That's considerably more transaction log space to allocate than what I am used to (up to 16 GB), but I'll set the parameter and see just how many logs PostgreSQL creates and what the new rate of WAL file archiving is over my test period.

Thanks, this information was very helpful,

Keaton



On Wed, 2007-05-16 at 11:51 -0500, Jim C. Nasby wrote:
On Wed, May 16, 2007 at 10:49:04AM -0600, Keaton Adams wrote:
> So, if I do set the checkpoint_segments parameter to 50, 75, or even 100
> I will have a considerable number of WAL files in data/pg_xlog, but they
> will be used more efficiently, so I will be archiving less?  That's what
> I understand from the comments received so far.

Yes. Let it create 500 or 1000 WAL files if it wants... it's much more
important to limit the frequency of checkpoints than to reduce the
number of WAL files (which has virtually no impact on performance).

pgsql-admin by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: WAL file utilization question
Next
From: Tom Lane
Date:
Subject: Re: ERROR: invalid memory alloc request size