]> granicus.if.org Git - postgresql/commit
pgbench: add --partitions and --partition-method options.
authorAmit Kapila <akapila@postgresql.org>
Tue, 1 Oct 2019 04:20:26 +0000 (09:50 +0530)
committerAmit Kapila <akapila@postgresql.org>
Thu, 3 Oct 2019 02:57:07 +0000 (08:27 +0530)
commitb1c1aa53182372e907f3f7f090e7eb5f432a4c9a
tree5315ac8f5d5d34b06d39d89f15e1d96fe4dfc432
parentdf86e52cace2c4134db51de6665682fb985f3195
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
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