News for hackers. Stuff that matters.
Re:Faster offset pagination for Rails apps by Rapzid on Tuesday August 16, 2022 @10:05PM (#32491463)
Sure but as soon as you start sorting and that column isn't the same as your range clause column and your indexes are perfect.. Sortsville.
Re:Faster offset pagination for Rails apps by ajsharp on Wednesday August 17, 2022 @02:04PM (#32499695)
Yep. It's brittle but if you need offset LOTS of records (e.g. a timeline) it's prob the only way to do it semi-scalable without storing the index somewhere else (redis etc)