Re: quick q re migration, index, stats - Mailing list pgsql-admin

From Laurenz Albe
Subject Re: quick q re migration, index, stats
Date
Msg-id 79ceeb349617ed8a65b19c01530461521510009d.camel@cybertec.at
Whole thread Raw
In response to quick q re migration, index, stats  (Scott Ribe <scott_ribe@elevated-dev.com>)
Responses Re: quick q re migration, index, stats
List 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




pgsql-admin by date:

Previous
From: Henry Francisco Garcia Cortez
Date:
Subject: autovacuum_analyze_scale_factor and autovacuum_analyze_scale_factor
Next
From: Scott Ribe
Date:
Subject: Re: quick q re migration, index, stats