avatar
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
avatar
gy
2
Good. 偶知道这个pool, 但是这些问题不知道怎么答呀. 哪位给说说??
avatar
s*c
3
这应该是Java, Middle tier的面试题吧。

do
the

【在 s*******e 的大作中提到】
: 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

avatar
c*d
4
我估计也是java里的东西
不过在oracle里也可以设置

【在 s***c 的大作中提到】
: 这应该是Java, Middle tier的面试题吧。
:
: do
: the

avatar
i*d
5
可是SQL Server里也有connection pool一说呀.
哪位达人给说说??
avatar
t*i
6
I am not a developer. But is there anything missing in the question?
connection life time? # of connections to increase and decrease?
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。