IPC:ParallelBitmapScan

ParallelBitmapScan is a PostgreSQL wait event that occurs when a parallel worker is waiting to participate in a parallel bitmap heap scan. The bitmap itself is generated by the leader process via a (non-parallel) bitmap index scan. Workers then coordinate to scan the heap pages referenced in the shared bitmap. parallel workers pause until the leader process sets up a shared bitmap structure. This bitmap is used to efficiently mark and gather candidate rows from index scans before accessing the heap (table data). The ParallelBitmapScan wait indicates that a worker is idle, waiting for its turn or for coordination with other workers to safely and efficiently access the shared bitmap and underlying heap pages.

What causes excessive ParallelBitmapScan

How to reduce ParallelBitmapScan waits