RE: Log a sample of transactions

Kuroda, Hayato <kuroda.hayato@jp.fujitsu.com>

From: "Kuroda, Hayato" <kuroda.hayato@jp.fujitsu.com>
To: 'Adrien NAYRAT' <adrien.nayrat@anayrat.info>, "'pgsql-hackers@lists.postgresql.org'" <pgsql-hackers@lists.postgresql.org>
Date: 2019-01-16T00:40:15Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Tweak docs for log_statement_sample_rate

Dear Adrien,

> Your messages looks normal to me, you will have same messages if you put 
> log_min_duration to 0.

That was my lack of understanding. Sorry.

By the way, I think the name of this parameter should be changed.
In the Cambridge dictionary, the word "rate" means as follows:

the speed at which something happens or changes, 
or the amount or number of times it happens or changes in a particular period.

This parameter represents "probability" whether it log, 
therefore this name is inappropriate.
You should use "probability" or "ratio", I think.


Next week I will give you some comments about your good source.

Best Regards,
Hayato Kuroda
Fujitsu LIMITED