MySQL Forums
Forum List  »  Newbie

SELECT executing too long
Posted by: Andrei Verbitskii
Date: February 24, 2023 06:33AM

SELECT FROM records r WHERE r.filedate >=1674615600.0 AND r.filedate <=1677294000.0 ORDER BY r.filename ASC LIMIT 2

BUT... query without "LIMIT 2" value execute fast

what happened?

MySQL 8.0.23. Linux (aarch64).

Options: ReplyQuote

Written By
SELECT executing too long
February 24, 2023 06:33AM
February 27, 2023 08:00AM

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.