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 9DEE952A4D for ; Tue, 1 Mar 2005 05:27:23 +0000 (GMT) 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 98793-07 for ; Tue, 1 Mar 2005 05:27:15 +0000 (GMT) Received: from boutiquenumerique.com (boutiquenumerique.com [82.67.9.10]) by svr1.postgresql.org (Postfix) with ESMTP id A4128566F4 for ; Tue, 1 Mar 2005 05:27:13 +0000 (GMT) Received: (qmail 22621 invoked from network); 1 Mar 2005 06:27:55 +0100 Received: from unknown (HELO musicbox) (boutiquenumerique-lists@192.168.0.2) by boutiquenumerique.com with SMTP; 1 Mar 2005 06:27:55 +0100 Date: Tue, 01 Mar 2005 06:32:14 +0100 To: "Bruce Momjian" , "Magnus Hagander" Subject: Re: seq scan cache vs. index cache smackdown Cc: "Merlin Moncure" , "Josh Berkus" , pgsql-performance@postgresql.org References: <200502190411.j1J4B8T15005@candle.pha.pa.us> From: PFC Organization: =?iso-8859-15?Q?La_Boutique_Num=E9rique?= Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <200502190411.j1J4B8T15005@candle.pha.pa.us> User-Agent: Opera M2/7.54u1 (Linux, build 892) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/3 X-Sequence-Number: 10708 >> (For those not knowing - it's ReadFile/WriteFile where you pass an array >> of "this many bytes to this address" as parameters) > > Isn't that like the BSD writev()/readv() that Linux supports also? Is > that something we should be using on Unix if it is supported by the OS? Nope, readv()/writev() read/write from/to the file sequentially to/from a list of buffers in memory. The Windows calls read/write at random file offsets to/from a list of buffers.