The performance of mysql's paging query method drops sharply when the amount of data reaches several hundred W. limit 3000000,10000
At this time, you need to use the auto-increment id to quickly locate
where id>0 limit 10000
where id > the maximum id limit of the last query 10000