MySQL Forums
Forum List  »  InnoDB

Re: Very slow "creating sort index"
Posted by: Stephan Weinberger
Date: July 11, 2018 01:00PM

An ANALYZE did solve the problem, for some reason some of the partitions seem to have had outdated index statistics, causing mysql not to use the index at all but apparently sort the whole table, before applying the where-condition (which results in 0 returned rows). Honestly, I cannot imagine a scenario, where this approach would make any sense.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Very slow "creating sort index"
3464
July 11, 2018 01:00PM


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.