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@streetlightdata.com
From: Nikolay Samokhvalov <samokhvalov@gmail.com> Sent: Monday, April 12, 2021 4:34 PMTo: Andres Freund <andres@anarazel.de>Cc: Paul Friedman <paul.friedman@streetlightdata.com>; pgsql-performance@lists.postgresql.orgSubject: Re: LWLocks by LockManager slowing large DB
On Mon, Apr 12, 2021 at 14:57 Andres Freund <andres@anarazel.de> wrote:
Without knowing the proportion of LockManager wait events compared tothe rest it's hard to know what to make of it.
These OSS tools can be useful to understand the proportion:
- pgCenter
https://github.com/lesovsky/pgcenter
- pg_wait_sampling (can be used together with POWA monitoring)
https://github.com/postgrespro/pg_wait_sampling
- pgsentinel
https://github.com/pgsentinel/pgsentinel
- PASH Viewer (good for visualization, integrates with pgsentinel)
https://github.com/dbacvetkov/PASH-Viewer
pgsql-performance by date:
Соглашаюсь с условиями обработки персональных данных