Re: about statement execution times in the logs

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Mickaël SALMON <mickael(dot)salmon(at)forterro(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: about statement execution times in the logs
Date: 2024-01-24 17:03:05
Message-ID: 36a9163e-6680-437f-9fe5-4b3273429a7d@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 1/24/24 02:48, Mickaël SALMON wrote:
> 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
>

Asked and answered:

https://stackoverflow.com/questions/77872627/does-postgresql-log-statement-duration-includes-client-time

>
> Thanks !
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2024-01-24 21:46:13 Re: Providers missing from pgdg-common for GDAL 3.7 (related to multiple missing providers from pgdg-common)
Previous Message Mickaël SALMON 2024-01-24 10:48:30 about statement execution times in the logs