May 2019
Intermediate to advanced
600 pages
20h 46m
English
The pg_stat_activity system view includes the wait_event_type and wait_event columns, which are set to the kind of wait, and to the kind of object that is blocked, respectively. The backend_type column indicates the type of current backend.
The preceding query uses the wait_event_type field to filter out only those queries that are waiting.
Read now
Unlock full access