pgsql: Add "G" (server-side data generation) as an initialization step - Mailing list pgsql-committers

From Fujii Masao
Subject pgsql: Add "G" (server-side data generation) as an initialization step
Date
Msg-id E1iSAfE-0003Ar-8Z@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a386942bd29b0ef0c9df061392659880d22cdf43

Modified Files
--------------
doc/src/sgml/ref/pgbench.sgml                | 30 ++++++++-
src/bin/pgbench/pgbench.c                    | 98 ++++++++++++++++++++++------
src/bin/pgbench/t/001_pgbench_with_server.pl |  4 +-
src/bin/pgbench/t/002_pgbench_no_server.pl   |  2 +-
4 files changed, 108 insertions(+), 26 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: doc: fix plurality typo on bgwriter doc sentence
Next
From: Bruce Momjian
Date:
Subject: pgsql: doc: fix for plurality typo on bgwriter doc sentence