pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Justin Pryzby <pryzby@telsasoft.com>
To: ldh@laurent-hasson.com
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: David Rowley <dgrowleyml@gmail.com>
Cc: Peter Geoghegan <pg@bowt.ie>
Cc: pgsql-performance@postgresql.org
Subject: Re: Big performance slowdown from 11.2 to 13.3
Date: Thu, 22 Jul 2021 11:35:56 -0500
Message-ID: <20210722163556.GH19620@telsasoft.com> (raw )
In-Reply-To: <MN2PR15MB2560301C87A7F78ACBC0A05485E49@MN2PR15MB2560.namprd15.prod.outlook.com >
References: <MN2PR15MB2560778595BB7AF6E691B26785E39@MN2PR15MB2560.namprd15.prod.outlook.com >
<MN2PR15MB2560D429866BD65A70574A6C85E49@MN2PR15MB2560.namprd15.prod.outlook.com >
<CAApHDvqoF7y7SQjGT=940njnAd_CUcUG6oRYChcP_+eJyuNiug@mail.gmail.com >
<MN2PR15MB25603D3CE06C8F9C312EA58985E49@MN2PR15MB2560.namprd15.prod.outlook.com >
<MN2PR15MB2560E4574A6E2B5AED2C03CB85E49@MN2PR15MB2560.namprd15.prod.outlook.com >
<784576.1626968702@sss.pgh.pa.us >
<785218.1626969409@sss.pgh.pa.us >
<MN2PR15MB2560C1E738F58FD71B71255D85E49@MN2PR15MB2560.namprd15.prod.outlook.com >
<20210722162254.GG19620@telsasoft.com >
<MN2PR15MB2560301C87A7F78ACBC0A05485E49@MN2PR15MB2560.namprd15.prod.outlook.com >
On Thu, Jul 22, 2021 at 04:30:00PM +0000, ldh@laurent-hasson.com wrote:
> Hello Justin,
>
> > log_executor_stats=on; client_min_messages=debug;
>
> Would the results then come in EXPLAIN or would I need to pick something up from the logs?
If you're running with psql, and client_min_messages=debug, then it'll show up
as a debug message to the client:
ts=# SET log_executor_stats=on; SET client_min_messages=debug; explain analyze SELECT 1;
SET
SET
LOG: EXECUTOR STATISTICS
DETAIL: ! system usage stats:
! 0.000011 s user, 0.000209 s system, 0.000219 s elapsed
! [0.040608 s user, 0.020304 s system total]
! 7808 kB max resident size
...
It can but doesn't have to use "explain" - that just avoids showing the query
output, since it's not what's interesting here.
--
Justin
view thread (59+ messages) latest in thread
Message-ID: <20210722163556.GH19620@telsasoft.com>
Permalink: ../20210722163556.GH19620@telsasoft.com/
Also on: postgresql.org/message-id/20210722163556.GH19620@telsasoft.com
copy link · copy postgr.es
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: pryzby@telsasoft.com, ldh@laurent-hasson.com, tgl@sss.pgh.pa.us, dgrowleyml@gmail.com, pg@bowt.ie
Subject: Re: Big performance slowdown from 11.2 to 13.3
In-Reply-To: <20210722163556.GH19620@telsasoft.com>
* 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