Re: [pgsql-hackers-win32] Sync vs. fsync during checkpoint

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: [pgsql-hackers-win32] Sync vs. fsync during checkpoint
Дата
Msg-id 303E00EBDD07B943924382E153890E547AF40C@cuthbert.rcsinc.local
обсуждение исходный текст
Ответы Re: [pgsql-hackers-win32] Sync vs. fsync during checkpoint
Список pgsql-hackers
Kevin Brown wrote:

> I have no idea whether or not this approach would work in Windows.

The win32 API has ReadFileScatter/WriteFileScatter, which was developed
to handle these types of problems.  These two functions were added for
the sole purpose of making SQL server run faster.  They are always
asynchronous and are very efficient.  Perhaps the win32 port could just
deal with the synchronization with an eye for future optimizations down
the line?

Merlin


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