pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Teodor Sigaev <teodor@sigaev.ru>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add general purpose hasing functions to pgbench.
Date: Wed, 21 Mar 2018 15:01:53 +0000
Message-ID: <E1eyfFR-0008VM-Ij@gemulon.postgresql.org> (raw)

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@postgrespro.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(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1eyfFR-0008VM-Ij@gemulon.postgresql.org>
Permalink:  ../E1eyfFR-0008VM-Ij@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eyfFR-0008VM-Ij@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: teodor@sigaev.ru
  Subject: Re: pgsql: Add general purpose hasing functions to pgbench.
  In-Reply-To: <E1eyfFR-0008VM-Ij@gemulon.postgresql.org>
  References: <E1eyfFR-0008VM-Ij@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