Re: Slow Queries Optimization
Posted by:
Rick James
Date: December 02, 2010 11:34PM
SELECT appid FROM Top_App WHERE idioma like 'es' LIMIT 0,18;
needs to do a table scan. But the table is small, so fixing this may not help much.
Change to
SELECT appid FROM Top_App WHERE idioma = 'es' LIMIT 0,18;
And add
INDEX(idioma)
Subject
Views
Written By
Posted
3011
December 01, 2010 02:42PM
Re: Slow Queries Optimization
1340
December 02, 2010 11:34PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.