> Den 23/01/2015 kl. 08.19 skrev James Schneider <jrschneide...@gmail.com>: > > How many results do you typically get back from that query?
There should be only one result, right? Since the "markid" field is defined as unique and OP is filtering on that with a single value. First thing to check is that the actual column in Oracle is also unique, and that there is an index on that column alone. AFAIK Django creates an index automatically on unique fields. The cx_oracle client may be cheating by returning when the query completed, but before results are actually fetched. Erik -- 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+unsubscr...@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/0898444F-6539-4191-B766-BFE248586F37%40cederstrand.dk. For more options, visit https://groups.google.com/d/optout.