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

From Merlin Moncure
Subject Re: [pgsql-hackers-win32] Sync vs. fsync during checkpoint
Date
Msg-id 303E00EBDD07B943924382E153890E547AF40C@cuthbert.rcsinc.local
Whole thread Raw
Responses Re: [pgsql-hackers-win32] Sync vs. fsync during checkpoint  (Kevin Brown <kevin@sysexperts.com>)
List 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 by date:

Previous
From: Kevin Brown
Date:
Subject: Re: [pgsql-hackers-win32] Sync vs. fsync during checkpoint
Next
From: ziga@ljudmila.org
Date:
Subject: Renaming tables to other schemas