IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  How to cache DB connection in WTX

    Posted 05/16/19 12:59 AM

    Originally posted by: RT123


    Hi,

     

    I am a beginner in IBM WTX/ITX and am currently using version 9.0.0.3 Wanted to understand how can we optimize connection to DB and make sure the connection isn't established every time we make a call to the DB tables. 

     

    Currently we pass the DB connection string as a parameter within the DBLOOKUP query, but everytime a DB call is made the connection re-established and actually effects performance. Please suggest how the connection can be cached?

     

    Thank you.


    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 2.  Re: How to cache DB connection in WTX

    Posted 05/17/19 05:40 AM

    Originally posted by: PaulBrett


    The Resource Manager will compare connection strings, and if it was used previously (and in the same transaction scope) it will be re-used automatically.

    Various factors affect this, such as settings in the dtx.ini file for Keep/Idle.

    Thank you.

    Paul

    Follow me on Twitter


    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 3.  Re: How to cache DB connection in WTX

    Posted 05/17/19 06:17 AM

    Originally posted by: RT123


    Thank You Paul.

    Can you please elaborate more on the setting which needs to be done on the dtx.ini file to ensure the DB connection and any setting which needs to be done on the map.

     

    Regards


    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 4.  Re: How to cache DB connection in WTX

    Posted 05/20/19 11:24 AM

    Originally posted by: PaulBrett


    The topic is too complicated for the forum, and it would be better if you posted an example (that is not currently working to your satisfaction) then perhaps I (or other contributing members of the forum) could give some insight as to why.

    Thank you.

    Paul

    Follow me on Twitter


    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange