1						
						
					MySQL Conference Liveblogging: MySQL Performance Under A Microscope: The Tobias And Jay Show (Wednesday 2:00PM)
Posted by Artem Russakovskii on April 16th, 2008 in Databases 
											
- Jay Pipes, Tobias Asplund
 - Finding out the number of rows that would have been returned (MyISAM and InnoDB)
 
- SQL_CALC_FOUND_ROWS and FOUND_ROWS()
 - COUNT(*)
 - MEMORY table
 - if query cache is on, then it makes no difference
 - if it's off
 
- Memory MyISAM is fastest
 - FOUND_ROWS() is slightly slower than count(*)
 
- SELECT … WHERE a UNION SELECT … WHERE b
vs
SELECT … WHERE a AND b - index_merge wins
 
- composite index is faster
 - of course, multiple indexes are more flexible than composite index
 
- …
 
