当limit 偏移越大时,mysql limit 的性能越差,
select * from t where id>=( select * from t order by id limit 99999,1)limit 100;
或
select * from t where id>=( select * from t limit 99999,1)limit 100;
当limit 偏移越大时,mysql limit 的性能越差,
select * from t where id>=( select * from t order by id limit 99999,1)limit 100;
或
select * from t where id>=( select * from t limit 99999,1)limit 100;
MySQL的limit优化
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M