Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fKm2n-0000VH-5N for pgsql-performance@arkaria.postgresql.org; Mon, 21 May 2018 14:44:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fKm2h-0006jk-S6 for pgsql-performance@arkaria.postgresql.org; Mon, 21 May 2018 14:44:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fKm2h-0006jZ-Kv for pgsql-performance@lists.postgresql.org; Mon, 21 May 2018 14:44:07 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fKm2Z-0000Kj-Pe for pgsql-performance@postgresql.org; Mon, 21 May 2018 14:44:06 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id A9F6ED0E785A for ; Mon, 21 May 2018 07:43:57 -0700 (MST) Date: Mon, 21 May 2018 07:43:57 -0700 (MST) From: pavan95 To: pgsql-performance@postgresql.org Message-ID: <1526913837692-0.post@n3.nabble.com> In-Reply-To: References: <1526883356469-0.post@n3.nabble.com> <1526889830358-0.post@n3.nabble.com> <1526901200599-0.post@n3.nabble.com> <1526902087.12183.0@homie.mail.dreamhost.com> <1526909995520-0.post@n3.nabble.com> Subject: Re: Help me in reducing the CPU cost for the high cost query below, as it is hitting production seriously!! MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi David, Thank you so much for your valuable inputs. Is there anything that I need to look from Indexes perspective or Join order ?? Kindly let me know if it can be tuned further. Thank you very much. Regards, Pavan -- Sent from: http://www.postgresql-archive.org/PostgreSQL-performance-f2050081.html