mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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
This commit is contained in:
@ -191,6 +191,9 @@ static const struct
|
||||
{
|
||||
"random_exponential", 3, PGBENCH_RANDOM_EXPONENTIAL
|
||||
},
|
||||
{
|
||||
"random_zipfian", 3, PGBENCH_RANDOM_ZIPFIAN
|
||||
},
|
||||
/* keep as last array element */
|
||||
{
|
||||
NULL, 0, 0
|
||||
|
Reference in New Issue
Block a user