Add "G" (server-side data generation) as an initialization step in pgbench.

Fujii Masao <fujii@postgresql.org>

Commit: a386942bd29b0ef0c9df061392659880d22cdf43
Author: Fujii Masao <fujii@postgresql.org>
Date: 2019-11-06T02:02:30Z
Releases: 13.0
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

Documentation touched

Discussion