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 1pkq0m-0006Ox-O0 for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Apr 2023 17:36:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pkq0l-00064g-M0 for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Apr 2023 17:36:31 +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 1pkq0l-00064X-Du for pgsql-bugs@lists.postgresql.org; Fri, 07 Apr 2023 17:36:31 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pkq0h-001Txw-8N for pgsql-bugs@lists.postgresql.org; Fri, 07 Apr 2023 17:36:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 337HaNEt3049457; Fri, 7 Apr 2023 13:36:23 -0400 From: Tom Lane To: "Shikha, Kumari - Dell Team" cc: pgsql-bugs@lists.postgresql.org, "Alampalli, Kishore" , "Kishore, Nanda - Dell Team" , "Maind, Saurabh - Dell Team" , "Sardar, Mansingh - Dell Team" Subject: Re: Need assistance in performance tuning of a particular query In-reply-to: References: <168088399043.1074.17126982733110935657@malur.postgresql.org> Comments: In-reply-to "Shikha, Kumari - Dell Team" message dated "Fri, 07 Apr 2023 16:46:34 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <3049455.1680888983.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 07 Apr 2023 13:36:23 -0400 Message-ID: <3049456.1680888983@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Shikha, Kumari - Dell Team" writes: > I am writing to seek guidance regarding an issue that we have been facin= g recently. We have an escalation that after migrating to PG13 from PG10, = a particular DB query is taking huge amount of time to fetch the results. = It=E2=80=99s taking hours together to fetch the data while it used to run= smoothly and fetched data within minutes on PG10. = This is not a bug report; please do not use the -bugs list for it. pgsql-performance would be an appropriate venue. Please see https://wiki.postgresql.org/wiki/Slow_Query_Questions for some guidance about asking performance questions. regards, tom lane