사용자 도구

사이트 도구


database:seek_method

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
database:seek_method [2022/06/08 14:02]
kwon37xi [offset/limit 기반 페이징의 문제점]
database:seek_method [2023/05/31 13:27] (현재)
kwon37xi [seek method]
줄 1: 줄 1:
 ====== seek method ====== ====== seek method ======
 +  * 명칭이 명확하지 않음.
 +  * seek method, keyset pagination 등으로 불리는 듯.
 +  * [[java:jpa:springdatajpa|Spring Data JPA]] 3.1에 관련 기능이 추가됨.
 +    * https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#repositories.scrolling.keyset
 +
  
 ===== offset/limit 기반 페이징의 문제점 ===== ===== offset/limit 기반 페이징의 문제점 =====
줄 49: 줄 54:
   * [[https://www.eversql.com/faster-pagination-in-mysql-why-order-by-with-limit-and-offset-is-slow/|Why Order By With Limit and Offset is Slow - Faster Pagination in Mysql]]   * [[https://www.eversql.com/faster-pagination-in-mysql-why-order-by-with-limit-and-offset-is-slow/|Why Order By With Limit and Offset is Slow - Faster Pagination in Mysql]]
   * [[https://use-the-index-luke.com/sql/partial-results/fetch-next-page|OFFSET is bad for skipping previous rows]]   * [[https://use-the-index-luke.com/sql/partial-results/fetch-next-page|OFFSET is bad for skipping previous rows]]
 +  * [[https://use-the-index-luke.com/no-offset|We need tool support for keyset pagination]]
   * [[https://blog.jooq.org/faster-sql-paging-with-jooq-using-the-seek-method/|Faster SQL Pagination with jOOQ Using the Seek Method – Java, SQL and jOOQ.]]   * [[https://blog.jooq.org/faster-sql-paging-with-jooq-using-the-seek-method/|Faster SQL Pagination with jOOQ Using the Seek Method – Java, SQL and jOOQ.]]
   * [[https://techblog.woowahan.com/2662/|Spring Batch와 Querydsl]] : ''min(PK),max(PK)''를 비교 조건에 넣어야 하는 이유.   * [[https://techblog.woowahan.com/2662/|Spring Batch와 Querydsl]] : ''min(PK),max(PK)''를 비교 조건에 넣어야 하는 이유.
   * [[https://vladmihalcea.com/sql-seek-keyset-pagination/|SQL Seek Method or Keyset Pagination - Vlad Mihalcea]]   * [[https://vladmihalcea.com/sql-seek-keyset-pagination/|SQL Seek Method or Keyset Pagination - Vlad Mihalcea]]
 +
database/seek_method.1654664561.txt.gz · 마지막으로 수정됨: 2022/06/08 14:02 저자 kwon37xi