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 1iwvu5-0007Po-W7 for pgsql-general@arkaria.postgresql.org; Wed, 29 Jan 2020 22:33:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iwvu3-0007pX-St for pgsql-general@arkaria.postgresql.org; Wed, 29 Jan 2020 22:33:43 +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 1iwvu3-0007pQ-JM for pgsql-general@lists.postgresql.org; Wed, 29 Jan 2020 22:33:43 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iwvu0-0005JG-7o for pgsql-general@lists.postgresql.org; Wed, 29 Jan 2020 22:33:43 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 14F502187; Wed, 29 Jan 2020 23:33:38 +0100 (CET) Date: Wed, 29 Jan 2020 23:33:38 +0100 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Performance Issue after upgrade from 9 to 11 Message-ID: <20200129223338.GA24207@hjp.at> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2020-01-29 09:39:03 -0800, Perumal Raj wrote: > We have recently upgraded postgres from 9.2 to 11.6 and started seeing > performance issue immediately and=A0 able to fix the performance issue af= ter > disabling parameter:=A0enable_seqscan. How did you upgrade? If your upgrade involved a dump and restore, you should invoke ANALYZE for each database (I think autovacuum will analyze all tables eventually, but takes its time). hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAl4yCDgACgkQ8g5IURL+ KF23kw/+L07bThqgzl2PivlQHob4jPsMSltprHZty+RpJwCVK4y7dPmG7yWxDCaw TdzwYMOGF/ASAmfrzvD4rD2ESPhQxAVA2WZdSlk84P9yZxzJGNKTqoRbTSdtrxak +TpvM7fjyJxYbQ164oSL+DIugd9VqXqVy98FDQOWXu6yRm06iwyM148smLC1GYnf /FayEPihjWxOKSS07LeOfT/0myWrwnUZSIOfwPq65f1H68J17oHvVY6l63h9GDu8 KHOBnHBt0g3jvzbUNXjryxrX92NIglv9WLaCNZ93yZOuRmTj8rVNNqhgNX8VQrff hgBN9MqNkW1i+AI3EmNCFsH5YIAxowe2TqHdk30klOsQTf3qRwVgfrQfu7Qfuy9b ugdF9+mlQVpqsk1pHfE6Z8ePVkn9mMwaIF5Uze7kvFVdeM5xG0Q3ZZEibS2BgJ1G AZr5GzQ3skqn/ayVo5gfgh8cu75A/KbRxHCMvkN4e/W8LE4AD/DShuks7w7fEkFN 12wYwSwv7OIaD8BSFJqlNf6SdAaZP9b8eAzynEAMare5dskQyUMHPkYv/pwAjAgA 6KPLlRJMir5/5RLpEGLB3KURTd4IgbFJwtcV/vKFql9VdTggsF1gCUa3cWgw3Tcp f5ef2DZtjNoAS78gFZ27nqhNGWB1ai0FIpa+Q5M9J0z0uKaq+Rc= =Ha6y -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--