Re: WALWriteLocks - Mailing list pgsql-admin

From Don Seiler
Subject Re: WALWriteLocks
Date
Msg-id CAHJZqBDHZyPCXjnOhS2C9YoBTaJ0_e47M_q7pob+F0VT_B48fQ@mail.gmail.com
Whole thread Raw
In response to Re: WALWriteLocks  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: WALWriteLocks
Re: WALWriteLocks
RE: [EXTERNAL] Re: WALWriteLocks
List pgsql-admin
On Thu, Apr 29, 2021 at 1:38 AM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
My gues is that you have too many active client connections, and you are suffering
from contention between the many backends that all want to write WAL.

In that case, use a connection pool to limit the number of active connections.

We do have pgbouncer in place already.

Thanks for the replies so far.

What I really want to know in this case is if there is some other PG operation that accounts for a WALWriteLock wait, or is it always an I/O (write) to the WAL file storage, and we can focus our investigation there? 

Don.

--
Don Seiler
www.seiler.us

pgsql-admin by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: WALWriteLocks
Next
From: Vijaykumar Jain
Date:
Subject: Re: WALWriteLocks