QUOTE:
原帖由
duolanshizhe 于 2008-9-10 19:46 发表

select col1,col2,col3,c0l4,col5
from tab1
where col5 = '1.2.392.200036.9116.2.5.1.48.1215491107.1207119889.188062';
Execution Plan
----------------------------------------------------------
Plan hash value: 2354221835
------------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1819K| 404M| 55890 (1)| 00:11:11 |
|* 1 | TABLE ACCESS FULL| tab1 | 1819K| 404M| 55890 (1)| 00:11:11 |
------------------------------------------------------------------------------------
Predicate Information (identified by operation id):
---------------------------------------------------
1 - filter("col5"='1.2.392.200036.9116.2.5.1.48.1215491107.1207119889.188062')
这个表上col5上是由索引的,为啥没有使用?为啥优化器认为表中的记录数是 1819K,而实际上是7688K左右?