select message.* from totoro_message as message left join totoro_message_status as status on message.id = status.mid where message.to_uid = 0 and status.uid is null order by message.create_time desc
我在 totoro_message 表上建了一个多列索引(to_uid, create_time)
explain 语句后发现确实使用上了这个索引,但似乎只使用了一半,结果显示using filesort。
请问 ,要怎么把using filesort去掉?
|