原帖由 "biti_rainy" 发表: 如果索引字段是 not null或者组合索引中不全为 null ,则 analyze table xxx compute statistics; 使得查询走cost-base 然后再执行 就使用了 非空 索引