php mysql 百万,千万,亿级分页思路,效率很高

传统型
select * from t_card_coupon  limit 20000000,10 

 

高效型

select * from t_card_coupon where id in(
select id from (select id from t_card_coupon limit 20000000,10) as t
)

posted @ 2017-10-19 15:32  黑白配  阅读(786)  评论(0编辑  收藏  举报