MySQL & nested set: slow JOIN (not using index)

前端 未结 3 1633
野趣味
野趣味 2021-01-18 04:52

I have two tables:

localities:

CREATE TABLE `localities` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `type` varchar(3         


        
3条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-18 05:23

    try to experiment with forcing index - http://dev.mysql.com/doc/refman/5.1/en/index-hints.html, maybe it's just optimizer issue.

提交回复
热议问题