Thursday, December 18, 2014

Optimizing has_perm query time on PERMISSION AND GROUP PERMISSION

Hello , 
I am constantly facing face max cpu usage problem because of few database (postgres) heavy query has_perm is one of them.

how can I optimized such query.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/525f6423-f10b-40f7-8514-d3b5af225d96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment