diff options
author | Robert Haas <rhaas@postgresql.org> | 2018-02-28 11:46:26 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2018-02-28 11:46:26 -0500 |
commit | 73797b7884ee1722127f27ecfcede99367139dc0 (patch) | |
tree | 36d238e596068a75d10e65afdc71e6c686533ecf | |
parent | ce1663cdcdbd9bf15c81570277f70571b3727dd3 (diff) |
Document LWTRANCHE_PARALLEL_HASH_JOIN.
Thomas Munro
Discussion: http://postgr.es/m/CAEepm=3g1hhbFzYkR_QT9RmBvsGX4UaeCtX-4Js8OOEMmFeaSQ@mail.gmail.com
-rw-r--r-- | doc/src/sgml/monitoring.sgml | 7 | ||||
-rw-r--r-- | src/backend/storage/lmgr/lwlock.c | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index 82c015806e3..3bc4de57d5a 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 <tbody> <row> - <entry morerows="63"><literal>LWLock</literal></entry> + <entry morerows="64"><literal>LWLock</literal></entry> <entry><literal>ShmemIndexLock</literal></entry> <entry>Waiting to find or allocate space in shared memory.</entry> </row> @@ -1122,6 +1122,11 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser execution.</entry> </row> <row> + <entry><literal>parallel_hash_join</literal></entry> + <entry>Waiting to allocate or exchange a chunk of memory or update + counters during Parallel Hash plan execution.</entry> + </row> + <row> <entry morerows="9"><literal>Lock</literal></entry> <entry><literal>relation</literal></entry> <entry>Waiting to acquire a lock on a relation.</entry> diff --git a/src/backend/storage/lmgr/lwlock.c b/src/backend/storage/lmgr/lwlock.c index 233606b4141..a6fda81feb6 100644 --- a/src/backend/storage/lmgr/lwlock.c +++ b/src/backend/storage/lmgr/lwlock.c @@ -520,6 +520,7 @@ RegisterLWLockTranches(void) "shared_tuplestore"); LWLockRegisterTranche(LWTRANCHE_TBM, "tbm"); LWLockRegisterTranche(LWTRANCHE_PARALLEL_APPEND, "parallel_append"); + LWLockRegisterTranche(LWTRANCHE_PARALLEL_HASH_JOIN, "parallel_hash_join"); /* Register named tranches. */ for (i = 0; i < NamedLWLockTrancheRequests; i++) |