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 1pkr1e-0002jU-S6 for pgsql-performance@arkaria.postgresql.org; Fri, 07 Apr 2023 18:41:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pkr1b-0003c7-In for pgsql-performance@arkaria.postgresql.org; Fri, 07 Apr 2023 18:41:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pkr1a-0003by-T6 for pgsql-performance@lists.postgresql.org; Fri, 07 Apr 2023 18:41:26 +0000 Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pkr1Y-0007ro-L0 for pgsql-performance@lists.postgresql.org; Fri, 07 Apr 2023 18:41:25 +0000 Received: by mail-qt1-x82a.google.com with SMTP id g19so41309608qts.9 for ; Fri, 07 Apr 2023 11:41:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680892883; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=fAL5DXcGSVBoVebZogTfJjyI31yz7xmqO0u/cKhKFPI=; b=QP10Sj5fTnjIrCmGZWnthH8YKxVWp5Cz9PwnelRQlianI7/cMRMFE1AUE1vmt4G7hi AY3UfFuCIQkhld8T0tnLN57nub6F/pc3CgrBFSdvsTjNjktDP6Bafv8jOhLysS2tRX+q e6pJ7CMpGah+glN8MTa48FHqmRD43nV8KvRVQHBxS2nbkCAMs8YPhZ1Sacz+ybgwSiZc Ume6aALbQj/ORLMRJ6icEgxfETmIjjuqIAyl8/SfQumyD5EvedPju2zTNwxG2EHpt46E 4uDfFhYf4/DstM2zFw1Gf7KbCA3lSvIy92ErI56lhrr23EYZyC44bk1Bz+eIDvKTwJr9 e6zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680892883; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fAL5DXcGSVBoVebZogTfJjyI31yz7xmqO0u/cKhKFPI=; b=NUx2lMmHU84Q381p7zbYro7sPxDdhmleN729k5W9Cs5+vuMZEe/cEIlMfbRbQ6Xy13 EwGJiMQF+LUZf1cZSL7achBq52cohfwbg5LrubSAfAt0vPxA382xa/EsxLCUiaqQrL7N EO+2Kt7ONW0IOSnfU0/BfHO4DXeesCPj2r23j7KQALkITN/G0Mm1YhF4b9g7ZJ1DRA/T 8EeXIG7rfdf9Z/E1PEls1OBQHu5fA5+xV3aS2oBAEWjyUtWI4aHiCxd5VmRUsTC/7FO6 IRXLHI7Iu90csrcacFr+zlj5Rb9nbk8B28Hw7qVylfg5y8E7syOC+LpHD6T6nqLVOtSQ fwhg== X-Gm-Message-State: AAQBX9fg6E7xJrnHRZ1G+sNYQevrgbA+awP0BQkGYOvD1WcJ0ZTHcAU7 PH2x8G04GIBxIQLxDGun9axk3XOntQe11IarcZU= X-Google-Smtp-Source: AKy350aoFx5cgWfPLkWo14ng+ROE9ZDbX9LuB5+RldHziojdINCxl3AiY58Qu14ttZav7NWIxiO/1DqIGqH/kEycGMk= X-Received: by 2002:ac8:5fd6:0:b0:3c0:1f6:ac8d with SMTP id k22-20020ac85fd6000000b003c001f6ac8dmr1053396qta.12.1680892883512; Fri, 07 Apr 2023 11:41:23 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: kyle Hailey Date: Fri, 7 Apr 2023 11:40:47 -0700 Message-ID: Subject: Re: Is there any tool which will help me run and explain analyze about 150 queries? To: kunwar singh Cc: pgsql-performance@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000003a2fa705f8c35f19" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000003a2fa705f8c35f19 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable In my opinion, Datadog is the best Postgres monitor available, but it doesn't have a feature that has been discussed. However, you can use auto_explain to analyze long-running queries by setting a limit. I recently enabled it in GCP Cloud SQL, but I haven't seen any results in the logs yet. I need to figure out which parameters to enable to get it working. On Fri, Apr 7, 2023 at 10:57=E2=80=AFAM kunwar singh wrote: > 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 comparativ= e > analysis. > > I am looking for the easiest way to do it with a tool :) > > -- > Cheers, > Kunwar > --0000000000003a2fa705f8c35f19 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

In my opinion, Datadog is = the best Postgres monitor available, but it doesn't have a feature that= has been discussed. However, you can use auto_explain to analyze long-runn= ing queries by setting a limit. I recently enabled it in GCP Cloud SQL, but= I haven't seen any results in the logs yet. I need to figure out which= parameters to enable to get it working.


=


On Fri, Apr 7, 2023 at 10:57=E2=80=AFAM kunwar singh &= lt;krishsingh.111@gmail.com= > wrote:
Hi Listers,
Anyone here use such a tool for Postgres?=C2= =A0Any recommendations?

Say I have 150 queries in = Postgres 11 and I want to upgrade to Postgres 15. I want to run explain ana= lyze for 150 in both versions for comparative analysis.=C2=A0
I am looking for the easiest way to do it with a tool :)=C2=A0<= font color=3D"#888888">

--
=
Cheers,
Kunwar
--0000000000003a2fa705f8c35f19--