易截截图软件、单文件、免安装、纯绿色、仅160KB

Oracle中的covering index

 CSDN里的一个朋友问到了这个索引覆盖的概念。 这个概念很小的知识点,在我的论坛里有解释“”,不过作为Oracle版主,不能在回帖里加上网外的地址链接,所以这里在CSDN里帖上一份
比如有复合索引为3个字段:f1 + f2 + f3,请问: 
1: select f1, f2, f3, f4 from table where f1 = 'XX' and f2 = 'XX'. 
2: select f1, f2, f3 from table where f1 = 'XX' and f2 = 'XX'. 
有人说1符合索引覆盖, 有人说只有2才符合, 请问哪个对?
Oracle中的covering index(应该翻译成覆盖索引)是指 
http://www.inthirties.com/thread-458-2-1.html
# A covering index is an index, which includes all of the columns referenced in the query. So the creating covering index can improve performance because all the data for the query is contained within the index itself and only the index pages, not the data pages, will be used to retrieve the data. Covering indexes can bring a lot of performance to a query, because it can save a huge amount of I/O operations. 
从这个定义上讲,2符合,1不符合。


相关文档:

WindowsXP下ORACLE 10g安装与操作图解

 出处:http://hi.baidu.com/vcy168/blog/item/877945d908c3d52611df9ba0.html
Windows下ORACLE 10g安装与操作图解
刚刚接触ORACLE的人来说,从那里学,如何学,有那些工具可以使用,应该执行什么操作,一定回感到无助。所以在学习使用ORACLE之前,首先来安装一下ORACLE 10g,在来掌握其基本工具。俗话说的好:工欲善其事 ......

Oracle 存储过程

 
create or replace procedure p   //有就替换,没有就创建
is
     cursor c is
         select * from emp for update;
begin
  for v_emp in c loop
      if (v_emp.deptno =10) then
 &nb ......

Oracle 分析函数


   分析函数是oracle816引入的一个全新的概念,为我们分析数据提供了一种简单高效的处理方式.在分析函数出现以前,我们必须使用自联查询,子查询或者内联视图,甚至复杂的存储过程实现的语句,现在只要一条简单的sql语句就可以实现了,而且在执行效率方面也有相当大的提高.
下面主要介绍一下以下几个函数的使用 ......

oracle job 相关

begin
  sys.dbms_job.submit(job => :job,
                      what => 'p_apip_price_send;',
              &nbs ......

Oracle中TO_DATE格式

 TO_DATE格式(以时间:2007-11-02   13:45:25为例)
  
        Year:     
        yy two digits 两位年              ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号