Re: auto_explain sample rate - Mailing list pgsql-hackers

From Andres Freund
Subject Re: auto_explain sample rate
Date
Msg-id 20150603120434.GA18006@awork2.anarazel.de
Whole thread Raw
In response to Re: auto_explain sample rate  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: auto_explain sample rate  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers
On 2015-06-03 18:54:24 +0800, Craig Ringer wrote:
> OK, here we go.

Hm. Wouldn't random sampling be better than what you do? If your queries
have a pattern to them (e.g. you always issue the same 10 queries in
succession), this will possibly only show a subset of the queries.

I think a formulation in fraction (i.e. a float between 0 and 1) will
also be easier to understand.

Andres



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: why does txid_current() assign new transaction-id?
Next
From: Robert Haas
Date:
Subject: Re: Re: [GENERAL] 9.4.1 -> 9.4.2 problem: could not access status of transaction 1