Re: Units in postgresql.conf - Mailing list pgsql-hackers

From Robert Treat
Subject Re: Units in postgresql.conf
Date
Msg-id 200607212113.07743.xzilla@users.sourceforge.net
Whole thread Raw
In response to Re: Units in postgresql.conf  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
List pgsql-hackers
On Thursday 20 July 2006 18:16, Ron Mayer wrote:
> Peter Eisentraut wrote:
> > I think it would be useful to allow units to be added to these settings,
> > for example...
> > shared_buffers = 512MB
> > which is a bit cumbersome to calculate right now (you'd need = 65536).
> >
> > I haven't thought yet how to parse or implement this, but would people
> > find this useful?
>
> Would this extend to things like "random_page_cost" and similar?
>
> If the random_page_cost were specifiable in seconds or ms it might be
> easier to someday write a program to measure such values on particular
> hardware platforms.   (though I guess for that to work, the config file
> would also need to add the reference cost (is it a non-random page access)
> as well...)
>

I'd think no, since random page cost doesn't actually map to any real world 
value.  Unless of course we wanted to add MV for "magic value", but then 
people would want to use that for everything ;-D

-- 
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [COMMITTERS] pgsql: Ah, I finally realize why Magnus
Next
From: Kris Jurka
Date:
Subject: cygwin initdb failure