Database Tuning (MOSC)

MOSC Banner

Query Execution Plan

edited Oct 23, 2009 11:51PM in Database Tuning (MOSC) 10 commentsAnswered
   Hello,

I am facing one problem relating oracle index.

I am running below query.

SELECT NameEntityType2.NameKey FROM Name NameEntityType2, NameTelecom WHERE NameEntityType2.NameKey = NameTelecom.NameKey (+)and( UPPER (NameEntityType2.NameCode) LIKE 'MECC%') 

On table name namekey is primary key and on table nametelecom namekey is primary and function based index is present on namecode column.

Now the problem is that when i am checking the execution plan of above query it show name is access full(oracle is not using index for accessing name table) but i want oracle should use this index to retrive data from name table.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center