Use case for enabling log_duration other than benchmarking

From: Alicja Kucharczyk <zaledwie10minut(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Use case for enabling log_duration other than benchmarking
Date: 2023-01-10 13:14:03
Message-ID: CAM=sWa5kArsJrPXOMVDx9137YjJGsaUXF1c1aBt-Lqk2uXt-+Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Do you know any use case for enabling log_duration? Like 3rd party tools
for instance.
I find this parameter pretty much useless (in opposite to
log_min_duration_statement) as it does not show the query text, so besides
having just the timing logged it is of no use in troubleshooting and often
causes huge overhead. Am I missing something?

pozdrawiam,
best regards,
Alicja Kucharczyk

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2023-01-10 13:53:18 Re: pg_multixact_member file limits
Previous Message Kyotaro Horiguchi 2023-01-10 06:01:52 Re: Segmentation fault on RelationGetDescr in my first extension