better way is using storing procedure.
You  also can compare trivial SQL command and stored procedure
performance.  Result is a same  such as django and stored procedure (or
near to the same)

Many thanks,

Serge


+380 636150445
skype: skhohlov

On Fri, Jan 8, 2016 at 4:30 PM, Maor Levy <[email protected]> wrote:

> I was wondering what the performance hit on using a django query over a
> stored procedure would be? I realize that django doesn't support stored
> procedures so that's why I was hoping to avoid using stored procedures.
> However, then the query won't be compiled in the db and the calculations
> would have to be done in python ... etc. What's the difference in
> performance between a django query and a store procedure called from django?
>
> --
> 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 https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/58776ba6-c4de-4110-92f2-6f915e4a7e38%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/58776ba6-c4de-4110-92f2-6f915e4a7e38%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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADTRxJMGfHAu6K5qBzCxWV6cphhbqG3AQEY1JMSMMpu8J6yVFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to