connection pool 面试题# Database - 数据库
s*e
1 楼
1. there are only 6 db connections in the pool, all 6 are being used,
another request needs to connect to DB, it does not want to wait. How to do
it? One solution is to make a new connection and add it to the pool. But the
interviewer wants standby solution. Anyone knows the standby solution?
Thanks
2. For the db connection. min = 10 and max = 40.
Will 10 connections be created at server start up time?
2.1 If we start with using 13 connections, when all the jobs are done, how
many will be kept i
another request needs to connect to DB, it does not want to wait. How to do
it? One solution is to make a new connection and add it to the pool. But the
interviewer wants standby solution. Anyone knows the standby solution?
Thanks
2. For the db connection. min = 10 and max = 40.
Will 10 connections be created at server start up time?
2.1 If we start with using 13 connections, when all the jobs are done, how
many will be kept i