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 9035452983 for ; Thu, 11 Aug 2005 19:21:46 -0300 (ADT) 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 37218-06 for ; Thu, 11 Aug 2005 22:21:42 +0000 (GMT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by svr1.postgresql.org (Postfix) with ESMTP id E382D5301B for ; Thu, 11 Aug 2005 19:21:41 -0300 (ADT) Received: from [192.168.1.52] (c-24-60-119-214.hsd1.ma.comcast.net[24.60.119.214]) by comcast.net (rwcrmhc11) with ESMTP id <2005081122210201300ohcjhe>; Thu, 11 Aug 2005 22:21:02 +0000 Message-ID: <42FBCF4D.6060002@comcast.net> Date: Thu, 11 Aug 2005 18:21:01 -0400 From: Jeffrey Tenny User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Mostly read performance Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.544 tagged_above=0 required=5 tests=[AWL=-0.698, DNS_FROM_RFC_ABUSE=0.374, DNS_FROM_RFC_POST=1.376, DNS_FROM_RFC_WHOIS=0.492] X-Spam-Level: * X-Archive-Number: 200508/134 X-Sequence-Number: 13881 I have a largely table-append-only application where most transactions are read-intensive and many are read-only. The transactions may span many tables, and in some cases might need to pull 70 MB of data out of a couple of the larger tables. In 7.3, I don't seem to see any file system or other caching that helps with repeated reads of the 70MB of data. Secondary fetches are pretty much as slow as the first fetch. (The 70MB in this example might take place via 2000 calls to a parameterized statement via JDBC). Were there changes after 7.3 w.r.t. caching of data? I read this list and see people saying that 8.0 will use the native file system cache to good effect. Is this true? Is it supposed to work with 7.3? Is there something I need to do to get postgresql to take advatage of large ram systems? Thanks for any advice.