We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The Association model inherits from DjangoAssociationMixin, which performs a lookup when logging in. This lookup relies on the server_url and handle columns.
Association
server_url
handle
Due to the lack of indices on these columns this lookup results in a full table scan, which is non-performant for applications with large user bases.
Recommendations
DjangoAssociationMixin
The text was updated successfully, but these errors were encountered:
After a quick glance, the documentation doesn't mention DjangoAssociationMixin, so I'm not sure of the value of including it or where to include it.
Sorry, something went wrong.
No branches or pull requests
The
Association
model inherits from DjangoAssociationMixin, which performs a lookup when logging in. This lookup relies on theserver_url
andhandle
columns.Due to the lack of indices on these columns this lookup results in a full table scan, which is non-performant for applications with large user bases.
Recommendations
server_url
andhandle
columns of theAssociation
model.DjangoAssociationMixin
include the same compound index.The text was updated successfully, but these errors were encountered: