有关Oracle Index 的三个问题-索引也有好坏(转)[@more@] 索引有 B tree 索引, Bitmap 索引, Reverse b tree 索引, 等。最常用的是 B tree 索引。 B 的全称是 Balanced , 其意义是,从 tree 的 root 到任何一个 leaf ,要经过同样多的 level. 索引可以只有一个字段( Single column ) , 也可以有多个字段( Composite ) , 最多 32 个字段, 8I 还支持 Function-based index. 许多 developer 都倾向于使用单列 B 树索引。
除此之外呢?我们还是来看一个例子吧:
在 HP ( Oracle 8.1.7 ) 上执行以下语句:
除此之外呢?我们还是来看一个例子吧:
在 HP ( Oracle 8.1.7 ) 上执行以下语句:
CODE:
select count(1) from mytabs
where coid>=130000 and issuedate >= to_date ('2001-07-20', 'yyyy-mm-dd') 来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10617731/viewspace-960537/,如需转载,请注明出处,否则将追究法律责任。
上一篇:
Linux运行环境安装全解(转)
![]()
请登录后发表评论
登录
全部评论
<%=items[i].createtime%>
<%=items[i].content%> <%if(items[i].items.items.length) { %>
<%for(var j=0;j
<%}%> <%}%>
<%=items[i].items.items[j].createtime%>
<%=items[i].items.items[j].username%> 回复 <%=items[i].items.items[j].tousername%>: <%=items[i].items.items[j].content%>
还有<%=items[i].items.total-5%>条评论
) data-count=1 data-flag=true>点击查看
<%}%>
|
转载于:http://blog.itpub.net/10617731/viewspace-960537/