Database Tuning (MOSC)

MOSC Banner

IS NULL lead into Full Table Scan

edited Sep 2, 2012 1:27PM in Database Tuning (MOSC) 11 commentsAnswered
Dear Experts,

      One of our SQL is having IS NULL in where condition which is leading that Table into Full Table scan.

       Example

              select name from emp where eno is null;

        We do have an index on eno field but it is doing a full table scan. 

        How to avoid full table scan and increase the performance.

Regards

Mudhalvan M.M 

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