- 论坛徽章:
- 0
|
求教关于table access full的问题
表结构为:
SM_ID NUMBER(10) NOT NULL
SM_SUBID NUMBER(3) NOT NULL
ORGADDR VARCHAR2(21) NOT NULL
DESTADDR VARCHAR2(21) NOT NULL
FINAL VARCHAR2(21)
EXPIRE VARCHAR2(21)
ORGTON NUMBER(3)
DESTTON NUMBER(3)
PRI NUMBER(3)
PID NUMBER(3)
......
表索引为:
DESTADDR,FINAL
ORGADDR,EXPIRE
SM_ID,SM_SUBID
查询语句为:
select count(*) from SM_HisTable0727 where (OrgAddr = '8613xxxxxxxxx' and Expire >; '2005/07/27 00:00:00' and Expire < '2005/07/27 23:59:59');
分析结果为TABLE ACCESS FULL
别的表分析结果都是INDEX RANGE SCAN
求助! |
|