Re: pgbench gaussian/exponential docs improvements

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgbench gaussian/exponential docs improvements
Date: 2015-10-28 11:37:50
Message-ID: CA+TgmoaGEdrH_8EHTRs8FvZ4VBt7ZWSEMaV5Jd+-=1udBnLy5g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Oct 25, 2015 at 7:12 PM, Tomas Vondra
<tomas(dot)vondra(at)2ndquadrant(dot)com> wrote:
>> By default, or when uniform is specified, all values in the range are
>> drawn with equal probability. Specifying gaussian or exponential
>> options modifies this behavior; each requires a mandatory threshold
>> which determines the precise shape of the distribution.
>
> I find the 'threshold' name to be rather unfortunate, as none of the
> probability distribution functions that I know use this term. And even if
> there's one probability function that uses 'threshold' it has very little
> meaning in the others. For example the exponential distribution uses 'rate'
> (lambda). I'd prefer a neutral name (e.g. 'parameter').

+1 for this change.

(I have no particular opinion on your other suggestions.)

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2015-10-28 12:49:22 Re: Disabling START TRANSACTION for a SuperUser
Previous Message Robert Haas 2015-10-28 11:31:19 Re: ATT_FOREIGN_TABLE and ATWrongRelkindError()