Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIeGk-0006iH-1O for pgsql-admin@arkaria.postgresql.org; Sat, 25 Nov 2017 17:29:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIeGi-0002ih-Ni for pgsql-admin@arkaria.postgresql.org; Sat, 25 Nov 2017 17:29:32 +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.84_2) (envelope-from ) id 1eIeGi-0002iV-Gq for pgsql-admin@lists.postgresql.org; Sat, 25 Nov 2017 17:29:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eIeGa-00034r-Hd for pgsql-admin@postgresql.org; Sat, 25 Nov 2017 17:29:31 +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 vAPHTHNS003505; Sat, 25 Nov 2017 12:29:17 -0500 From: Tom Lane To: Debraj Manna cc: Mark Kirkwood , Alvaro Aguayo Garcia-Rada , pgsql-admin Subject: Re: Faster way of upgrading postgresql to 10 from 9.5 In-reply-to: References: <4d397bf0-14c3-2bf8-bee6-c023a654b7ef@catalyst.net.nz> <776.1511623176@sss.pgh.pa.us> Comments: In-reply-to Debraj Manna message dated "Sat, 25 Nov 2017 22:44:18 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3503.1511630957.1@sss.pgh.pa.us> Date: Sat, 25 Nov 2017 12:29:17 -0500 Message-ID: <3504.1511630957@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Debraj Manna writes: > What profiling will help in this case? If you're on a reasonably modern Linux platform, I'd try "perf", which is capable of gathering a system-wide profile. Note you will need debug symbols installed for Postgres to get good results from any profiling tool. regards, tom lane