Capturing just slow queries

Поиск
Список
Период
Сортировка
От Tiffany Thang
Тема Capturing just slow queries
Дата
Msg-id CAB_W-NOT-XvBi02AkAZAyRgaNbtp5PPdpV3uYe3braUdTB9jzQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Capturing just slow queries  (Wim Bertels <wim.bertels@ucll.be>)
Список pgsql-general
Hi,
log_min_duration_statement captures all statements including DMLs that have exceeded the threshold. Is there a way in PG 12 to capture just select statements excluding all DMLs and DDLs? In my environment, it's acceptable for DMLs and DDLs to cross the threshold and we are more interested in capturing poor performing select statements. 

Thanks.

Tiff 

В списке pgsql-general по дате отправления:

Предыдущее
От: Jehan-Guillaume de Rorthais
Дата:
Сообщение: Re: Clustering solution ?
Следующее
От: Devraj B
Дата:
Сообщение: Fwd: How to connect PostgreSQL (9.6.17) database from Macbook Pro Terminal using JumpCloud password?