Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 560122E027A for ; Thu, 6 Mar 2008 12:06:11 -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 51139-07 for ; Thu, 6 Mar 2008 12:06:04 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.189]) by postgresql.org (Postfix) with ESMTP id 076842E02F2 for ; Thu, 6 Mar 2008 12:06:03 -0400 (AST) Received: by ti-out-0910.google.com with SMTP id y6so2817355tia.5 for ; Thu, 06 Mar 2008 08:06:02 -0800 (PST) Received: by 10.151.157.8 with SMTP id j8mr2051459ybo.86.1204819559528; Thu, 06 Mar 2008 08:05:59 -0800 (PST) Received: by 10.150.96.5 with HTTP; Thu, 6 Mar 2008 08:05:59 -0800 (PST) Message-ID: <937d27e10803060805h442eb120t73b2d256aabe1d51@mail.gmail.com> Date: Thu, 6 Mar 2008 16:05:59 +0000 From: "Dave Page" To: "Greg Smith" Subject: Re: count * performance issue Cc: pgsql-performance@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3E9C3A51-C28E-4B75-9739-E344DAC72880@fastcrypt.com> <47D00DB2.7040007@emolecules.com> <20080306153639.GA19442@samfundet.no> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/127 X-Sequence-Number: 29081 On Thu, Mar 6, 2008 at 3:49 PM, Greg Smith wrote: > > You only get this accelerated significantly when using MyISAM, which can > tell you an exact count of all the rows it hasn't corrupted yet. Please don't do that again. I'm going to have to spend the next hour cleaning coffee out of my laptop keyboard. :-) -- Dave Page EnterpriseDB UK Ltd: http://www.enterprisedb.com PostgreSQL UK 2008 Conference: http://www.postgresql.org.uk