Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDy4d-000285-JV for pgsql-performance@arkaria.postgresql.org; Sun, 12 Nov 2017 19:37:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eDy4d-0003Yd-5r for pgsql-performance@arkaria.postgresql.org; Sun, 12 Nov 2017 19:37:43 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eDy4c-0003YT-MD for pgsql-performance@postgresql.org; Sun, 12 Nov 2017 19:37:42 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eDy4Z-0000JG-TN for pgsql-performance@postgresql.org; Sun, 12 Nov 2017 19:37:41 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id vACJbcvb021901; Sun, 12 Nov 2017 14:37:38 -0500 From: Tom Lane To: p kirti cc: pgsql-performance@postgresql.org Subject: Re: DB slowness after upgrade from Postgres 9.1 to 9.4 In-reply-to: References: Comments: In-reply-to p kirti message dated "Fri, 10 Nov 2017 16:28:41 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <21899.1510515458.1@sss.pgh.pa.us> Date: Sun, 12 Nov 2017 14:37:38 -0500 Message-ID: <21900.1510515458@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org p kirti writes: > We have recently upgraded our project with a huge DB from Postgres v9.1 to > v9.4. The whole system performance has degraded alarmingly after the > upgrade. Simple operations that were taking only a few seconds in Postgres > 9.1 are now taking minutes of time. Are you certain nothing else changed? Same hardware, same OS, same database configuration settings? Once you've eliminated issues like that, you'd need to drill down deeper. There's useful advice to help crystallize the situation at https://wiki.postgresql.org/wiki/Slow_Query_Questions regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance