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

From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
To: "Kevin Brown" <kevin(at)sysexperts(dot)com>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [pgsql-hackers-win32] Sync vs. fsync during checkpoint
Date: 2004-02-07 14:46:12
Message-ID: 303E00EBDD07B943924382E153890E547AF40C@cuthbert.rcsinc.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message ziga 2004-02-07 15:04:22 Renaming tables to other schemas
Previous Message Kevin Brown 2004-02-07 12:33:51 Re: [pgsql-hackers-win32] Sync vs. fsync during checkpoint