Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lU9hL-00050Y-Pm for pgsql-general@arkaria.postgresql.org; Wed, 07 Apr 2021 15:02:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lU9hK-0002JF-BS for pgsql-general@arkaria.postgresql.org; Wed, 07 Apr 2021 15:02:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lU9hK-0002J8-3d for pgsql-general@lists.postgresql.org; Wed, 07 Apr 2021 15:02:26 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lU9hH-0002jY-No for pgsql-general@lists.postgresql.org; Wed, 07 Apr 2021 15:02:25 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id B57CE48AC; Wed, 7 Apr 2021 17:02:22 +0200 (CEST) Date: Wed, 7 Apr 2021 17:02:22 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: PostgreSQL log query's result size Message-ID: <20210407150222.GB21415@hjp.at> Mail-Followup-To: pgsql-general@lists.postgresql.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FkmkrVfFsRoUs1wW" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --FkmkrVfFsRoUs1wW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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.=20 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 --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --FkmkrVfFsRoUs1wW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAmBtyXoACgkQ8g5IURL+ KF2c+w/+MX9rwDgqd4anpdHYwufUI48CsVsyTncNxC9+0jgEM18iYt/U8bYk5tZ5 peCcNvgpvvka3ejQj9Mj08sCEHWnvHb3rdew7XW5tCokYixp3NCkSlsTEROvEQgg 9VeKl5wkr0oXiDdfKgTsI+wIzoVYRm1xelqcOFHpbPmlA0SvYAuDps1aqgQHrQfF DYJZHq4suyo1dkSHHU5T2WQIJkVWuU1WWRXcCY6+luZl1S6QvHOKdLQHLdkUPkf2 4rRGi2yfKrMwgI6AWUgTdlbGNyiXwLLSLB0WmIP695GNS+Umo/3U7qzV0QJt96pE s/HtDkYVe1WyBk3XE/CCQQIgC+i6c1vfvyegTspKfGsA8P3WQ7MisXkiOHxqCyEG 1ywsULWv5GPWdcfxlZih/cwP3C3KkO2ynGXLODbkqX8dvnRzVhlGTJuNwp3yaEfB hrfycOTnThgEe8GIeEbb8/1VR+lknuAfju7EPUr2rpahp0fZdjC62rJbT9m259KL N1CWlBNQEZEIVK9ZzUvf9NuEAKb5FE9vxjauzWDt8ujbkmQv51UlpsUrBtSlLPhc DmE1fk61YbVye8PNtcOVZhwYHG8y3zf60eVIi+uL8fRteV9Ujp1eO/HjWwG3HFpA +wvmSMISoSjRjVA8GkoiTRu5vR9cS4Zkq+8Rq/kcgg8a01EgFWw= =6RTl -----END PGP SIGNATURE----- --FkmkrVfFsRoUs1wW--