Subject | Re: [Firebird-general] Re: History of Interbase's failure to make it to the big time. |
---|---|
Author | Helen Borrie |
Post date | 2005-10-20T11:54:29Z |
At 09:35 AM 20/10/2005 +0000, you wrote:
benchmarking the performance of databases on select count(*) from aTable,
as though it meant something.
Helen
> > Back at you, to ask yourself why select count(*) is a "weakness" atEr-hum, none of those examples does a count(*) on a whole table.
> > all? What on earth do you want it for? It has its possible uses
> > in aggregate queries, where it doesn't pose a performance problem,
> > but what is a sensible reason for counting all of the rows in a
> > table? And, if you do count them, which ones are you going to
> > count? and why?
>
>How about some OLAP-type queries:
>- how many orders did we ship last month?
>- how many customers have ordered widget X?
>Or think about a web forum, displaying the number of reads, comments,
>etc. for a specific article.
>I agree that index-based count(*) is probably not a must-have feature,Not discounting it at all. What I'm discounting is this obsession with
>but to discount it wholesale is a bit steep, I think.
benchmarking the performance of databases on select count(*) from aTable,
as though it meant something.
Helen