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
Post a Comment