pagination: Spring Data JPA Page vs Slice vs keyset Window scrolling, with the SQL and REST shapes
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4bLvQVbZweAqqf54x
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# 100,000 rows in category 'bulk'. H2 EXPLAIN ANALYZE reports scanCount: rows the database read.
|
||||
offset 0, fetch 10 scanCount: 10
|
||||
offset 90000, fetch 10 scanCount: 90,010
|
||||
keyset id > 90000, fetch 10 scanCount: 11
|
||||
|
||||
These are row counts, not timings. Timings depend on your database, indexes and cache.
|
||||
Reference in New Issue
Block a user