2010/10/26 Grzegorz Jaśkiewicz <gryz...@gmail.com>

> 2010/10/26 Szymon Guz <mabew...@gmail.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

Reply via email to