Re: Vacuum and analyze for objects on physical stand by dbs - Mailing list pgsql-admin

From Tom Lane
Subject Re: Vacuum and analyze for objects on physical stand by dbs
Date
Msg-id 2914859.1676687273@sss.pgh.pa.us
Whole thread Raw
In response to Vacuum and analyze for objects on physical stand by dbs  (Teja Jakkidi <teja.jakkidi05@gmail.com>)
Responses Re: Vacuum and analyze for objects on physical stand by dbs  (obi reddy <obireddy.g1997@gmail.com>)
List pgsql-admin
Teja Jakkidi <teja.jakkidi05@gmail.com> writes:
> I have an environment with 1 primary and 2 physical stand by instances. We have manually analyzed/ vacuumed tables on
primarydb 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



pgsql-admin by date:

Previous
From: Teja Jakkidi
Date:
Subject: Vacuum and analyze for objects on physical stand by dbs
Next
From: obi reddy
Date:
Subject: Re: Vacuum and analyze for objects on physical stand by dbs