pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PostgreSQL log query's result size
2+ messages / 2 participants
[nested] [flat]

* PostgreSQL log query's result size
@ 2021-04-07 14:53  Hellmuth Vargas <hivs77@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Hellmuth Vargas @ 2021-04-07 14:53 UTC (permalink / raw)
  To: pgsql-general

Excuse me in advance for my English, I'm improving :-)

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? 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

Thank you very much!

-- 
Cordialmente,

Ing. Hellmuth I. Vargas S

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: PostgreSQL log query's result size
@ 2021-04-07 15:02  Peter J. Holzer <hjp-pgsql@hjp.at>
  parent: Hellmuth Vargas <hivs77@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter J. Holzer @ 2021-04-07 15:02 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-04-07 15:02 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07 14:53 PostgreSQL log query's result size Hellmuth Vargas <hivs77@gmail.com>
2021-04-07 15:02 ` Peter J. Holzer <hjp-pgsql@hjp.at>

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