s*******e 发帖数: 174 | 1 【 以下文字转载自 Database 讨论区 】
发信人: shrubRose (喵喵喵), 信区: Database
标 题: connection pool 面试题
发信站: BBS 未名空间站 (Fri Nov 20 14:15:07 2009, 美东)
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 connection |
|