ORACLE SQL性能优化系列 (九)[6]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 black_snail 的 blog

     这里, oracle只用到了dept_no索引. 执行路径如下:

    

     table access by rowid on emp

          index range scan on dept_idx

 

译者按:

我们来试一下以下这种情况:

sql> select index_name, uniqueness from user_indexes where table_name = 'emp';

 

index_name                     uniquenes

------------------------------ ---------

empno                          unique

emptype                        nonunique

 

sql> select * from emp where empno >= 2 and emp_type = 'a' ;

本文关键:ORACLE PL/SQL TUNING PERFORMANCE
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top