Re: Failover and vacuum

From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
To: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Failover and vacuum
Date: 2025-03-29 10:48:04
Message-ID: CANzqJaAhbb_76RK-+BNMs8KiLW=ow1yfPuRThmhFuSt4JeDxwQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, Mar 28, 2025 at 11:25 PM Gurjeet Singh <gurjeet(at)singh(dot)im> wrote:

> On Thu Mar 27, 2025 at 10:40 AM PDT, Raj wrote:
> > Hi
> >
> > Have 2 nodes ( primary and standby postgres 15.6) in openshift
> kubernetes.
> >
> > Patroni setup. 300gb data. No failover since last six months. Suddenly
> > after failover, there were lot of issues such as too many connections and
> > slowness.
> >
> > Is it due to not analyze done in new node?
>
> There isn't enough information in your message for anyone to take an
> educated guess. If you see evidence of vacuum not being performed on
> certain tables for a while, yes that may explain queries taking too
> long, which may cause other symptoms. If analyze hasn't been performed
> for a while, then you may see suboptimal plans for the queries.
>
> But, again, you haven't provided enough information, so you may not get
> very helpful answers.
>

But don't vacuuming and analyze statistics get replicated?

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ron Johnson 2025-03-29 11:08:01 Re: Failover and vacuum
Previous Message Raj 2025-03-29 06:39:33 Re: Failover and vacuum