#6161: Oracle support for queryset-refactor.
----------------------------+-----------------------------------------------
Reporter: jbronn | Owner: mtredinnick
Status: new | Component: Database wrapper
Version: other branch | Resolution:
Keywords: qs-rf oracle | Stage: Accepted
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
----------------------------+-----------------------------------------------
Comment (by mtredinnick):
Thanks for look at this, Ian.
"Sitting and spinning" sadly isn't something I can debug, however. I'm
kind of awake during your mornings at the moment (and on IRC and IM), so
grab me if you get a chance and we can bounce some ideas around. I don't
have a functional Oracle install at the moment (vmware is disagreeing with
my kernel again), so if you do want to pick this up and see what happens,
I'm here to help.
One thing I just thought of: the save() path has changed to do less direct
SQL and instead go through the insert() method on QuerySet. That's a
little slower than the direct approach, but there's still optimisation
possibilities there. It's only a few percent slower, though, not 15
minutes slower. However, although it shouldn't be changing the
functionality, it's possible I'm doing something silly that doesn't port
well to Oracle. So might want to print out all the SQL that is generated
by, say, QuerySet.exeute_sql() to see if we're really sending queries to
the database -- that's the last point of call before we talk to the db ,so
it's a good chokepoint.
--
Ticket URL: <
http://code.djangoproject.com/ticket/6161#comment:4>