Skip to content

Commit 73797b7

Browse files
committed
Document LWTRANCHE_PARALLEL_HASH_JOIN.
Thomas Munro Discussion: http://postgr.es/m/CAEepm=3g1hhbFzYkR_QT9RmBvsGX4UaeCtX-4Js8OOEMmFeaSQ@mail.gmail.com
1 parent ce1663c commit 73797b7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

doc/src/sgml/monitoring.sgml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
845845

846846
<tbody>
847847
<row>
848-
<entry morerows="63"><literal>LWLock</literal></entry>
848+
<entry morerows="64"><literal>LWLock</literal></entry>
849849
<entry><literal>ShmemIndexLock</literal></entry>
850850
<entry>Waiting to find or allocate space in shared memory.</entry>
851851
</row>
@@ -1121,6 +1121,11 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
11211121
<entry>Waiting to choose the next subplan during Parallel Append plan
11221122
execution.</entry>
11231123
</row>
1124+
<row>
1125+
<entry><literal>parallel_hash_join</literal></entry>
1126+
<entry>Waiting to allocate or exchange a chunk of memory or update
1127+
counters during Parallel Hash plan execution.</entry>
1128+
</row>
11241129
<row>
11251130
<entry morerows="9"><literal>Lock</literal></entry>
11261131
<entry><literal>relation</literal></entry>

src/backend/storage/lmgr/lwlock.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,7 @@ RegisterLWLockTranches(void)
520520
"shared_tuplestore");
521521
LWLockRegisterTranche(LWTRANCHE_TBM, "tbm");
522522
LWLockRegisterTranche(LWTRANCHE_PARALLEL_APPEND, "parallel_append");
523+
LWLockRegisterTranche(LWTRANCHE_PARALLEL_HASH_JOIN, "parallel_hash_join");
523524

524525
/* Register named tranches. */
525526
for (i = 0; i < NamedLWLockTrancheRequests; i++)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy