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 518D78B9F5C for ; Tue, 15 Feb 2005 06:52:02 +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 74042-05 for ; Tue, 15 Feb 2005 06:51:53 +0000 (GMT) Received: from millenium.mst.co.jp (millenium.mst.co.jp [210.251.240.193]) by svr1.postgresql.org (Postfix) with ESMTP id B3D158B9E37 for ; Tue, 15 Feb 2005 06:51:51 +0000 (GMT) Received: from mst1x5r347kymb (lc12114 [192.168.1.114]) by millenium.mst.co.jp (8.11.6p2/3.7W) with SMTP id j1F6pLQ20262; Tue, 15 Feb 2005 15:51:21 +0900 Message-ID: <001e01c5132b$48efbe40$7201a8c0@mst1x5r347kymb> From: "Iain" To: "Rod Taylor" Cc: "Postgresql Performance" , "Mark Aufflick" References: <00a001c51312$35fb5510$7201a8c0@mst1x5r347kymb> <1108441251.67118.111.camel@home> Subject: Re: seq scan cache vs. index cache smackdown Date: Tue, 15 Feb 2005 15:55:02 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.008 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/231 X-Sequence-Number: 10560 Hi Rod, > Any solution fixing buffers should probably not take into consideration > the method being performed (do you really want to skip caching a > sequential scan of a 2 tuple table because it didn't use an index) but > the volume of data involved as compared to the size of the cache. Yes, in fact indexes aren't so different to tables really in that regard. It sounds like version 8 may help out anyway. regards Iain