Re: New GUC to sample log queries
От | Peter Eisentraut |
---|---|
Тема | Re: New GUC to sample log queries |
Дата | |
Msg-id | f7ad8e2a-f7d0-57b0-9e99-e2d6db95417e@2ndquadrant.com обсуждение исходный текст |
Ответ на | Re: New GUC to sample log queries (Tomas Vondra <tomas.vondra@2ndquadrant.com>) |
Ответы |
Re: New GUC to sample log queries
|
Список | pgsql-hackers |
On 19/11/2018 14:40, Tomas Vondra wrote: > On 11/19/18 2:57 AM, Michael Paquier wrote: >> On Sun, Nov 18, 2018 at 12:18:33PM +0100, Dmitry Dolgov wrote: >>> Since it's hard to come up with a concise name that will mention sampling rate >>> in the context of min_duration_statement, I think it's fine to name this >>> configuration "log_sample_rate", as long as it's dependency from >>> log_min_duration_statements is clearly explained in the documentation. >> >> log_sample_rate looks fine to me as a name. > > That seems far too short to me - the name should indicate it applies to > statement logging. I'd say log_statement_sample_rate is better. It was committed with this name, but then one has to wonder why it doesn't also apply to log_statement. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: