Re: win32 performance - fsync question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: win32 performance - fsync question
Дата
Msg-id 10347.1108670469@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: win32 performance - fsync question  (Evgeny Rodichev <er@sai.msu.su>)
Ответы Re: win32 performance - fsync question  (Evgeny Rodichev <er@sai.msu.su>)
Список pgsql-hackers
Evgeny Rodichev <er@sai.msu.su> writes:
>> Any claimed TPS rate exceeding your disk drive's rotation rate is a
>> red flag.

> Write cache is enabled under Linux by default all the time I make deal
> with it (since 1993).

You're playing with fire.

> fsync() really works fine as I switch off my notebook everyday 2-3 times,
> and never had any data loss :)

Given that it's a notebook, it's possible that the hardware is smart
enough not to power down the disk until the disk is done writing
everything it's cached.  Do you care to try some experiments with
pulling out the battery while Postgres is busy making updates?
        regards, tom lane


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

Предыдущее
От: Evgeny Rodichev
Дата:
Сообщение: Re: win32 performance - fsync question
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: win32 performance - fsync question