pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Yambu <hyambu@gmail.com>
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: Locks
Date: Fri, 09 Apr 2021 13:22:35 +0200
Message-ID: <1001e7d9707ac7a3ca80e5fbbff622e9da3c8eec.camel@cybertec.at> (raw)
In-Reply-To: <CALhHtcAY1FNBd+F64YMn7pzvdj3P9D8_b4EPEYB-daLaDKJUCg@mail.gmail.com>
References: <CALhHtcAY1FNBd+F64YMn7pzvdj3P9D8_b4EPEYB-daLaDKJUCg@mail.gmail.com>

On Fri, 2021-04-09 at 12:31 +0200, Yambu wrote:
> I'm experiencing a lot of locks on my DB ,does CPU usage that stays around 96% cause locks on my DB server?

Use a connection pool with a way fewer connections on the backend.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (7+ messages)

Message-ID: <1001e7d9707ac7a3ca80e5fbbff622e9da3c8eec.camel@cybertec.at>
Permalink:  ../1001e7d9707ac7a3ca80e5fbbff622e9da3c8eec.camel@cybertec.at/
Also on:    postgresql.org/message-id/1001e7d9707ac7a3ca80e5fbbff622e9da3c8eec.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: laurenz.albe@cybertec.at, hyambu@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Locks
  In-Reply-To: <1001e7d9707ac7a3ca80e5fbbff622e9da3c8eec.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox