Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eventually, remove SelectOffset #26

Open
peterbourgon opened this issue Aug 9, 2014 · 1 comment
Open

Eventually, remove SelectOffset #26

peterbourgon opened this issue Aug 9, 2014 · 1 comment

Comments

@peterbourgon
Copy link
Contributor

I believe with some testing, the SelectRange mechanism can completely obviate SelectOffset.

@tsenart
Copy link

tsenart commented Aug 9, 2014

Agreed. I think this is true for pagination in any database as long as the chosen cursor is well indexed. As an example, MySQL OFFSET, LIMIT pagination needs to perform full table scans while BETWEEN with PK as a cursor is very efficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants