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

oops, sync with master #29

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

oops, sync with master #29

wants to merge 4 commits into from

Conversation

eac
Copy link
Contributor

@eac eac commented May 22, 2019

@@ -26,7 +26,7 @@

org = Organization.create!(name: 'test')
org.users.create!(email: '[email protected]')
users = User.where(email: '[email protected]').to_a # bumpity
users = User.where(email: '[email protected]').to_a # bumpity-bump

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Table Scan: postgres reads 100% (100000) of the of the rows in users, skipping any indexes.
  • Estimated query time: 0.02s

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.

2 participants