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 :

http://i.imgur.com/oqmIi.png

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

Options: ReplyQuote


Subject
Views
Written By
Posted
Two table join not using indexes
1890
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.