Mysql Explain Query show type “ALL” -


select id raod_busroute  from_des '%adheriya khal%' , to_des '%abhayapuri%' group from_des" 

when @ result, see reads entire table—all rows , columns. know bad, don't know how fix this.

thanks

because doing lookup wildcards in beginning of string, mysql cannot use indexes (if there any). needs full table scan.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -