From: | Fujii Masao <fujii(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add "G" (server-side data generation) as an initialization step |
Date: | 2019-11-06 02:03:16 |
Message-ID: | E1iSAfE-0003Ar-8Z@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2019-11-06 02:29:07 | pgsql: doc: fix for plurality typo on bgwriter doc sentence |
Previous Message | Bruce Momjian | 2019-11-06 01:54:13 | pgsql: doc: fix plurality typo on bgwriter doc sentence |