RE: LWLocks by LockManager slowing large DB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for this – these tools (and the raw selects on pg_stat_activity and pg_locks) are all showing wait events being created by LockManager waiting on an LWLock.

 

---Paul

 

Paul Friedman

CTO

 

677 Harrison St  |  San Francisco, CA 94107

M: (650) 270-7676

E-mail: paul.friedman@xxxxxxxxxxxxxxxxxxx

 

From: Nikolay Samokhvalov <samokhvalov@xxxxxxxxx>
Sent: Monday, April 12, 2021 4:34 PM
To: Andres Freund <andres@xxxxxxxxxxx>
Cc: Paul Friedman <paul.friedman@xxxxxxxxxxxxxxxxxxx>; pgsql-performance@xxxxxxxxxxxxxxxxxxxx
Subject: Re: LWLocks by LockManager slowing large DB

 

 

 

On Mon, Apr 12, 2021 at 14:57 Andres Freund <andres@xxxxxxxxxxx> wrote:

Without knowing the proportion of LockManager wait events compared to
the rest it's hard to know what to make of it.

 

These OSS tools can be useful to understand the proportion:

 

- pgCenter 

- pg_wait_sampling (can be used together with POWA monitoring) 

- PASH Viewer (good for visualization, integrates with pgsentinel) 


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux