django-dynamic-model icon indicating copy to clipboard operation
django-dynamic-model copied to clipboard

Inefficient schema retrieval on model instantiation

Open senko opened this issue 12 years ago • 0 comments

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.

senko avatar Aug 23 '12 15:08 senko