pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: github kran <githubkran@gmail.com>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: PostgreSQL Database Upgrade
Date: Mon, 7 Dec 2020 08:51:12 -0800
Message-ID: <9027bee5-e7a2-5142-9a06-729a205201a6@aklaver.com> (raw)
In-Reply-To: <CACaZr5QASoOPK7dyMCQAXZd5ZyoW5K3O4VrVW1y0zcrDXSxKfg@mail.gmail.com>
References: <CACaZr5QASoOPK7dyMCQAXZd5ZyoW5K3O4VrVW1y0zcrDXSxKfg@mail.gmail.com>

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





view thread (2+ messages)

Message-ID: <9027bee5-e7a2-5142-9a06-729a205201a6@aklaver.com>
Permalink:  ../9027bee5-e7a2-5142-9a06-729a205201a6@aklaver.com/
Also on:    postgresql.org/message-id/9027bee5-e7a2-5142-9a06-729a205201a6@aklaver.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, githubkran@gmail.com
  Subject: Re: PostgreSQL Database Upgrade
  In-Reply-To: <9027bee5-e7a2-5142-9a06-729a205201a6@aklaver.com>
  References: <CACaZr5QASoOPK7dyMCQAXZd5ZyoW5K3O4VrVW1y0zcrDXSxKfg@mail.gmail.com> <9027bee5-e7a2-5142-9a06-729a205201a6@aklaver.com>

* 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