Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Patches > Re: configure o...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 3662 of 3966
Post > Topic >>

Re: configure option for XLOG_BLCKSZ

by markwkm@[EMAIL PROTECTED] ("Mark Wong") May 2, 2008 at 08:42 AM

On Fri, May 2, 2008 at 12:04 AM, Joshua D. Drake <jd@[EMAIL PROTECTED]
>
wrote:
>
> Tom Lane wrote:
>
> > "Mark Wong" <markwkm@[EMAIL PROTECTED]
> writes:
> >
> > > I saw a that a patch was committed that exposed a configure switch
for
> > > BLCKSZ.  I was hoping that I could do that same for XLOG_BLCKSZ.
> > >
> >
> > Well, we certainly *could*, but what's the use-case really?  The case
> > for varying BLCKSZ is marginal already, and I've seen none at all for
> > varying XLOG_BLCKSZ.  Why do we need to make it easier than "edit
> > pg_config_manual.h"?
> >
>
>  The use case I could see is for performance testing but I would concur
that
> it doesn't take much to modify pg_config_manual.h. In thinking about it,
> this might actually be a foot gun. You have a new pg guy, download
source
> and think to himself..., "Hey I have a 4k block size as formatted on my
hard
> disk". Then all of a sudden they have an incompatible PostgreSQL with
> everything else.

As someone who has tested varying both those parameters it feels
awkward to have a configure option for one and not the other, or vice
versa.  I have slightly stronger feelings for having them both as
configure options because it's easier to script, but feel a little
more strongly about having BLCKSZ and XLOG_BLCKSZ both as either
configure options or in pg_config_manual.h.  To have them such that
one needs to change them in different manners makes a tad more work in
automating testing.  So my case is just for ease of testing.

Regards,
Mark

-- 
Sent via pgsql-patches mailing list (pgsql-patches@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches
 




 2 Posts in Topic:
Re: configure option for XLOG_BLCKSZ
markwkm@[EMAIL PROTECTED]  2008-05-02 08:42:42 
Re: configure option for XLOG_BLCKSZ
tgl@[EMAIL PROTECTED] (T  2008-05-02 11:50:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Sep 6 15:27:46 CDT 2008.