Re: Join by date range unacceptably slow
MySQL version?
Run Explain on the query, then have a look at
https://dev.mysql.com/doc/refman/5.7/en/range-optimization.html to see of you can find an index configuration that helps.
If you can't, or if you have an older version, you may have to accumulate the counts in a temp table, then do the updates from that.
Subject
Views
Written By
Posted
1330
May 15, 2017 02:48PM
Re: Join by date range unacceptably slow
818
May 15, 2017 05:55PM
2573
May 16, 2017 01:49AM
1026
May 18, 2017 07:32AM
980
July 13, 2017 10:07AM
736
July 19, 2017 05:12AM
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.