Re: Analyze on slave promoted.

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Joao Junior <jcoj2006(at)gmail(dot)com>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Analyze on slave promoted.
Date: 2019-09-26 08:31:10
Message-ID: CAFj8pRAMya_OD+A-E+07JBZX1kS9=FQmyy4r5MDPm-daXsb_Tg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi

čt 26. 9. 2019 v 9:55 odesílatel Joao Junior <jcoj2006(at)gmail(dot)com> napsal:

> Hi,
> Is this necessary to run analyze on a slave using streaming replication
> after promotion??
>

No - column statistics are come from master - and are persistent - promote
change nothing.

Pavel

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Edilmar Alves 2019-09-26 20:37:02 Slow pg_publication_tables with many schemas and tables
Previous Message Joao Junior 2019-09-26 07:54:40 Analyze on slave promoted.