A while back I was debugging an API where page 1 returned in 5ms and page
50,000 took several seconds. Same query, same table, same indexes. The only
difference was one number in the URL.
This post is about why that happens, and how keyset pagination fixes it.
The problem with OFFSET







