performance - Mysql Find command has become very slow -
each of web requests involved couple of 'select' queries. table in question went 75,000 rows ~90,000 , select command slowed taking ~100ms ~1.2s
what best way find reason of sudden performance drop? imagine key can not stored in memory , causing drop. how check that?
please advise.
it sounds mysql shifting internal table memory disk. classic "tipping-point" mysql performance drops off cliff once reaches size. when realize default mysql configuration extremely conservative (even so-called "huge" config) , several server settings can increased @ least order of magnitude.
the first avenue of exploration use explain
on query , indications putting temporary table information on disk. more information available in mysql docs here , here
Comments
Post a Comment