pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: PostgreSQL log query's result size
Date: Wed, 7 Apr 2021 17:02:22 +0200
Message-ID: <20210407150222.GB21415@hjp.at> (raw)
In-Reply-To: <CAN3Qy4o7brCvp1_3=aacXn+96QjdDK-zs=Jnb0zj7S6cO6rXOA@mail.gmail.com>
References: <CAN3Qy4o7brCvp1_3=aacXn+96QjdDK-zs=Jnb0zj7S6cO6rXOA@mail.gmail.com>

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@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (2+ messages)

Message-ID: <20210407150222.GB21415@hjp.at>
Permalink:  ../20210407150222.GB21415@hjp.at/
Also on:    postgresql.org/message-id/20210407150222.GB21415@hjp.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: hjp-pgsql@hjp.at
  Subject: Re: PostgreSQL log query's result size
  In-Reply-To: <20210407150222.GB21415@hjp.at>
  References: <CAN3Qy4o7brCvp1_3=aacXn+96QjdDK-zs=Jnb0zj7S6cO6rXOA@mail.gmail.com> <20210407150222.GB21415@hjp.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox