Re: Much Ado About COUNT(*)
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Jonah H. Harris" <jharris@tvi.edu>
Cc: pgsql-hackers@postgresql.org
Date: 2005-01-12T18:24:26Z
Lists: pgsql-hackers
"Jonah H. Harris" <jharris@tvi.edu> writes: > Tom, Bruce, and others involved in this recurring TODO discussion > First, let me start by saying that I understand this has been discussed > many times before; however, Id like to see what the current state of > affairs is regarding the possibility of using a unique index scan to > speed up the COUNT aggregate. It's not happening, because no one has come up with a workable proposal. In particular, we're not willing to slow down every other operation in order to make COUNT-*-with-no-WHERE-clause faster. regards, tom lane