Performance tips?
Posted: Tue 20 Sep 2011 00:11
My query takes 3 min 16 seconds to run when I run it from managed code.
When I paste the generated sql to Oracle SQL Developer it takes about 8 seconds.
Why does it take so much longer from code? How can I make it faster? I have already followed the instructions found here: http://www.devart.com/forums/viewtopic.php?t=18928
regarding precompiling the query.
The query returns about 162k rows.
I've seen a few references to a switch called ObjectTrackingEnabled however I cannot figure out how to use that. My query is read-only so if could turn off change tracking that would most likely help.
Thanks,
Sam
When I paste the generated sql to Oracle SQL Developer it takes about 8 seconds.
Why does it take so much longer from code? How can I make it faster? I have already followed the instructions found here: http://www.devart.com/forums/viewtopic.php?t=18928
regarding precompiling the query.
The query returns about 162k rows.
I've seen a few references to a switch called ObjectTrackingEnabled however I cannot figure out how to use that. My query is read-only so if could turn off change tracking that would most likely help.
Thanks,
Sam