博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Skip Scanning of Indexes Advantages
阅读量:6823 次
发布时间:2019-06-26

本文共 1140 字,大约阅读时间需要 3 分钟。

What is skip scanning?

  In prior releases, a composite index would be used to retrieve the records, if the index prefix (leading) column was included in the predicate of the statement. With Oracle9i, the optimizer can use a composite index even if the prefix column value is not known. The optimizer uses an algorithm called skip scanning to retrieve ROWIDs for values that do not use the prefix column.        How does a skip scan work?   During a skip scan, the B*-tree is probed for each distinct value in the prefix column. Under each prefix column value, the normal search algorithm takes over. The result is a series of searches through subsets of the index, each of which appears to result from a query using a specific value of the prefix column. However, with the skip scan, the value of the prefix column in each subset is obtained from the initial index probe rather than from the command predicate. The optimizer uses the statistics to determine whether a skip scan retrieval would be more efficient than a full table scan, or other possible retrieval paths, when parsing

本文转自maclean_007 51CTO博客,原文链接:http://blog.51cto.com/maclean/1276731

转载地址:http://qbgzl.baihongyu.com/

你可能感兴趣的文章
Go语言的类型转换和类型断言
查看>>
Notpad++ 必备插件
查看>>
Apache Kylin v2.6.0 正式发布
查看>>
java 安装 jdk jre
查看>>
背景透明三种实现方法
查看>>
LINUX安装mysql详解:yum方式,适合linux新手
查看>>
代码注释规范
查看>>
Java:ArrayList和LinkedList区别
查看>>
MySQL索引原理及如何高效利用索引
查看>>
oracle表分区详解
查看>>
Nutch2 WebPage 字段解释
查看>>
Python入门(五) tuple
查看>>
autotools工具的使用
查看>>
javaWeb应用部署结构浅析
查看>>
NFS 服务器搭建
查看>>
Spring @Conditional条件注解
查看>>
SpringBoot 问题记录
查看>>
Java日志系统框架的设计与实现
查看>>
强上阿里云之客户端如何安全连接MYSQL
查看>>
运维管理平台系统架构简图
查看>>