Add approximated Zipfian-distributed random generator to pgbench.
Teodor Sigaev <teodor@sigaev.ru>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pgbench.sgml | modified | +29 −0 |
| src/bin/pgbench/exprparse.y | modified | +3 −0 |
| src/bin/pgbench/pgbench.c | modified | +192 −1 |
| src/bin/pgbench/pgbench.h | modified | +2 −1 |
| src/bin/pgbench/t/001_pgbench_with_server.pl | modified | +37 −1 |
Documentation touched
Discussion
- [WIP] Zipfian distribution in pgbench 57 messages · 2017-07-07 → 2018-10-08