Friday, December 19, 2014

Re: Optimizing has_perm query time on PERMISSION AND GROUP PERMISSION

Hey mohd,

How do you know the CPU burnt come from the method has_perm?
Did you dump the query and play it again?

It's most likely to be something else FMPOV. The has_perm is just a simple
query in DB...

aRkadeFR

On 12/18/2014 05:27 PM, mohd irshad wrote:
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