On Jul 4, 2010, at 1:10 AM, Simon Litchfield wrote:

> For those of us using MySQL, having large tables, whilst also wanting
> queryset goodness --
> http://code.djangoproject.com/ticket/11003
> 
> It goes a little something like this --
> Model.objects.filter(field=value).with_hints('my_index')
> 
> All those in favour say I.

A very big aye from here.  For a very high traffic project backed by 20+ DB 
servers, not being able to hint inline was the #1 reason we had to write 
queries by hand for the public-facing portions, and it was a noticeable 
percentage of our total public queries (easily >10%).

George

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to