pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Teodor Sigaev <teodor@sigaev.ru>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add approximated Zipfian-distributed random generator to pgbench
Date: Thu, 14 Dec 2017 11:30:42 +0000
Message-ID: <E1ePRis-0004wm-2U@gemulon.postgresql.org> (raw)

Add approximated Zipfian-distributed random generator to pgbench.

Generator helps to make close to real-world tests.

Author: Alik Khilazhev
Reviewed-By: Fabien COELHO
Discussion: https://www.postgresql.org/message-id/flat/BF3B6F54-68C3-417A-BFAB-FB4D66F2B410@postgrespro.ru

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1fcd0adeb38d6ef36066134bb3b44acc5a249a98

Modified Files
--------------
doc/src/sgml/ref/pgbench.sgml                |  29 ++++
src/bin/pgbench/exprparse.y                  |   3 +
src/bin/pgbench/pgbench.c                    | 193 ++++++++++++++++++++++++++-
src/bin/pgbench/pgbench.h                    |   3 +-
src/bin/pgbench/t/001_pgbench_with_server.pl |  38 +++++-
5 files changed, 263 insertions(+), 3 deletions(-)



Message-ID: <E1ePRis-0004wm-2U@gemulon.postgresql.org>
Permalink:  ../E1ePRis-0004wm-2U@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ePRis-0004wm-2U@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 approximated Zipfian-distributed random generator to pgbench
  In-Reply-To: <E1ePRis-0004wm-2U@gemulon.postgresql.org>
  References: <E1ePRis-0004wm-2U@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