聚合函数(Aggregate Functions)AVG BOOL_AND BOOL_OR COUNT GROUP_CONCAT MAX MIN SUM SELECTIVITY STDDEV_POP STDDEV_SAMP VAR_POP VAR_SAMP 数值函数(Numeric Fu...
分类:
数据库 时间:
2015-09-06 14:40:03
阅读次数:
3599
默认oracle会收集表中各个列的统计信息,但是会忽略列之间的关联关系。在大多情况下,优化器假设在复杂查询中的列之间是独立的。当where子句后指定了一个表的多个列条件时,优化器通常会将多个列的选择性(selectivity)相乘得到where语句的选择性,导致优化器做出错误判断!Oracle 11...
分类:
其他好文 时间:
2015-08-21 15:26:13
阅读次数:
229
Estimator
The estimator determines the overall cost of a given execution plan. The estimator generates three different types of measures to achieve this goal:
Selectivity
This measure represe...
分类:
其他好文 时间:
2015-05-06 15:05:50
阅读次数:
223