MySQL Forums
Forum List  »  Triggers

Re: Need help creating mysql trigger
Posted by: Larry Hale
Date: May 03, 2020 05:32PM

The query that took 7 minutes is as follows:

SELECT download.FILENAME , ip_lookup.country , ip_lookup.area , ip_lookup.city
FROM download
INNER JOIN ip_lookup ON download.IP_ADDRESS BETWEEN ip_lookup.start_ip and ip_lookup.end_ip
WHERE download.FILENAME is not null;

All ip address fields are indexed.

Options: ReplyQuote


Subject
Views
Written By
Posted
147
May 03, 2020 07:42AM
Re: Need help creating mysql trigger
31
May 03, 2020 05:32PM


Sorry, only registered users may post in this forum.

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.