Re: WALWriteLock

From: Vijaykumar Jain <vijaykumarjain(dot)github(at)gmail(dot)com>
To: Yambu <hyambu(at)gmail(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: WALWriteLock
Date: 2021-07-06 14:28:35
Message-ID: CAM+6J96Ofhc=WE1JLZfZQq54JP8v2ztFBb--wC+LVR4eZwueQA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Jul 6, 2021, 7:54 PM Vijaykumar Jain <
vijaykumarjain(dot)github(at)gmail(dot)com> wrote:

>
> On Tue, Jul 6, 2021, 7:44 PM Yambu <hyambu(at)gmail(dot)com> wrote:
>
>> Hello
>>
>> I'm seeing a lot of WALWriteLocks , is this a bad sign , what might cause
>> this?
>>
>
> pg version
> cloud or on prem
> When do you see this piling up? Heavy concurrent usage or regular usage
> but random spike in locks?
> Underlying storage shows any anomalies?
> resource utilization normal or high?
> pg part of master replica setup with synchronous replication or async ?
> Disk iowait high?
>

Also, is it during checkpointing ?
how much is the checkpoint spread,
You can enable logging checkpoints,
to help relate correlation between checkpoint windows and walwrite locks
piling up ?

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jeff Janes 2021-07-06 15:20:02 Re: Archive cleanup
Previous Message Vijaykumar Jain 2021-07-06 14:24:31 Re: WALWriteLock