The scale factor will depend on the node's performance and disk sizes
being used to run the test, and 500 seems too large here as a common
test case without knowing the nodes' configuration.
We should just follow the white-book:
https://github.com/ApsaraDB/PolarDB-for-PostgreSQL/blob/distributed/doc/polardb/benchmark.md
Fixes: https://tracker.ceph.com/issues/62700
Signed-off-by: Xiubo Li <xiubli@redhat.com>
- sudo -u postgres -- postgresql-setup --initdb
- sudo ls -lZaR /tmp/cephfs/postgres/
- sudo systemctl start postgresql
- - sudo -u postgres -- pgbench -s 500 -i
+ - sudo -u postgres -- pgbench -s 32 -i
- sudo -u postgres -- pgbench -c 100 -j 4 --progress=5 --time=900
- sudo systemctl stop postgresql
- sudo ls -lZaR /tmp/cephfs/postgres/