标签:
比如原来 SQL 语句是:
SELECT * FROM user u where u.id=100 order by u.update_time
SELECT * FROM user u force index(idx_user_id_update_time) where u.id=100 order by u.update_time
MySQL 调优 -- Using filesort
原文地址:http://blog.csdn.net/wenniuwuren/article/details/50380098