Re: auto_explain sample rate

From: Petr Jelinek <petr(at)2ndquadrant(dot)com>
To: Julien Rouhaud <julien(dot)rouhaud(at)dalibo(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Craig Ringer <craig(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: auto_explain sample rate
Date: 2016-03-10 03:37:39
Message-ID: 56E0EC03.1030506@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 17/02/16 01:17, Julien Rouhaud wrote:
>
> Agreed, it's too obscure. Attached v4 fixes as you said.
>

Seems to be simple enough patch and works. However I would like
documentation to say that the range is 0 to 1 and represents fraction of
the queries sampled, because right now both the GUC description and the
documentation say it's in percent but that's not really true as percent
is 0 to 100.

--
Petr Jelinek http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2016-03-10 03:43:52 pg_rewind just doesn't fsync *anything*?
Previous Message Tsunakawa, Takayuki 2016-03-10 03:29:02 Re: [HACKERS] How can we expand PostgreSQL ecosystem?