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

[ResourceBundle] Don't use query walkers when pagination is called #1972

Merged
merged 1 commit into from
Oct 3, 2014

Conversation

stloyd
Copy link
Contributor

@stloyd stloyd commented Oct 3, 2014

This i.e. for product pagination removes one query run on whole table without index usage (you can guess how terrible it is when database have 90k products/variants).

before
after

note: please ignore time in that queries, both where cached by MySQL...

This i.e. for product pagination removes one query run on whole table without index usage (you can guess how terrible it is when database have 90k products/variants).
@peteward
Copy link

peteward commented Oct 3, 2014

You don't have to guess:

screen shot 2014-10-03 at 15 04 49

Now:

screen shot 2014-10-03 at 15 04 56

👍

pjedrzejewski pushed a commit that referenced this pull request Oct 3, 2014
[ResourceBundle] Don't use query walkers when pagination is called
@pjedrzejewski pjedrzejewski merged commit 363e88f into Sylius:master Oct 3, 2014
@pjedrzejewski
Copy link
Member

👍

@stloyd stloyd deleted the bugfix/pagination_count branch October 3, 2014 17:27
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.

3 participants