2010/10/26 Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
> 2010/10/26 Szymon Guz <mabewlun(at)gmail(dot)com>:
> >
> > Well, strange. Why is that slower?
>
> To answer that fully, you would need to see the implementation.
> suffice to say,
>
> count(a) does:
>
> if (a <> NULL)
> {
> count++;
> }
>
> and count(*) does:
>
> count++;
>
>
>
Yup, I was afraid of that, even if there is not null on the column... but I
think usually nobody notices the difference with count.
regards
Szymon