Connection pool: I can't find the sample C program cdemocp.c [message #190944] |
Sun, 03 September 2006 00:29 |
firestorm
Messages: 3 Registered: May 2005 Location: china
|
Junior Member |
|
|
I am testing the connection pool in OCCI and OCI.
In occi, use THREADED_MUTEXED and env-createConnectionPool,then create several threads. Each use the same connecton pool and all thread get the connection themself. When I use all these connection to execute my query. There a great chance that in some thread ,some oracle error would happen. Such as ORA-3113, ORA-12805, ORA-00021 .... Even sometime these query will block !
While if I don't use pool, and use env and create connection directly, It works well.
It seems that the occi connection pool never work well !
Then I tried to use OCI connection pool. But I can't find the sample code.
If who Have one, send it to lzhfire@hotmail.com. Thank you.
|
|
|