Answer by Rick James for Trouble Figuring out why My Query is so slow
Ouch. What a nightmare!Step 1: Find the 10 values of listlineitems.idx that are of interest. To assist this, have INDEX(dateEntered, idx).Step 2: Make that the subquery to get the thing startedStep 3...
View ArticleAnswer by Abecee for Trouble Figuring out why My Query is so slow
Turning comments into an answer…To start with: Different LIMITs changing hardly anything is due to the fact, all the hard work of collecting and sorting the data has to be done before the limit is...
View ArticleTrouble Figuring out why My Query is so slow
I have a query that takes 15 seconds to get 350 results in a MySQL 5.6 Server and I am unable to diagnose why, I am still very new to database optimizing. UThe EXPLAIN visual does show some non-unique...
View Article
More Pages to Explore .....