使用纯索引子查询优化MySQL的分页查询速度
摘要:像这样的查询往往会耗费十几秒的时间SELECT * FROM news WHERE cat_id = 4 ORDER BY id DESC LIMIT150000, 10改进后SELECT id, value, LENGTH(stuffing) AS len FROM t_limit ORD...
阅读全文
posted @ 2012-03-22 12:37
posted @ 2012-03-22 12:37
posted @ 2012-03-08 21:18
posted @ 2012-03-01 00:24