pgsql: Add general purpose hasing functions to pgbench.

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add general purpose hasing functions to pgbench.
Date: 2018-03-21 15:01:53
Message-ID: E1eyfFR-0008VM-Ij@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add general purpose hasing functions to pgbench.

Hashing function is useful for simulating real-world workload in test like
WEB workload, as an example - YCSB benchmarks.

Author: Ildar Musin with minor editorization by me
Reviewed by: Fabien Coelho, me
Discussion: https://www.postgresql.org/message-id/flat/0e8bd39e-dfcd-2879-f88f-272799ad7ef2(at)postgrespro(dot)ru

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/ref/pgbench.sgml | 59 ++++++++++++++--
src/bin/pgbench/exprparse.y | 98 +++++++++++++++++++-------
src/bin/pgbench/pgbench.c | 101 +++++++++++++++++++++++++--
src/bin/pgbench/pgbench.h | 4 +-
src/bin/pgbench/t/001_pgbench_with_server.pl | 11 +++
5 files changed, 239 insertions(+), 34 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2018-03-21 15:04:15 pgsql: Fix relcache handling of the 'default' partition
Previous Message Tatsuo Ishii 2018-03-21 14:21:56 pgsql: Fix typo.