Re: Vacuum and analyze for objects on physical stand by dbs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Teja Jakkidi <teja(dot)jakkidi05(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Vacuum and analyze for objects on physical stand by dbs
Date: 2023-02-18 02:27:53
Message-ID: 2914859.1676687273@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Teja Jakkidi <teja(dot)jakkidi05(at)gmail(dot)com> writes:
> I have an environment with 1 primary and 2 physical stand by instances. We have manually analyzed/ vacuumed tables on primary db recently. Later when we checked analyze, vacuum on stand by dbs in pg_stat_user_tables it returns null. Will vacuum/ analyze do not replicate to stand by instances?? Do we have to run separately on all the Stand by instances??

The data changes will propagate, but those action counters are just
maintained locally to the primary server. Their values on a hot
standby are meaningless, probably always zero, because a standby
*can't* change the data on its own.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message obi reddy 2023-02-18 15:09:28 Re: Vacuum and analyze for objects on physical stand by dbs
Previous Message Teja Jakkidi 2023-02-18 01:31:08 Vacuum and analyze for objects on physical stand by dbs