From: Jonah H. Harris <jonah.harris@gmail.com>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Andreas Tille <tillea@rki.de>
Cc: pgsql-performance@postgresql.org
Subject: Re: Performance of count(*)
Date: Thu, 22 Mar 2007 10:33:29 -0400
Message-ID: <36e682920703220733s322788f7i5f89339466c7938c@mail.gmail.com> (raw)
In-Reply-To: <b42b73150703220639x40dbac7en29318778b43e1e4c@mail.gmail.com>
References: <Pine.LNX.4.62.0703221149210.13747@wr-linux02>
<b42b73150703220639x40dbac7en29318778b43e1e4c@mail.gmail.com>
On 3/22/07, Merlin Moncure <mmoncure@gmail.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@enterprisedb.com
Iselin, New Jersey 08830 | http://www.enterprisedb.com/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: jonah.harris@gmail.com, mmoncure@gmail.com, tillea@rki.de
Subject: Re: Performance of count(*)
In-Reply-To: <36e682920703220733s322788f7i5f89339466c7938c@mail.gmail.com>
References: <Pine.LNX.4.62.0703221149210.13747@wr-linux02> <b42b73150703220639x40dbac7en29318778b43e1e4c@mail.gmail.com> <36e682920703220733s322788f7i5f89339466c7938c@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox