cancel
Showing results for 
Search instead for 
Did you mean: 

What is an acceptable average time to get a connection?

former_member657110
Discoverer
0 Kudos

In the hybris administration console under the Tab "Monitoring" - "Database" - "Datasources", there is a text with some statistics about the connection pool. The last sentence contains a value for the average time to get a connection. The value is given in Milliseconds, which is a precision that implies a pretty short duration in the range of seconds or even split-seconds.

Is it correct, that this is the time it takes to get an existing connection out of the pool? What would be an acceptable value for this duration?

Accepted Solutions (1)

Accepted Solutions (1)

christoph_meyer
Active Participant
0 Kudos

I always suspect that value to be the total time for getting connections from the pool. The value constantly increases and if you divide it by the number of calls to getConnection() you end up with an acceptable value: something around 0.001 to 0.01 milliseconds per single get.

Answers (1)

Answers (1)

Former Member
0 Kudos

But this is really confusing should change the writeup in this case