which one is faster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Which one is faster?
select count(*) from talble
or
select count(id) from table
where id is the primary key.

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux