Closed chamalis closed 12 months ago
Hi, Is there any reasoning behind removing row-number query type in #384 ? Theoretically the seek pagination is way faster than the limit/offset, in Postgresql, due to using the where clause instead the offset e.g: [1]
where
offset
Am I missing something? Thanks!
Hi @chamalis, For such cases, I guess cursor-based pagination will be a better option.
cursor-based
I ran several different benchmarks and implementation from #384 was always much slower rather than limit/offset approach.
Hi @uriyyo ,
Interesting! Thanks
Hi, Is there any reasoning behind removing row-number query type in #384 ? Theoretically the seek pagination is way faster than the limit/offset, in Postgresql, due to using the
where
clause instead theoffset
e.g: [1]Am I missing something? Thanks!