pgsql: pgbench: add --partitions and --partition-method options.

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: pgbench: add --partitions and --partition-method options.
Дата
Msg-id E1iFrP8-0008RK-Di@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: pgbench: add --partitions and --partition-method options.
Список 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 по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Add hooks for session start and session end, take two
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: pgsql: pgbench: add --partitions and --partition-method options.