Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iwrxG-0000jY-TW for pgsql-general@arkaria.postgresql.org; Wed, 29 Jan 2020 18:20:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iwrxF-0003nz-Oh for pgsql-general@arkaria.postgresql.org; Wed, 29 Jan 2020 18:20:45 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1iwrxD-0003nr-TN for pgsql-general@lists.postgresql.org; Wed, 29 Jan 2020 18:20:45 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iwrx9-0003IV-V3 for pgsql-general@lists.postgresql.org; Wed, 29 Jan 2020 18:20:43 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 2F87821B8B; Wed, 29 Jan 2020 13:20:38 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Wed, 29 Jan 2020 13:20:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=y SC7M/0UhMDKgcsu4TtHFMA9Nl2IVzS5tejlIv8QR54=; b=IBGrdGRw8iomZMN6M 93GUACt/Il2VqxLPbyjaAscvRNT/kzyR9lY5aPIs/p8K6sWgBGLeJVDjs/3UvxMM N/8d2NQDOKOem6DzKiD12nIsXPLV4H1v1QyMcC99+3YgpEAj0omebEmM6Xnqpiii vkzMQhCxRUz99XOmD4fKsijQO09ZdlHrxjicisTlP1mc+dbz3flTtt64Mznx4y98 pYceHQnjPHxyYO9Gbh+U9/9NvolaS8ixMQR0qDcd2S8FdEUfat2z0+Dqs7b4sk3a hcimo5QvxVfzFTYmRDnX8RLaXmoZ/GTf6A67sCbCpTVcEHmzbbGRXVP1GaM0Kelf 1CDxQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=ySC7M/0UhMDKgcsu4TtHFMA9Nl2IVzS5tejlIv8QR 54=; b=spsCKsdUEoCMzX1qwf1aG+1YG6m2AL9iPsTPa81yjLq/J1gYWGkwHGPn7 mIBMNhdXAUU9FOL1LGIWcMCTaYuJumnd0CrU+oJcI1UQfBOHadfAl0ORB140oSOq UAbISTh0xvLOIxc+jaeHFkjIuPgSgTBGxLFL3nNjfdEVev97vHRkt0l6dtExGn7Y 5fC3qvrdz+r8s1xO6buWveXY5iwmzS+XpL2ZT123h0ttwn3kd1HW466AWnrIF1tT xkLg1tL/WuhBZDD1Y2qshEOFD8xJrElimdAJENMyZWXCZhMVS4zuAbddVPJVw7gH K8ZUZHX8rV5ME/GO+aXzoXb+HQhoQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrfeeigddutdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucfkphepjeegrdelfedruddthedrudekieenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrg hvvghrrdgtohhm X-ME-Proxy: Received: from ranger.suse (74-93-105-186-washington.hfc.comcastbusiness.net [74.93.105.186]) by mail.messagingengine.com (Postfix) with ESMTPA id 68D0D3060C1B; Wed, 29 Jan 2020 13:20:37 -0500 (EST) Subject: Re: Performance Issue after upgrade from 9 to 11 To: Perumal Raj , "pgsql-generallists.postgresql.org" References: From: Adrian Klaver Message-ID: Date: Wed, 29 Jan 2020 10:20:36 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 1/29/20 9:39 AM, Perumal Raj wrote: > Hi All, > > We have recently upgraded postgres from 9.2 to 11.6 and started seeing > performance issue immediately and  able to fix the performance issue > after disabling parameter: enable_seqscan. > > Question : > Should i keep the above parameter always disabled ? If not why the > behavior changed in Higher version ? Without an explain analyze of a representative query it would be hard to say. Also the schema of the the tables involved would be helpful. > > Note: > Table ANALYZE completed as part of Upgrade activity. Was this on a single table or all tables? > > Thanks > Raj -- Adrian Klaver adrian.klaver@aklaver.com