MySQL Forums
Forum List  »  Performance

Two table join not using indexes
Posted by: Yash Desai
Date: March 10, 2011 02:11PM

I am just not able to get the table indexes to use themselves in this table join :

explain select n.* from npi n,npi_taxonomy nt where n.NPI=nt.NPI_CODE;

Here is the output of explain that i am getting :

As you can see, it finds the key in possible_keys column but the key column is empty. Please help.

Options: ReplyQuote

Written By
Two table join not using indexes
March 10, 2011 02:11PM

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.