Hi! I have an OCI application that makes one OCIEnvCreate call with OCI_THREADED attribute at main then creates N threads as needed; each thread with its own OCIServerAttach and OCISessionBegin.
We observed an interesting result when testing it using a wide stored procedure (with more than 450 I/O parameters). Both the response time and throughput of running 4 instances of this application as single thread app is better than running 1 instance of this app with 4 threads. We checked the server side there was no difference in the execution time. So it would seem to be a contention in the client side. Are there any parameter that I need to tune for multi-threaded OCI application at the Oracle client level?
We have tried both 8.1.7.4 and 9.2.0.3 clients on Widnwos and on Solaris.
Thank you!
Regards, Nancy
We observed an interesting result when testing it using a wide stored procedure (with more than 450 I/O parameters). Both the response time and throughput of running 4 instances of this application as single thread app is better than running 1 instance of this app with 4 threads. We checked the server side there was no difference in the execution time. So it would seem to be a contention in the client side. Are there any parameter that I need to tune for multi-threaded OCI application at the Oracle client level?
We have tried both 8.1.7.4 and 9.2.0.3 clients on Widnwos and on Solaris.
Thank you!
Regards, Nancy