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.area ,
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

Written By
May 03, 2020 07:42AM
Re: Need help creating mysql trigger
May 03, 2020 05:32PM

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.