For example I need to get a count of some particular data that is stored in table 1
and make joins to check some connections with table 2
, and all I need is to count(*)
does using COUNT(id)
is faster than COUNT(*)
, as far as I know MYISAM tables already have cached the count on the inner engine, but when I do operations like WHERE, JOIN, that cache doesn't work anymore right? or should I create a procedure or function in order to make it faster? will it be faster?