查询速度问题!!!!!!!!
一张表a,有5000万条记录,他有很多a1 char(14),a2 char(14),a3 char(14),a4 char(14),
a5 char(14),a6 char(14),列上都有索引,都not null
我之行
select * from a;
速度很快,
执行
select count(*) from a;
速度也很快
但是执行
select a2 from a where a1='BQQ11111111111';
速度慢的要死,就是说,用A1做条件查询别的列的时候速度很慢,我不知道为什么。请大虾执教!!