Add "G" (server-side data generation) as an initialization step in pgbench.
Fujii Masao <fujii@postgresql.org>
Add "G" (server-side data generation) as an initialization step in pgbench. This commit allows --init-steps option in pgbench to accept "G" character meaning server-side data generation as an initialization step. With "G", only limited queries are sent from pgbench client and then data is actually generated in the server. This might make the initialization phase faster if the bandwidth between pgbench client and the server is low. Author: Fabien Coelho Reviewed-by: Anna Endo, Ibrar Ahmed, Fujii Masao Discussion: https://postgr.es/m/alpine.DEB.2.21.1904061826420.3678@lancre
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pgbench.sgml | modified | +28 −2 |
| src/bin/pgbench/pgbench.c | modified | +77 −21 |
| src/bin/pgbench/t/001_pgbench_with_server.pl | modified | +2 −2 |
| src/bin/pgbench/t/002_pgbench_no_server.pl | modified | +1 −1 |
Documentation touched
Discussion
- pgbench - extend initialization phase control 29 messages · 2019-04-06 → 2019-11-07