pgbench Command Examples

Run a benchmark test on PostgreSQL. More information: https://www.postgresql.org/docs/10/pgbench.html.

pgbench --initialize --scale={{50}} {{database_name}}

pgbench --client={{10}} --jobs={{2}} --transactions={{10000}} {{database_name}}