Friday, October 31, 2014

Re: Slow SQL query

Hi Erik,
Maybe Users doesn't belong in the Orders table? You could move the user to a different table which stores the <-> user_id relation, which would give a fast lookup on user_id and thus easy access to the index.
Interesting idea! I'll think about it.


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
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment