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"
83
July 11, 2018 01:00PM


Sorry, only registered users may post in this forum.

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.