"SELECT *" versus "SELECT postid" makes a difference.
"SELECT COUNT(*)" versus "SELECT COUNT(postid)" however hardly makes a difference. This is already optimised by MySQL, and in both cases the only data returned is the count.
There can be many reasons why more data is pulled from the database then absolutly needed: 1 generic query versus a specific query for each process, the availability of all data to be used if needed,.....
Anyway, vB.org is not the right place to ask this. Better ask at vbulletin.com as the vB developers will see it there.
|