X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6A61D32AB6A for ; Thu, 21 Oct 2004 16:02:26 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 47942-05 for ; Thu, 21 Oct 2004 15:02:16 +0000 (GMT) Received: from zoidberg.portrix.net (port-212-202-157-208.static.qsc.de [212.202.157.208]) by svr1.postgresql.org (Postfix) with ESMTP id 3C8D832A0E5 for ; Thu, 21 Oct 2004 16:02:09 +0100 (BST) Received: from [127.0.0.1] (port-212-202-157-213.static.qsc.de [212.202.157.213]) (authenticated bits=0) by zoidberg.portrix.net (8.12.3/8.12.3/Debian-6.6) with ESMTP id i9LF20Dd027395 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 21 Oct 2004 17:02:01 +0200 Message-ID: <4177CF68.2050108@ppp0.net> Date: Thu, 21 Oct 2004 17:02:00 +0200 From: Jan Dittmer User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040926 Thunderbird/0.8 Mnenhy/0.6.0.104 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Neil Conway Cc: matt@ymogen.net, pgsql-performance@postgresql.org Subject: Re: Anything to be gained from a 'Postgres Filesystem'? References: <008601c4b743$aff57f10$8300a8c0@solent> <4177A538.5070002@samurai.com> In-Reply-To: <4177A538.5070002@samurai.com> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.3 tagged_above=0.0 required=5.0 tests=UPPERCASE_25_50 X-Spam-Level: X-Archive-Number: 200410/354 X-Sequence-Number: 8830 Neil Conway wrote: > Also, I would imagine Win32 provides some means to inform the kernel > about your expected I/O pattern, but I haven't checked. Does anyone know > of any other relevant APIs? See CreateFile, Parameter dwFlagsAndAttributes http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/createfile.asp There is FILE_FLAG_NO_BUFFERING, FILE_FLAG_OPEN_NO_RECALL, FILE_FLAG_RANDOM_ACCESS and even FILE_FLAG_POSIX_SEMANTICS Jan