Re: PostgreSQL log query's result size

From: "Peter J(dot) Holzer" <hjp-pgsql(at)hjp(dot)at>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: PostgreSQL log query's result size
Date: 2021-04-07 15:02:22
Message-ID: 20210407150222.GB21415@hjp.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2021-04-07 09:53:11 -0500, Hellmuth Vargas wrote:
> Could you tell me if it is possible that in addition to the
> configuration that the log presents the duration of the delayed
> queries, it can also present the size of the result data?

Not that I know of.

> especially those who want to return a lot of information. My request
> is that by configuring some parameter, the size of the records
> obtained could be obtained something similar to the parameter
> log_min_duration_statement

I second that request.

But in my case I think I am more frequently interested in finding
queries which returned 0 rows than those that returned many rows.

And for "size of the result data" I think the number of rows would
generally be more useful than the size in bytes.

hp

--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp(at)hjp(dot)at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"

In response to

Browse pgsql-general by date

  From Date Subject
Next Message PegoraroF10 2021-04-07 15:30:03 Re: Cascade publication with pg_stat_replication empty
Previous Message Hellmuth Vargas 2021-04-07 14:53:11 PostgreSQL log query's result size