1.索引唯一扫描:谓语中包含使用unique 或primary key 索引的列作为条件的时候就会选用索引唯一扫描:
SQL>set autotrace traceonly exp
SQL>select * from hr.employees where employee_id =100;
ExecutionPlan
----------------------------------------------------------
Planhash value: 1833546154
---------------------------------------------------------------------------------------------
|Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time &