Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Severe performance issues with Authlogic 3.2.0 #345

mperham opened this Issue · 2 comments

3 participants


Commit a889f9a changed the user lookup to use LOWER instead of LIKE. This is impossible to index in mysql so user lookup becomes a full table scan. We have millions of users so our production database went from <10% CPU to 300% CPU doing all of those scans.


Has there been any update to this change?

The issue seems to be described well at


Sorry, we're going to start managing this project better. How else could we do this? Going back to ILIKE is slow as well. I'm open to a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.