Add general purpose hasing functions to pgbench.
Teodor Sigaev <teodor@sigaev.ru>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pgbench.sgml | modified | +55 −4 |
| src/bin/pgbench/exprparse.y | modified | +73 −25 |
| src/bin/pgbench/pgbench.c | modified | +97 −4 |
| src/bin/pgbench/pgbench.h | modified | +3 −1 |
| src/bin/pgbench/t/001_pgbench_with_server.pl | modified | +11 −0 |
Documentation touched
Discussion
- General purpose hashing func in pgbench 44 messages · 2017-12-20 → 2018-03-21