Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 53A7C2E30D2 for ; Sat, 12 Jan 2008 01:44:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 16158-09 for ; Sat, 12 Jan 2008 01:44:18 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id DB6862E30E2 for ; Sat, 12 Jan 2008 01:44:18 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id m0C5iEHS001637; Sat, 12 Jan 2008 00:44:14 -0500 (EST) To: andrew@pillette.com cc: "James DeMichele" , pgsql-performance@postgresql.org Subject: Re: Simple select, but takes long time In-reply-to: <200801120537.m0C5bTJ18551@pillette.com> References: <200801120537.m0C5bTJ18551@pillette.com> Comments: In-reply-to andrew@pillette.com message dated "Fri, 11 Jan 2008 21:37:29 -0800" Date: Sat, 12 Jan 2008 00:44:14 -0500 Message-ID: <1636.1200116654@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/103 X-Sequence-Number: 28342 andrew@pillette.com writes: > MySQL is using some sort of auto-clustering ISAM on the other box mayhaps? I think they probably count the index entries without ever visiting the table proper. Works great for mainly-static data ... regards, tom lane