Re: [HACKERS] [WIP] Zipfian distribution in pgbench
Alik Khilazhev <a.khilazhev@postgrespro.ru>
From: Alik Khilazhev <a.khilazhev@postgrespro.ru>
To: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: PostgreSQL Developers <pgsql-hackers@postgresql.org>
Date: 2017-11-20T20:52:52Z
Lists: pgsql-hackers
Attachments
- pgbench-zipf-11v.patch (application/octet-stream) patch
- (unnamed) (text/plain)
> I would suggest to use [1, 9] and the simpler regex [1-9] instead of the full list. > > Also, there should be an empty line between functions. I just noticed that one is missing after zipfFindOrCreateCacheCell(). Fixed.
Commits
-
Add approximated Zipfian-distributed random generator to pgbench.
- 1fcd0adeb38d 11.0 landed