Drupal是否支持持久数据库连接?

时间:2021-04-29 00:59:08

Does Drupal support persistent DB connections?

Drupal是否支持持久数据库连接?

If yes, how do you set them up and what are the downsides?

如果是的话,你如何设置它们以及有什么缺点?

If no,... why not?

如果不是,......为什么不呢?

1 个解决方案

#1


1  

Not anymore, in Drupal <= 5 yes but it wasn't excatly recommended as each Apache process could potentially grab a connection and hold it until the DB was spitting requests back with Max connection errors

不再是,在Drupal中<= 5是的但是并没有激动地推荐它,因为每个Apache进程都可能抓住一个连接并保持它,直到DB用Max连接错误吐出请求为止

#1


1  

Not anymore, in Drupal <= 5 yes but it wasn't excatly recommended as each Apache process could potentially grab a connection and hold it until the DB was spitting requests back with Max connection errors

不再是,在Drupal中<= 5是的但是并没有激动地推荐它,因为每个Apache进程都可能抓住一个连接并保持它,直到DB用Max连接错误吐出请求为止