pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedWAL disk space
4+ messages / 4 participants
[nested] [flat]
* WAL disk space
@ 2002-12-07 23:42 Erin Munro <ecmun2002@yahoo.com>
0 siblings, 0 replies; 4+ messages in thread
From: Erin Munro @ 2002-12-07 23:42 UTC (permalink / raw)
To: pgsql-admin
An empty database cluster takes up 20 MB, 16 of which
are dedicated to a WAL file. This seems to be a lot
for a small or low-traffic database. Is there any way
to reduce the size of this WAL file, besides reverting
to version 7.0 (where WAL isn't used)?
Thanks -Erin
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
^ permalink raw reply [nested|flat] 4+ messages in thread
* WAL disk space
@ 2002-12-09 16:05 Erin Munro <emunro@ll.mit.edu>
0 siblings, 2 replies; 4+ messages in thread
From: Erin Munro @ 2002-12-09 16:05 UTC (permalink / raw)
To: pgsql-admin
An empty database cluster takes up 20 MB, 16 of which
are dedicated to a WAL file. This seems to be a lot
for a small or low-traffic database. Is there any way
to reduce the size of this WAL file, besides reverting
to version 7.0 (where WAL isn't used)?
Thanks -Erin
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: WAL disk space
@ 2002-12-09 16:33 Stephan Szabo <sszabo@megazone23.bigpanda.com>
parent: Erin Munro <emunro@ll.mit.edu>
1 sibling, 0 replies; 4+ messages in thread
From: Stephan Szabo @ 2002-12-09 16:33 UTC (permalink / raw)
To: Erin Munro <emunro@ll.mit.edu>; +Cc: pgsql-admin
On Mon, 9 Dec 2002, Erin Munro wrote:
> An empty database cluster takes up 20 MB, 16 of which
> are dedicated to a WAL file. This seems to be a lot
> for a small or low-traffic database. Is there any way
> to reduce the size of this WAL file, besides reverting
> to version 7.0 (where WAL isn't used)?
IIRC, you can change the segment size at compile time in
xlog.h.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: WAL disk space
@ 2002-12-09 16:47 Tom Lane <tgl@sss.pgh.pa.us>
parent: Erin Munro <emunro@ll.mit.edu>
1 sibling, 0 replies; 4+ messages in thread
From: Tom Lane @ 2002-12-09 16:47 UTC (permalink / raw)
To: Erin Munro <emunro@ll.mit.edu>; +Cc: pgsql-admin
Erin Munro <emunro@ll.mit.edu> writes:
> An empty database cluster takes up 20 MB, 16 of which
> are dedicated to a WAL file. This seems to be a lot
> for a small or low-traffic database. Is there any way
> to reduce the size of this WAL file, besides reverting
> to version 7.0 (where WAL isn't used)?
Reduce XLogSegSize in src/include/access/xlog.h. Recompile,
re-initdb (or at least do pg_resetxlog), put up with more frequent
checkpoints.
With sufficiently low write activity this might be worthwhile, but
I find it hard to think of any recently-manufactured hardware wherein
16MB of disk space is worth agonizing over.
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2002-12-09 16:47 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-12-07 23:42 WAL disk space Erin Munro <ecmun2002@yahoo.com>
2002-12-09 16:05 WAL disk space Erin Munro <emunro@ll.mit.edu>
2002-12-09 16:33 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
2002-12-09 16:47 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox