Re: quick q re migration, index, stats

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: quick q re migration, index, stats
Date: 2021-01-07 01:56:11
Message-ID: 79ceeb349617ed8a65b19c01530461521510009d.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Ribe 2021-01-07 03:24:46 Re: quick q re migration, index, stats
Previous Message Laurenz Albe 2021-01-07 01:53:31 Re: autovacuum_analyze_scale_factor and autovacuum_analyze_scale_factor