about statement execution times in the logs

From: Mickaël SALMON <mickael(dot)salmon(at)forterro(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: about statement execution times in the logs
Date: 2024-01-24 10:48:30
Message-ID: AM8P193MB12180257357C761D349D55C5E87B2@AM8P193MB1218.EURP193.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello community,

I have a simple question about the duration of statements, which appear in the logs when using :

log_min_duration_statement = 0

or

log_duration = on

Does this include client-time ? (i.e the time spent to send the data to the client). Or is it server-side only ?

According to different tests I made, it seems not to be, but I'd like to have your confirmation.
Note : I run pg 12

Thanks !

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2024-01-24 17:03:05 Re: about statement execution times in the logs
Previous Message Dominique Devienne 2024-01-24 08:16:57 Re: how to trace a backend session