limit分页慢的问题

线上通过limit同步到了后来非常慢:



 

建议通过id分页:

sql = "select * from message_message where id>%s order by id asc limit 100"%(last_message_id)

猜你喜欢

转载自san-yun.iteye.com/blog/1774241