Tag: Open Source

Community

InnoDB Row Counting using Indexes

(Parvesh Garg) This is always mentioned that InnoDB is slower in giving results for COUNT(*) as compared to MyISAM. But as Peter points out in his blog that this fact only applies to COUNT(*) queries without WHERE clause. This text is from Peter’s blog only – “If you have query like SELECT COUNT(*)

Community

mysql query cache

(Jayant Kumar) Mysql 4+ has a feature known as query cache. Here mysql caches the result set. So suppose a query is run and it takes 5 seconds to run and query cache is enabled, so results are cached in the cache. Next time if the same query is run again (remember – exactly same query that is strcmp