PostgresSQL wiki建议寻找最佳数据库连接池大小的规则。
数量 = ((core_count * 2) + effective_spindle_count)
但它没有解释有效主轴数是多少以及如何找到该值。
postgresql max-connections
max-connections ×1
postgresql ×1