Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
PSanadi
Contributor II
Contributor II

Shared Oracle DB Connection and Parallelism

Hi All,

We are using tOracleConnection component with shared DB connection enabled. Once we register this connection there are multiple subjobs running in parallel using tParallelize and tFlowtoIterate to fetch data using select queries to write to a file. We are observing slowness in all the subjobs, can this be issue with shared connection ? How does shared connection with multiple subjobs executing in parallel works ?

Labels (2)
2 Replies
Anonymous
Not applicable

Hello,

 

It depends on the driver. Some drivers create a connection that makes all the parallel queries to single threaded. Some drivers allow the use of connection pool so a single connection can be used from multiple thread.

Sometimes this pooling is controlled by parameters.

 

I personally would run some tests (a simple DBMS_SESSION.SLEEP could help) and see how the runtime changes.

 

If you want to get an ide what happens inside the JDBC driver you can do that via visualVM or JFR recoridng as described here: https://community.talend.com/s/article/Using-VisualVM-to-record-Java-Issues?language=en_US

 

PSanadi
Contributor II
Contributor II
Author

Thanks, but we are using standard ojdbc jar provided by Talend studio - ojdbc8-19.3.0.0.jar

Any idea on how this jar works for our scenario.