From: Achilleas Mantzios <a.mantzios@cloud.gatewaynet.com>
To: pgsql-performance@lists.postgresql.org
Subject: Re: Is there any tool which will help me run and explain analyze about 150 queries?
Date: Fri, 7 Apr 2023 21:19:36 +0300
Message-ID: <4e61d244-2d2b-e67a-42ab-6bd523a2153c@cloud.gatewaynet.com> (raw)
In-Reply-To: <CAJSrDUpaJC5+ZsTN1D4OUa8S7d0XBQD413XnZM2JVGjr_Z4xuA@mail.gmail.com>
References: <CAJSrDUpaJC5+ZsTN1D4OUa8S7d0XBQD413XnZM2JVGjr_Z4xuA@mail.gmail.com>
Prepend "EXPLAIN ANALYZE " on every statement :
cat foo.sql | awk '{print " EXPLAIN (ANALYZE, BUFFERS, TIMING, SUMMARY)
" $0}' | psql testdb -f -
Στις 7/4/23 20:57, ο/η kunwar singh έγραψε:
> Hi Listers,
> Anyone here use such a tool for Postgres? Any recommendations?
>
> Say I have 150 queries in Postgres 11 and I want to upgrade to
> Postgres 15. I want to run explain analyze for 150 in both versions
> for comparative analysis.
>
> I am looking for the easiest way to do it with a tool :)
>
> --
> Cheers,
> Kunwar
--
Achilleas Mantzios
IT DEV - HEAD
IT DEPT
Dynacom Tankers Mgmt
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: a.mantzios@cloud.gatewaynet.com, pgsql-performance@lists.postgresql.org
Subject: Re: Is there any tool which will help me run and explain analyze about 150 queries?
In-Reply-To: <4e61d244-2d2b-e67a-42ab-6bd523a2153c@cloud.gatewaynet.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