mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
Make parallel nbtree index scans use an LWLock.
Teach parallel nbtree index scans to use an LWLock (not a spinlock) to protect the scan's shared descriptor state. Preparation for an upcoming patch that will add skip scan optimizations to nbtree. That patch will create the need to occasionally allocate memory while the scan descriptor is locked, while copying datums that were serialized by another backend. Author: Peter Geoghegan <pg@bowt.ie> Reviewed-By: Matthias van de Meent <boekewurm+postgres@gmail.com> Discussion: https://postgr.es/m/CAH2-Wz=PKR6rB7qbx+Vnd7eqeB5VTcrW=iJvAsTsKbdG+kW_UA@mail.gmail.com
This commit is contained in:
@@ -371,6 +371,7 @@ BufferMapping "Waiting to associate a data block with a buffer in the buffer poo
|
||||
LockManager "Waiting to read or update information about <quote>heavyweight</quote> locks."
|
||||
PredicateLockManager "Waiting to access predicate lock information used by serializable transactions."
|
||||
ParallelHashJoin "Waiting to synchronize workers during Parallel Hash Join plan execution."
|
||||
ParallelBtreeScan "Waiting to synchronize workers during Parallel B-tree scan plan execution."
|
||||
ParallelQueryDSA "Waiting for parallel query dynamic shared memory allocation."
|
||||
PerSessionDSA "Waiting for parallel query dynamic shared memory allocation."
|
||||
PerSessionRecordType "Waiting to access a parallel query's information about composite types."
|
||||
|
||||
Reference in New Issue
Block a user