Fwd: --with-wal-segsize in-effective?

From: Dhimant Patel <drp4kri(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Fwd: --with-wal-segsize in-effective?
Date: 2010-03-03 18:01:08
Message-ID: f3e51c11003031001p2812f739ifb766aec3e017d5a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

To investigate this further I worked on the 8.4.2 source code and it allows
to set the xlog segment size but still does not follow what documentation
implies - unless I am wrong.

--with-wal-segsize=2 as per documentation should give me 4MB size segment, I
am getting it of 2MB.

Thanks,
DP.

---------- Forwarded message ----------
From: Dhimant Patel <drp4kri(at)gmail(dot)com>
Date: Wed, Mar 3, 2010 at 12:32 PM
Subject: --with-wal-segsize in-effective?
To: pgsql-admin(at)postgresql(dot)org

Hi All,

I am working with latest source downloaded from postgres org site.
I compiled and installed the source with --with-wal-segsize=2, assuming it
should give me 4MB size xlog files. (As per the documentation it is a power
of 2 value.)

During the compilation the configure script spitted out "checking for WAL
segment size... 2MB" - so something was off - and I could not imagine what
it is. After successful install and creating database, I still got 16MB
files in my pg_xlog directory. That's too bad. I can not seem to be able to
follow.

I thought it time to turn on archive anyway. I got 16MB files in my archive
location!

So what am I doing wrong?

Please help.

-DP.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Major Services 2010-03-03 18:10:39 Re: password authentication failed for user postgres
Previous Message Dhimant Patel 2010-03-03 17:32:15 --with-wal-segsize in-effective?