| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> why does oracle not use the index pk_emp
i exec following sql in scott/tiger:
"explain plan for select empno from emp"
but it shows
| 0 | SELECT STATEMENT | | 82 | 1066 | 2 | | 1 | TABLE ACCESS FULL | EMP | 82 | 1066 | 2 |Note: cpu costing is off
--------------------------------------------------------------------
why doesn't it perform full index scan since pk_emp contain the empno
needed!
by the way, what 's meaning of "Note: cpu costing is off"?????
i am a freshman, thks! Received on Wed Mar 26 2003 - 21:37:19 CST
![]() |
![]() |