-----------------------+create index table_index on table(schedule_time asc);explain select runtime_id from table where schedule_time >= now() - INTERVAL 1 DAY;
+--mysql> explain select runtime_id from table where sch
我有一个表,它有一个曾经是VARCHAR的列record_datetime。我试着将它改为DateTime,但查询花费的时间要多得多,几乎是原来的10倍。为什么它会慢下来??这个表有将近1亿行,record_datetime是一个索引。我尝试运行的测试查询是FROM table1 AND `Source` =6
ORDER BY `r