Re: How do you change the size of the WAL files? - Mailing list pgsql-general

From Tom Lane
Subject Re: How do you change the size of the WAL files?
Date
Msg-id 8119.1326157603@sss.pgh.pa.us
Whole thread Raw
In response to Re: How do you change the size of the WAL files?  (Scott Marlowe <scott.marlowe@gmail.com>)
Responses Re: How do you change the size of the WAL files?  (Ron Somaraju <RSomaraju@masergy.com>)
List pgsql-general
Scott Marlowe <scott.marlowe@gmail.com> writes:
> On Mon, Jan 9, 2012 at 4:58 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> There are tradeoffs in the other direction too, but if you feel you must
>> have a different value, see configure's --with-wal-segsize option. �Note
>> that you cannot change this without re-initdb.

> Is there a limit to the max size?

Hmm, it looks like the configure script only allows 1-64MB.  I'm not
sure offhand if that's protecting a restriction elsewhere, or just
not bothering to extend the switch for more cases.  Keep in mind that
the larger you make this, the more data you can lose because it wasn't
archived yet when your master machine failed.

            regards, tom lane

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: How do you change the size of the WAL files?
Next
From: "Francisco Figueiredo Jr."
Date:
Subject: Re: Is there a reason why Postgres doesn't have Byte or tinyint?