pgsql: pgbench: add --partitions and --partition-method options. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: pgbench: add --partitions and --partition-method options.
Date
Msg-id E1iFrP8-0008RK-Di@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: pgbench: add --partitions and --partition-method options.
List pgsql-committers
pgbench: add --partitions and --partition-method options.

These new options allow users to partition the pgbench_accounts table by
specifying the number of partitions and partitioning method.  The values
allowed for partitioning method are range and hash.

This feature allows users to measure the overhead of partitioning if any.

Author: Fabien COELHO
Reviewed-by: Amit Kapila, Amit Langote, Dilip Kumar, Asif Rehman, and
Alvaro Herrera
Discussion: https://postgr.es/m/alpine.DEB.2.21.1907230826190.7008@lancre

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/ref/pgbench.sgml                |  25 +++
src/bin/pgbench/pgbench.c                    | 306 +++++++++++++++++++++++----
src/bin/pgbench/t/001_pgbench_with_server.pl |  20 +-
src/bin/pgbench/t/002_pgbench_no_server.pl   |   7 +
4 files changed, 320 insertions(+), 38 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: Add hooks for session start and session end, take two
Next
From: Amit Kapila
Date:
Subject: Re: pgsql: pgbench: add --partitions and --partition-method options.