mysql 的分页查询方式在数据量达到几百W时性能急剧下降. limit 3000000,10000
这时需要通过用自增id来快速定位
where id>0 limit 10000
where id>上次查询的最大id limit 10000