|
原帖由 NHCS_cn 于 2007-12-6 10:04 发表 ![]()
如果SQL语句所需要的字段通过索引就能获得,则这个时候不需要使用索引去访问表,只需要Index Full Scan就可以完成SQL语句的执行,这个在有些时候是个不错的调优方法。
I suggest you drop the word "Full", because Index Full Scan is a specific scan method. Select empno from emp where empno=123 (a silly query!) would not read the table but the scan should be index unique scan assuming there's a unique index or PK on empno.
Index Full Scan is sometimes seen in cases Oracle wants to avoid sorting, especially when it has sort merge join in the plan or when first_rows hint is used.
Yong Huang |
|