Skip site navigation (1) Skip section navigation (2)

Re: Performance of count(*)

From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
Cc: "Andreas Tille" <tillea(at)rki(dot)de>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Performance of count(*)
Date: 2007-03-22 14:33:29
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
On 3/22/07, Merlin Moncure <mmoncure(at)gmail(dot)com> wrote:
> As others suggest select count(*) from table is very special case
> which non-mvcc databases can optimize for.

Well, other MVCC database still do it faster than we do.  However, I
think we'll be able to use the dead space map for speeding this up a
bit wouldn't we?

Jonah H. Harris, Software Architect | phone: 732.331.1324
EnterpriseDB Corporation            | fax: 732.331.1301
33 Wood Ave S, 3rd Floor            | jharris(at)enterprisedb(dot)com
Iselin, New Jersey 08830            |

In response to


pgsql-performance by date

Next:From: Mario WeilguniDate: 2007-03-22 14:36:32
Subject: Re: Performance of count(*)
Previous:From: Michael StoneDate: 2007-03-22 14:18:10
Subject: Re: Performance of count(*)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group