目前共有5篇帖子。
PostgreSQL資料庫默認的最大連接數是100(SHOW max_connections;)。
修改/var/lib/pgsql/data/postgresql.conf文件,將第65行的max_connection = 100改成2000,然後sudo systemctl restart postgresql重啟資料庫,就可以提高最大連接數到2000。
內容轉換: