database - Should connection pool size be same as max_connections? -


i wondering if in read world scenarios, make sense have connection pool size != max_connections ?

the connection pool size size of available connections whereas max connections maximum of connections.

thoroughly, makes sense when max connections bigger connection pool size. standard case.

for example if have non regular peak in application , need more connections regular. these connections have initial overhead creation not strain system after not needed anymore.

generally, these settings decision how many resources should occupied permanently therefor available , limit of occupied resources.

what makes no sense have bigger connection pool max connections.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -