Re: [HACKERS] [WIP] Zipfian distribution in pgbench

Поиск
Список
Период
Сортировка
От Alik Khilazhev
Тема Re: [HACKERS] [WIP] Zipfian distribution in pgbench
Дата
Msg-id F653D130-D241-48BB-8B14-988780176F7C@postgrespro.ru
обсуждение исходный текст
Ответ на Re: [HACKERS] [WIP] Zipfian distribution in pgbench  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
Hello, Fabien

I am attaching patch v7.

> Yes, I agree. a >= 10000 does not make much sense... If you want uniform you should use random(), not call
random_zipfianwith a = 10000. Basically it suggests that too large values of "a" should be rejected. Not sure where to
putthe limit, though. 

I set upper bound for parameter to be equal to 1000.
>
> Yes, as a general principle I think that the documentation should reflect the implementation.

Documentation have been updated, I have removed algorithms descriptions and put references to them there.

—
Thanks and Regards,
Alik Khilazhev
Postgres Professional:
http://www.postgrespro.com
The Russian Postgres Company


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Christoph Berg
Дата:
Сообщение: Re: [HACKERS] initdb failure on Debian sid/mips64el inEventTriggerEndCompleteQuery
Следующее
От: Andres Freund
Дата:
Сообщение: [HACKERS] Blessed TupleDescs and constraints