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

Avoiding full table scan when looking for inclusions. #677

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rudaporto
Copy link

@rudaporto rudaporto commented Jan 26, 2018

This reduced the GET collection time from 3 seconds to 140ms: default pagination and a table with 80747 records. (database MySQL)

  • Simple patch to guess the number of records and avoiding full table scan.

Can someone review this and let me know if I need something else to the this approved.

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

Successfully merging this pull request may close these issues.

None yet

2 participants