idea: log_statement_sample_rate - bottom limit for sampling - Mailing list pgsql-hackers

From Pavel Stehule
Subject idea: log_statement_sample_rate - bottom limit for sampling
Date
Msg-id CAFj8pRDS8tQ3Wviw9=AvODyUciPSrGeMhJi_WPE+EB8+4gLL-Q@mail.gmail.com
Whole thread Raw
Responses Re: idea: log_statement_sample_rate - bottom limit for sampling  (Gilles Darold <gilles@darold.net>)
List pgsql-hackers
Hi

I like the idea of sampling slow statements via  log_statement_sample_rate. But I miss some parameter that can ensure so every query executed over this limit is logged.

Can we introduce new option

log_statement_sampling_limit

The query with execution time over this limit is logged every time.

What do you think about this?

Regards

Pavel

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Small review comment on pg_checksums
Next
From: Gilles Darold
Date:
Subject: Re: idea: log_statement_sample_rate - bottom limit for sampling