From 885cab58115a5af9484926ddee8dca3dc0106c1e Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Fri, 22 Sep 2017 13:35:54 +0200 Subject: [PATCH] Document further existing locks as wait events Reported-by: Jeremy Schneider Author: Michael Paquier Discussion: https://postgr.es/m/CA+fnDAZaPCwfY8Lp-pfLnUGFAXRu1VfLyRgdup-L-kwcBj8MqQ@mail.gmail.com --- doc/src/sgml/monitoring.sgml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index 8a3cf5d4c3..18fb9c2aa6 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -845,7 +845,7 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser - LWLock + LWLock ShmemIndexLock Waiting to find or allocate space in shared memory. @@ -1030,6 +1030,14 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser OldSnapshotTimeMapLock Waiting to read or update old snapshot control information. + + BackendRandomLock + Waiting to generate a random number. + + + LogicalRepWorkerLock + Waiting for action on logical replication worker to finish. + CLogTruncationLock Waiting to truncate the write-ahead log or waiting for write-ahead log truncation to finish.