posted 10 years ago
Here are details:
explain select a.whoz_info_id, a.subject, a.price, a.modification_date, a.thumbnail, a.buy_sell, a.owner_dealer, a.int_content_1,a.double_content_1, a.int_content_3, a.division, a.source_url, a.other_hyperlink from whoz_info a, whoz_login b where a.whoz_statecity_id=35 and a.main_category='Automobiles' and a.whoz_login_id=b.whoz_login_id and b.is_locked=0 and a.sub_category='Cars+Trucks' and a.buy_sell=1 and a.flag_click<=3 and a.approved=1 order by a.modification_date desc LIMIT 0, 100
Partial Text
1 SIMPLE b ALL PRIMARY NULL NULL NULL 10 Using where; Using temporary; Using filesort
1 SIMPLE a ref idx_car_total,idx_car_detail,idx_community_friend_... idx_community_friend_total 134 const,const,const,findch2_.b.whoz_login_id 1314 Using where
Full Text
1 SIMPLE a index idx_car_total,idx_car_detail,idx_community_friend_total,idx_community_detail,idx_friend_detail,idx_house_goods_service_total,idx_house_detail,idx_login_all idx_purgeOld_detail 212 NULL 19892 Using where
1 SIMPLE b eq_ref PRIMARY PRIMARY 4 findch2_.a.whoz_login_id 1 Using where
When I say slow, it takes about 5-10 seconds to run one query.