pgsql: Add approximated Zipfian-distributed random generator topgbench - Mailing list pgsql-committers

From Teodor Sigaev
Subject pgsql: Add approximated Zipfian-distributed random generator topgbench
Date
Msg-id [email protected]
Whole thread Raw
List 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/[email protected]

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:

Previous
From: Andres Freund
Date:
Subject: pgsql: Add pg_attribute_always_inline.
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Fix walsender timeouts when decoding a large transaction