Re: Remove fsync ON/OFF as a visible option?

Поиск
Список
Период
Сортировка
Искать
От
Mark Kirkwood
Тема
Re: Remove fsync ON/OFF as a visible option?
Дата
Msg-id
550D1715.9030503@catalyst.net.nz
Ответ на
Список
Дерево обсуждения
Remove fsync ON/OFF as a visible option? "Joshua D. Drake" <jd@commandprompt.com>
Re: Remove fsync ON/OFF as a visible option? Tom Lane <tgl@sss.pgh.pa.us>
Re: Remove fsync ON/OFF as a visible option? "Joshua D. Drake" <jd@commandprompt.com>
Re: Remove fsync ON/OFF as a visible option? Stephen Frost <sfrost@snowman.net>
Re: Remove fsync ON/OFF as a visible option? Tom Lane <tgl@sss.pgh.pa.us>
Re: Remove fsync ON/OFF as a visible option? David Fetter <david@fetter.org>
Re: Remove fsync ON/OFF as a visible option? "David G. Johnston" <david.g.johnston@gmail.com>
Re: Remove fsync ON/OFF as a visible option? Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: Remove fsync ON/OFF as a visible option? "Joshua D. Drake" <jd@commandprompt.com>
Re: Remove fsync ON/OFF as a visible option? Florian Weimer <fw@deneb.enyo.de>
Re: Remove fsync ON/OFF as a visible option? "David G. Johnston" <david.g.johnston@gmail.com>
Re: Remove fsync ON/OFF as a visible option? Florian Weimer <fw@deneb.enyo.de>
Re: Remove fsync ON/OFF as a visible option? Jeff Janes <jeff.janes@gmail.com>
Re: Remove fsync ON/OFF as a visible option? Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: Remove fsync ON/OFF as a visible option? Robert Haas <robertmhaas@gmail.com>
Re: Remove fsync ON/OFF as a visible option? Jeff Janes <jeff.janes@gmail.com>
Re: Remove fsync ON/OFF as a visible option? Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: Remove fsync ON/OFF as a visible option? Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: Remove fsync ON/OFF as a visible option? "Joshua D. Drake" <jd@commandprompt.com>
Re: Remove fsync ON/OFF as a visible option? Robert Haas <robertmhaas@gmail.com>
Re: Remove fsync ON/OFF as a visible option? Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: Remove fsync ON/OFF as a visible option? "Joshua D. Drake" <jd@commandprompt.com>
Re: Remove fsync ON/OFF as a visible option? Peter Geoghegan <pg@heroku.com>
Re: Remove fsync ON/OFF as a visible option? "Joshua D. Drake" <jd@commandprompt.com>
Re: Remove fsync ON/OFF as a visible option? Greg Stark <stark@mit.edu>
Re: Remove fsync ON/OFF as a visible option? Michael Paquier <michael.paquier@gmail.com>
Re: Remove fsync ON/OFF as a visible option? Jaime Casanova <jaime@2ndquadrant.com>
Re: Remove fsync ON/OFF as a visible option? Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: Remove fsync ON/OFF as a visible option? "Joshua D. Drake" <jd@commandprompt.com>
Re: Remove fsync ON/OFF as a visible option? Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: Remove fsync ON/OFF as a visible option? "Joshua D. Drake" <jd@commandprompt.com>
Re: Remove fsync ON/OFF as a visible option? Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: Remove fsync ON/OFF as a visible option? Jerry Sievers <gsievers19@comcast.net>
Re: Remove fsync ON/OFF as a visible option? Jaime Casanova <jaime@2ndquadrant.com>
Re: Remove fsync ON/OFF as a visible option? Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: Remove fsync ON/OFF as a visible option? "Joshua D. Drake" <jd@commandprompt.com>
Re: Remove fsync ON/OFF as a visible option? Jaime Casanova <jaime@2ndquadrant.com>
Re[2]: [HACKERS] Remove fsync ON/OFF as a visible option? Миша Тюрин <tmihail@bk.ru>
On 21/03/15 19:28, Jaime Casanova wrote:
> On Fri, Mar 20, 2015 at 11:29 PM, Michael Paquier
>  wrote:
>> On Sat, Mar 21, 2015 at 2:47 AM, Peter Geoghegan  wrote:
>>> On Fri, Mar 20, 2015 at 9:52 AM, Joshua D. Drake  wrote:
>>>> There are just as many people that are running with scissors that are now
>>>> running (or attempting to run) our elephant in production. Does it make
>>>> sense to remove fsync (and possibly full_page_writes) from such a visible
>>>> place as postgresql.conf?
>>>
>>> -1
>>>
>>> Anyone turning off fsync without even for a moment considering the
>>> consequences has only themselves to blame. I can't imagine why you'd
>>> want to remove full_page_writes or make it less visible either, since
>>> in principle it ought to be perfectly fine to turn it off in
>>> production once its verified as safe.
>>
>> -1 for its removal as well. It is still useful for developers to
>> emulate CPU-bounded loads...
>
> I fought to remove fsync before so i understand JD concerns. and yes,
> i have seen fsync=off in the field too...
>
> what about not removing it but not showing it in postgresql.conf? as a
> side note, i wonder why trace_sort is not in postgresql.conf...
> other option is to make it a compile setting, that why if you want to
> have it you need to compile and postgres' developers do that routinely
> anyway
>

-1

Personally I'm against hiding *any* settings. Choosing sensible defaults 
- yes! Hiding them - that reeks of secret squirrel nonsense and overpaid 
Oracle dbas that knew the undocumented settings for various 
capabilities. I think/hope that no open source project will try to 
emulate that meme!

Regards

Mark



В списке pgsql-hackers по дате отправления
От: Andrew Gierth
Дата:
От: Dean Rasheed
Дата:
FAQ