Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kxLuz-0001zF-5g for pgsql-admin@arkaria.postgresql.org; Thu, 07 Jan 2021 03:24:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kxLuy-0006dV-2n for pgsql-admin@arkaria.postgresql.org; Thu, 07 Jan 2021 03:24:56 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kxLux-0006d8-Qq for pgsql-admin@lists.postgresql.org; Thu, 07 Jan 2021 03:24:55 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kxLuu-000610-NF for pgsql-admin@lists.postgresql.org; Thu, 07 Jan 2021 03:24:54 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 8FFEA2104C; Thu, 7 Jan 2021 03:24:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo06-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo06-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c3up5s51u-Fh; Thu, 7 Jan 2021 03:24:50 +0000 (UTC) Received: from shr-macbook-pro.local (unknown [4.28.96.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 2C36D20E35; Thu, 7 Jan 2021 03:24:47 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: quick q re migration, index, stats From: Scott Ribe In-Reply-To: <79ceeb349617ed8a65b19c01530461521510009d.camel@cybertec.at> Date: Wed, 6 Jan 2021 20:24:46 -0700 Cc: Pgsql-admin Content-Transfer-Encoding: quoted-printable Message-Id: <3C49CA1B-004B-4B39-A8AF-3C376DA1ADEE@elevated-dev.com> References: <8DB33DAF-479F-487F-924A-3360676D8103@elevated-dev.com> <79ceeb349617ed8a65b19c01530461521510009d.camel@cybertec.at> To: Laurenz Albe X-Mailer: Apple Mail (2.3608.120.23.2.4) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Jan 6, 2021, at 6:56 PM, Laurenz Albe = wrote: >=20 > By the way, you only need to rebuild those indexes that contain string = data types, > unless you want to make use of the new index compression feature in = v13. Thanks for pointing that it out; it hadn't occurred to me. But most of = our indexes are strings, and we do have some numeric types that can have = duplicates, so I think I'll be lazy and reindex all instead of trying to = pick and choose.