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

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -