Database Tuning (MOSC)

MOSC Banner

Index Skip scan

edited Sep 28, 2011 9:57AM in Database Tuning (MOSC) 8 commentsAnswered
 
Edit   Reply
Hi

My oracle version is 11.2.0.2.0.
The below query is not using index though one composite index is present.
explain plan <font color="#000080"><b>for</b></font> SELECT code, type FROM MAT WHERE MAT.id = :1 ORDER BY code;
PLAN_TABLE_OUTPUT
------------------------------------------------------------------------------------------------------------------------
Plan hash value: 1862655975
 
------------------------------------------------------------------------------------------
| Id  | Operation          | Name                | Rows  | Bytes | Cost (%CPU)| Time     |
------------------------------------------------------------------------------------------
|   0 | SELECT STATEMENT   |                     |  2546 | 33098 |  

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