Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 932AB2E2F9B for ; Tue, 4 Dec 2007 11:53:43 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 68066-05 for ; Tue, 4 Dec 2007 11:53:39 -0400 (AST) Received: from pih-relay04.plus.net (pih-relay04.plus.net [212.159.14.131]) by postgresql.org (Postfix) with ESMTP id 64B6B2E2D7F for ; Tue, 4 Dec 2007 11:53:39 -0400 (AST) Received: from [80.229.150.39] (helo=mansionfamily.plus.com) by pih-relay04.plus.net with esmtp (Exim) id 1Iza5a-0005cZ-9Q for pgsql-performance@postgresql.org; Tue, 04 Dec 2007 15:53:38 +0000 Received: from [192.168.0.87] ([192.168.0.87]:1410) by mansionfamily.plus.com with [XMail 1.22 ESMTP Server] id for from ; Tue, 4 Dec 2007 15:58:40 -0000 Message-ID: <47557872.1000105@mansionfamily.plus.com> Date: Tue, 04 Dec 2007 15:55:30 +0000 From: James Mansion Organization: MsgWare User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Mark Mielke CC: matthew@flymine.org, pgsql-performance@postgresql.org Subject: Re: RAID arrays and performance References: <87lk8aiqf3.fsf@oxford.xeocode.com> <475559F4.7060104@mark.mielke.cc> <4755648C.90905@mark.mielke.cc> <87fxyiik94.fsf@oxford.xeocode.com> <47557519.6090506@mark.mielke.cc> In-Reply-To: <47557519.6090506@mark.mielke.cc> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/43 X-Sequence-Number: 27859 Mark Mielke wrote: > This assumes that you can know which pages to fetch ahead of time - > which you do not except for sequential read of a single table. > Why doesn't it help to issue IO ahead-of-time requests when you are scanning an index? You can read-ahead in index pages, and submit requests for data pages as soon as it is clear you'll want them. Doing so can allow the disks and OS to relax the order in which you receive them, which may allow you to process them while IO continues, and it may also optimise away some seeking and settle time. Maybe.