Re: Analyze on slave promoted. - Mailing list pgsql-performance

From Pavel Stehule
Subject Re: Analyze on slave promoted.
Date
Msg-id CAFj8pRAMya_OD+A-E+07JBZX1kS9=FQmyy4r5MDPm-daXsb_Tg@mail.gmail.com
Whole thread Raw
In response to Analyze on slave promoted.  (Joao Junior <jcoj2006@gmail.com>)
List pgsql-performance
Hi

čt 26. 9. 2019 v 9:55 odesílatel Joao Junior <jcoj2006@gmail.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

pgsql-performance by date:

Previous
From: Joao Junior
Date:
Subject: Analyze on slave promoted.
Next
From: Edilmar Alves
Date:
Subject: Slow pg_publication_tables with many schemas and tables