]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add "G" (server-side data generation) as an initialization step in pgbench.
authorFujii Masao <fujii@postgresql.org>
Wed, 6 Nov 2019 02:02:30 +0000 (11:02 +0900)
committerFujii Masao <fujii@postgresql.org>
Wed, 6 Nov 2019 02:02:30 +0000 (11:02 +0900)
commita386942bd29b0ef0c9df061392659880d22cdf43
tree0c0c709299f33773f309d4f83a43db1235673678
parent4b5e58b86e3b09daa7384dbbd0bb4cacbd9bd7c6
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
doc/src/sgml/ref/pgbench.sgml
src/bin/pgbench/pgbench.c
src/bin/pgbench/t/001_pgbench_with_server.pl
src/bin/pgbench/t/002_pgbench_no_server.pl