pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Scott Ribe <scott_ribe@elevated-dev.com>
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: quick q re migration, index, stats
Date: Thu, 07 Jan 2021 02:56:11 +0100
Message-ID: <79ceeb349617ed8a65b19c01530461521510009d.camel@cybertec.at> (raw)
In-Reply-To: <8DB33DAF-479F-487F-924A-3360676D8103@elevated-dev.com>
References: <8DB33DAF-479F-487F-924A-3360676D8103@elevated-dev.com>

On Wed, 2021-01-06 at 09:41 -0700, Scott Ribe wrote:
> As part of migration to PG 13, I'll be updating Linux as well, thus complete reindex required. 
> 
> So just confirming that I still need to manually run vacuumdb --all --analyze-in-stages?
>  In other words, reindexing doesn't capture stats as it processes the rows?

You are right, you still need to calculate statistics.

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.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (3+ messages)  latest in thread

Message-ID: <79ceeb349617ed8a65b19c01530461521510009d.camel@cybertec.at>
Permalink:  ../79ceeb349617ed8a65b19c01530461521510009d.camel@cybertec.at/
Also on:    postgresql.org/message-id/79ceeb349617ed8a65b19c01530461521510009d.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: laurenz.albe@cybertec.at, scott_ribe@elevated-dev.com, pgsql-admin@lists.postgresql.org
  Subject: Re: quick q re migration, index, stats
  In-Reply-To: <79ceeb349617ed8a65b19c01530461521510009d.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox