http://www.jianshu.com/p/13941129c826

 

a、cursor游标式分页

select * from table where id >cursor limit pageSize

优点:
1)、能够避免数据重复/遗漏
2)、limit性能不会cursor数值大小影响,性能稳定
缺点:
1)、适用于只是按照时间追加的方式的简单排序

相关文章:

  • 2021-11-01
  • 2021-07-28
  • 2021-12-03
  • 2021-10-10
  • 2021-06-17
  • 2022-12-23
  • 2021-05-22
  • 2021-12-11
猜你喜欢
  • 2021-08-05
  • 2022-12-23
  • 2021-10-02
  • 2022-12-23
  • 2021-12-25
相关资源
相似解决方案