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

Add an index on _card_person_stats to make person pages faster. #5537

Merged
merged 2 commits into from Oct 10, 2018

Conversation

Projects
None yet
2 participants
@bakert
Collaborator

bakert commented Oct 10, 2018

This query takes 100ms-1s on local but less than 5ms with the index. It
was flagged as a slow_query during heavy db load so seems well worth
speeding up even though it's in our current reasonable range.

bakert added some commits Oct 10, 2018

Add an index on _card_person_stats to make person pages faster.
This query takes 100ms-1s on local but less than 5ms with the index. It
was flagged as a slow_query during heavy db load so seems well worth
speeding up even though it's in our current reasonable range.

@bakert bakert merged commit d5e2a00 into master Oct 10, 2018

2 of 4 checks passed

Codacy/PR Quality Review Hang in there, Codacy is reviewing your Pull request.
Details
pdm/automerge Waiting for Codacy/PR Quality Review
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@vorpal-buildbot

This comment has been minimized.

Show comment
Hide comment
@vorpal-buildbot

vorpal-buildbot Oct 10, 2018

Contributor

Seen on LOGS (merged by @bakert 1 minute and 20 seconds ago) Please check your changes!

Contributor

vorpal-buildbot commented Oct 10, 2018

Seen on LOGS (merged by @bakert 1 minute and 20 seconds ago) Please check your changes!

2 similar comments
@vorpal-buildbot

This comment has been minimized.

Show comment
Hide comment
@vorpal-buildbot

vorpal-buildbot Oct 10, 2018

Contributor

Seen on LOGS (merged by @bakert 1 minute and 20 seconds ago) Please check your changes!

Contributor

vorpal-buildbot commented Oct 10, 2018

Seen on LOGS (merged by @bakert 1 minute and 20 seconds ago) Please check your changes!

@vorpal-buildbot

This comment has been minimized.

Show comment
Hide comment
@vorpal-buildbot

vorpal-buildbot Oct 10, 2018

Contributor

Seen on LOGS (merged by @bakert 1 minute and 20 seconds ago) Please check your changes!

Contributor

vorpal-buildbot commented Oct 10, 2018

Seen on LOGS (merged by @bakert 1 minute and 20 seconds ago) Please check your changes!

@vorpal-buildbot

This comment has been minimized.

Show comment
Hide comment
@vorpal-buildbot

vorpal-buildbot Oct 10, 2018

Contributor

Seen on LOGS (merged by @bakert 1 minute and 23 seconds ago) Please check your changes!

Contributor

vorpal-buildbot commented Oct 10, 2018

Seen on LOGS (merged by @bakert 1 minute and 23 seconds ago) Please check your changes!

@vorpal-buildbot

This comment has been minimized.

Show comment
Hide comment
@vorpal-buildbot

vorpal-buildbot Oct 10, 2018

Contributor

Seen on LOGS (merged by @bakert 1 minute and 24 seconds ago) Please check your changes!

Contributor

vorpal-buildbot commented Oct 10, 2018

Seen on LOGS (merged by @bakert 1 minute and 24 seconds ago) Please check your changes!

@vorpal-buildbot

This comment has been minimized.

Show comment
Hide comment
@vorpal-buildbot

vorpal-buildbot Oct 10, 2018

Contributor

Seen on PROD (merged by @bakert 1 minute and 31 seconds ago) Please check your changes!

Contributor

vorpal-buildbot commented Oct 10, 2018

Seen on PROD (merged by @bakert 1 minute and 31 seconds ago) Please check your changes!

2 similar comments
@vorpal-buildbot

This comment has been minimized.

Show comment
Hide comment
@vorpal-buildbot

vorpal-buildbot Oct 10, 2018

Contributor

Seen on PROD (merged by @bakert 1 minute and 31 seconds ago) Please check your changes!

Contributor

vorpal-buildbot commented Oct 10, 2018

Seen on PROD (merged by @bakert 1 minute and 31 seconds ago) Please check your changes!

@vorpal-buildbot

This comment has been minimized.

Show comment
Hide comment
@vorpal-buildbot

vorpal-buildbot Oct 10, 2018

Contributor

Seen on PROD (merged by @bakert 1 minute and 31 seconds ago) Please check your changes!

Contributor

vorpal-buildbot commented Oct 10, 2018

Seen on PROD (merged by @bakert 1 minute and 31 seconds ago) Please check your changes!

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