MySQL Forums
Forum List  »  InnoDB

Re: Help on Query with DATE BETWEEN not performant
Posted by: Peter Brawley
Date: February 03, 2020 08:38PM

>.results were linear from 5-10 seconds to 160+sec

Let's clarify something. These timings are not the time it takes to return thousands of rows, right? They're just the time to when the query returns its count? That should be less than a second (as it is on an 8.0.18 table here with 2m rows).

Assuming that, linear is expected, 160 secs is two orders of magnitude too slow, something is seriously wrong.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Help on Query with DATE BETWEEN not performant
305
February 03, 2020 08:38PM


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.