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

Inefficient schema retrieval on model instantiation #2

Open
senko opened this issue Aug 23, 2012 · 0 comments
Open

Inefficient schema retrieval on model instantiation #2

senko opened this issue Aug 23, 2012 · 0 comments
Labels

Comments

@senko
Copy link
Member

senko commented Aug 23, 2012

Every time an instance of the model is created, another query is fired up to fetch the schema. If we're getting multiple models (very likely), it's going to fire off O(n) additional querysets, which is pretty lousy performance-wise.

Need to find a good way of caching this metadata and invalidating it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant