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 C41C33A4906 for ; Thu, 28 Oct 2004 17:31:33 +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 54390-05 for ; Thu, 28 Oct 2004 16:31:32 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 575F73A4921 for ; Thu, 28 Oct 2004 17:31:31 +0100 (BST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id i9SGVTdC002816; Thu, 28 Oct 2004 12:31:29 -0400 (EDT) To: Josh Berkus Cc: pgsql-performance@postgresql.org Subject: Re: Performance Anomalies in 7.4.5 In-reply-to: <200410280907.00445.josh@agliodbs.com> References: <20041028080109.E47A83A4828@svr1.postgresql.org> <200410280907.00445.josh@agliodbs.com> Comments: In-reply-to Josh Berkus message dated "Thu, 28 Oct 2004 09:07:00 -0700" Date: Thu, 28 Oct 2004 12:31:28 -0400 Message-ID: <2815.1098981088@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/462 X-Sequence-Number: 8938 Josh Berkus writes: >> One drawback to this is that it would require an additional lseek per table >> while planning, but that doesn't seem like a huge penalty. > Hmmm ... would the additional lseek take longer for larger tables, or would it > be a fixed cost? Should be pretty much a fixed cost: one kernel call per table. regards, tom lane