Re: PostgreSQL Database Upgrade - Mailing list pgsql-general

From Adrian Klaver
Subject Re: PostgreSQL Database Upgrade
Date
Msg-id 9027bee5-e7a2-5142-9a06-729a205201a6@aklaver.com
Whole thread Raw
In response to PostgreSQL Database Upgrade  (github kran <githubkran@gmail.com>)
List pgsql-general
On 12/7/20 8:35 AM, github kran wrote:
> 
> 
> Hello PostgreSQL Team,
> 
> We have recently upgraded the postgreSQL version from V9 to V10.
> 
>   * Is the below command right to update the database statistics after
>     the database upgrade ?.
>   * How do I verify in PG_STATS if the Analyze ran successfully? Does it
>     show any time when the last Analyze successfully completed.? 

See:

https://www.postgresql.org/docs/10/monitoring-stats.html#PG-STAT-ALL-TABLES-VIEW

last_analyze     timestamp with time zone     Last time at which this table 
was manually analyzed

> 
> Command used:
> *ANALYZE VERBOSE;*
> *
> *
> *
> *
> Appreciate your help, thank you !!*
> *
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: github kran
Date:
Subject: PostgreSQL Database Upgrade
Next
From: Tony Shelver
Date:
Subject: Re: simple reporting tools for postgres in aws