摘要:对时间字段 trans_date 添加普通索引。 使用where trans_date = ‘’ 是肯定会使用索引的。 但是使用< , > 比较符时就不一定了。 select count(1) from A; // 40000 EXPLAIN select * from A where trans_
阅读全文
posted @ 2019-07-15 10:42
posted @ 2019-07-15 10:42
posted @ 2019-07-09 20:43
posted @ 2019-07-05 17:48