Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Multi-threaded OCI Application Does Not Scale
> I have written a multi-threaded (pthreads) OCI program that INSERT's
> large quantities of data into an Oracle database. It works very
> reliably but does not scale well at all.
One of the possible reasons for the delays might be your memory-allocation
routine. If threads make calls to the global memory manager that serialises
mallocs using mutexes this can cause excessive waits, which are not related
to Oracle at all.
Kind Regards,
Alex
Received on Mon Jan 27 2003 - 14:44:23 CST