9.6 and fsync=off

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема 9.6 and fsync=off
Дата
Msg-id CAMsr+YGechDvrFj4xwoBWhJ7rW25Avqo+UqcyqbnS=LTFdGJ4g@mail.gmail.com
обсуждение исходный текст
Ответы Re: 9.6 and fsync=off  (Abhijit Menon-Sen <ams@2ndQuadrant.com>)
Re: 9.6 and fsync=off  (Greg Stark <stark@mit.edu>)
Список pgsql-hackers
Hi all

After helping clean up the mess from another user who turned fsync=off because they read (bad) tuning advice that it was faster, I'd really like to change the config file comment.

Really.

#fsync = on                             # turns forced synchronization on or off

Now, we can't rename fsync to disable_crash_safety=on or corrupt_my_database=on. But the comment needs changing.

How about:

#fsync = on                             # force disk flushes required for crash safety

or, preferably something like:

"Enable forced disk flushes when they are required for crash safety. Disabling fsync can lead to unrecoverable database corruption in a crash of the host system."

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Christian Ullrich
Дата:
Сообщение: Re: Parallel build with MSVC
Следующее
От: Abhijit Menon-Sen
Дата:
Сообщение: Re: 9.6 and fsync=off