karol t Posted January 27, 2021 Share Posted January 27, 2021 Hello, My DB admin asked by why I create a lot of sessions 1.5mln per day. As i found description about sessions in the internet TIBCO create sessions for each job is it correct Why Tibco does not use the same session for couple of the same jobs if Ihave flow Queue receiver -> JDBC Call procedure -> END TIbco create session for each EMS message Link to comment Share on other sites More sharing options...
Aditya Wagle Posted February 12, 2021 Share Posted February 12, 2021 BusinessWorks JDBC Shared resources uses a connection pool. Pool size is set on the JDBC Shared Resource. Sessions are internally created by the driver. Depending on the number of Shared Resources * no of active connections you will get a number of how many connections are created. You will need to check the driver documentation to figure out how many sessions this would create. Connections are scaled up upto max connections specified and again scaled down when no longer required(check idletimeout in documentation). Short answer no it will not create one 'connection per job'. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now