Skip site navigation (1) Skip section navigation (2)

pgsql: Add approximated Zipfian-distributed random generator to pgbench

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add approximated Zipfian-distributed random generator to pgbench
Date: 2017-12-14 11:30:42
Message-ID: E1ePRis-0004wm-2U@gemulon.postgresql.org (view raw, whole thread or download thread mbox)
Thread:
Lists: pgsql-committers
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(at)postgrespro(dot)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(-)

pgsql-committers by date

Next:From: Andrew DunstanDate: 2017-12-14 16:34:13
Subject: pgsql: Fix walsender timeouts when decoding a large transaction
Previous:From: Christoph BergDate: 2017-12-14 08:28:08
Subject: Re: pgsql: Provide overflow safe integer math inline functions.

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group