Re: [pgsql-hackers-win32] Performance on Win32 vs Cygwin

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [pgsql-hackers-win32] Performance on Win32 vs Cygwin
Дата
Msg-id 11490.1097862911@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [pgsql-hackers-win32] Performance on Win32 vs Cygwin  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
Список pgsql-performance
"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> I'm pretty certain that previous to 8.0 no win32 based postgesql
> properly sync()ed the files.  Win32 does not have sync(), and it is
> impossible to emulate it without relying on the application to track
> which files to sync.  8.0 does this because it fsync()s the files
> individually.  Therefore, benchmarking fsync=on on 8.0 to a <8.0 version
> of windows is not apples to apples.  This includes, by the way, the SFU
> based port of postgresql because they didn't implement sync() there,
> either.

This is all true, but for performance testing I am not sure that you'd
notice much difference, because the sync or lack of it only happens
within checkpoints.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Tuning shared_buffers with ipcs ?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Does PostgreSQL run with Oracle?