pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pgbench: add --partitions and --partition-method options.
Date: Thu, 03 Oct 2019 03:03:46 +0000
Message-ID: <E1iFrP8-0008RK-Di@gemulon.postgresql.org> (raw)

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(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1iFrP8-0008RK-Di@gemulon.postgresql.org>
Permalink:  ../E1iFrP8-0008RK-Di@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iFrP8-0008RK-Di@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org
  Subject: Re: pgsql: pgbench: add --partitions and --partition-method options.
  In-Reply-To: <E1iFrP8-0008RK-Di@gemulon.postgresql.org>
  References: <E1iFrP8-0008RK-Di@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox