Re: Is there any tool which will help me run and explain analyze about 150 queries?

From: Achilleas Mantzios <a(dot)mantzios(at)cloud(dot)gatewaynet(dot)com>
To: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: Is there any tool which will help me run and explain analyze about 150 queries?
Date: 2023-04-07 18:19:36
Message-ID: 4e61d244-2d2b-e67a-42ab-6bd523a2153c@cloud.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message kyle Hailey 2023-04-07 18:40:47 Re: Is there any tool which will help me run and explain analyze about 150 queries?
Previous Message kunwar singh 2023-04-07 17:57:32 Is there any tool which will help me run and explain analyze about 150 queries?