Re: Files in pg_xlog

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Daniel Henrique Debonzi <debonzi(at)gwyddion(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Files in pg_xlog
Date: 2004-01-31 05:27:47
Message-ID: 27048.1075526867@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Daniel Henrique Debonzi <debonzi(at)gwyddion(dot)com> writes:
> Does anybody knows how can I change the size (something about 4Mb) of
> the files inside the pg_xlog directory

You can't, short of hacking the source code (and I'm not sure it's a
one-line change if you do...)

> and how can I have no more than one file inside it.

Can't do that either. In a low-traffic database you could reasonably
expect to have no more than two xlog files most of the time. Set
checkpoint_segments to 1 to minimize the space usage.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2004-01-31 05:32:05 Re: Dump and Reload process
Previous Message Tom Lane 2004-01-31 05:07:53 Re: High Performance/High Reliability File system on SuSE64