Direct Connect Performance Issues
Posted: Wed 21 Apr 2010 22:11
I'm evaluating dotConnect for Oracle as a replacement for our current ODP.net solution. I created a simple test scenario with two queries repeated 10,000 times. The first was a simple 'select *' from a small table the second a select from a larger table of 16,000 records using a parameter to return appx. 10 rows via a DataReader.
In OCI mode the dotConnect version ran a hair slower with the first query and a good bit faster in the second over ODP.net. What concerned me was when in Direct Connect mode the performance took a significant hit. The second query was roughly 30% slower than ODP.net. The second test set was also running in 64bit mode so I was surprised with the 32bit OCI still beating it out.
I'm wondering if anybody has had similar experiences with Direct Connect. Is it understood to be slower than OCI/ODP.net or are there tricks / tweaks to get at least comparable performance?
Any thoughts or insight would be appreciated.
Thanks!
Sieg Nagel
In OCI mode the dotConnect version ran a hair slower with the first query and a good bit faster in the second over ODP.net. What concerned me was when in Direct Connect mode the performance took a significant hit. The second query was roughly 30% slower than ODP.net. The second test set was also running in 64bit mode so I was surprised with the 32bit OCI still beating it out.
I'm wondering if anybody has had similar experiences with Direct Connect. Is it understood to be slower than OCI/ODP.net or are there tricks / tweaks to get at least comparable performance?
Any thoughts or insight would be appreciated.
Thanks!
Sieg Nagel