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 [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
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 <https://groups.google.com/d/msgid/django-users/525f6423-f10b-40f7-8514-d3b5af225d96%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
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 [email protected].
To post to this group, send email to [email protected].
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/54942F0E.2010003%40arkade.info.
For more options, visit https://groups.google.com/d/optout.

Reply via email to