我正在测试Postgres-XL 9.5r1.2。gtm我用, coord1, datanode1,构建了一个集群datanode2。
我用pgbench以下命令测试它的性能:
pgbench -h db -U postgres -i -s 100 testdb;
pgbench -h db -U postgres -c 70 -t 40 -r testdb
在测试结果中,多次出现以下错误
Client NN aborted in state 13: ERROR: maximum number of prepared transactions reached
HINT: Increase max_prepared_transactions (currently 10).
所以,看来我需要调整一下max_prepared_transactions。
我的问题是,我应该在哪个主机上调整postgresql.conf?coord1? datanode1和datanode2?还是什么?