Re: Slow query
MySQL don't use any index on table ip2isp
We will drop one index and add this two combined index ...
ALTER TABLE
DROP KEY isp2idx,
ADD KEY idx_start_end_loc (start, end, location),
ADD KEY idx_loc_start_end (location, start, end);
Now test you query and show the EXPLAIN again...
with kind regards,
Thomas
Subject
Views
Written By
Posted
3585
February 11, 2011 08:55AM
1098
February 12, 2011 03:32PM
1241
February 14, 2011 07:55AM
Re: Slow query
1031
February 14, 2011 08:12AM
894
February 14, 2011 09:59AM
800
February 14, 2011 10:57AM
825
February 14, 2011 06:51PM
1046
February 15, 2011 03:21AM
1240
February 15, 2011 11:17AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.