Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group