MySQL Forums :: Performance :: Index Not being used.


Advanced Search

Re: Index Not being used.
Posted by: Peter Brawley ()
Date: May 26, 2016 03:53PM

Left Join requires that the engine read all rows on the left side; the analyser decided it's simpler to bypass the index.

With an inner join, an index on ord_id, ord_date may help; play with the column order.



Edited 1 time(s). Last edit at 05/26/2016 03:53PM by Peter Brawley.

Options: ReplyQuote


Subject Views Written By Posted
Index Not being used. 680 Greg Mundt 05/26/2016 02:29PM
Re: Index Not being used. 354 Peter Brawley 05/26/2016 03:53PM
Re: Index Not being used. 369 Øystein Grøvlen 05/27/2016 12:45AM
Re: Index Not being used. 337 Greg Mundt 05/27/2016 07:05AM
Re: Index Not being used. 327 Rick James 05/27/2016 11:29PM
Re: Index Not being used. 329 Greg Mundt 05/31/2016 07:04AM
Re: Index Not being used. 326 Rick James 05/31/2016 09:26PM
Re: Index Not being used. 364 Greg Mundt 06/01/2016 05:40AM
Re: Index Not being used. 303 Rick James 06/01/2016 11:29AM
Re: Index Not being used. 352 Greg Mundt 06/01/2016 11:41AM
Re: Index Not being used. 354 Rick James 06/04/2016 05:14PM
Re: Index Not being used. 358 Greg Mundt 05/27/2016 10:14AM


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.