View Single Post
  #4 (permalink)  
Old 04-16-2008, 10:48 PM
Mark^Bastard Mark^Bastard is offline
Junior Member
 
Join Date: May 2007
Posts: 15
Default

Quote:
Originally Posted by xentek View Post
MySQL count is probably faster, but not on star. Do it on your primary key field, and it should be faster.
Keep in mind this is only safe if the field you're counting on is 'not null'. Counting on fields skips null values.
Reply With Quote