Re: postgres keeps having blocks

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
Cc: Pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgres keeps having blocks
Date: 2023-10-18 12:40:23
Message-ID: CAKFQuwZoc9_7ud327Of=YBghmZY1iacYoDeYMSb=-X1HhOh4dQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday, October 18, 2023, Shaozhong SHI <shishaozhong(at)gmail(dot)com>
wrote:

> My postgres is playing up.
>
> I terminated session that is causing blocks many time.
>
> New block appears.
>
> Endless.
>
> What should I do?
>

PostgreSQL is probably just doing what you told it. Not possible to give
advice without knowing what you told it to do. You should put more effort
into showing others what your app is doing and how you are debugging it and
the database.

Killing sessions without changing anything else is unlikely to result in a
change of behavior.

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2023-10-18 12:42:17 Re: Inheritance in PostgreSQL
Previous Message Luis Bruno 2023-10-18 12:16:30 Re: Inheritance in PostgreSQL