Precompilers and OCI (MOSC)

MOSC Banner

Multithreaded OCCI UDT streaming

edited Jan 2, 2014 2:55AM in Precompilers and OCI (MOSC) 3 commentsAnswered
 I've written an web service that serves information hosted in an Oracle SE database (11.2.0.3 Patch 24) through the OCCI C++ client library. The information is retrieved from object-views, as they seem to provide much better performance than holding objects in tables, and have used the OTT tool to provide OCCI compatible classes. The environment handle is initialised with both the threaded_mutex and object flags and I'm using a stateless homogeneous connection pool to retrieve the data. 
When making single requests the application works as expected, but as soon as I use multiple threads for the requests, the service falls over when doing the object deserialisation, typically during a call to oracle::occi::getVector().This code is unchanged from when I generated it from the OTT tool. The oracle client I'm using is 11.2.0.3 patch 27.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center