查询当前数据库连接数 gpconfig -s max_connections gpconfig -s max_prepared_transactions 修改当前数据库连接数(master执行即可) gpconfig -c max_connections -v 750 -m 250 gpconfig -c max_prepared_transactions -v 250 修改后重启数据库生效 gpstop -M fast gpstart -a 或 gpstop -u