Re: How do you change the size of the WAL files?

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How do you change the size of the WAL files?
Date: 2012-01-10 07:18:00
Message-ID: 4F0BE628.2070504@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 01/09/12 5:21 PM, Ron Somaraju wrote:
> Once again, pros and cons should be left to users discretion because one may have latest and greatest hardware and network resources. For example a SSD on a fiber channel on a high speed network.

as I said before, when the checkpoint timeout goes off, a partially
written WAL log will be archived. this file is still the full size,
its not 'short', its just empty.

too big of a file will mean a LOT Of waste data is being copied and
archived.

what is your checkpoint_timeout ? how many WAL files per that timeout
interval are you generating now? (like, if the timeout is 5 minutes, and
you're generating 36 files per hour, that would be about 3 WAL files per
timeout interval...)

--
john r pierce N 37, W 122
santa cruz ca mid-left coast

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sergey Konoplev 2012-01-10 10:06:55 Re: Side effects of moving an index to a new tablespace
Previous Message Stefan Keller 2012-01-10 06:26:14 Re: [JDBC] Binary Large Objects (LOB/BLOB) in Hibernate and JDBC: Unresolved issues