MySQL Forums
Forum List  »  InnoDB

Re: Innodb full table scan if query return 0 rows
Posted by: thomas schiavello
Date: August 29, 2016 03:27AM

I have tried an index (plug, created)
this index speed up the query if there are no data in the specified range, but slow down any other query.
all my query must return data ordered by created field.
the index (plug, created) seem that cannot be used for ordering data, instead index (created, plug) can.

solving one issue will create a new one.

Options: ReplyQuote

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.