edb_wait_states
edb_wait_states · Persistent sampling of backend wait events and related query context.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101882 | edb_wait_states | edb_wait_states | 1.6.0 | STAT | Proprietary | Unknown |
Usage
Sources:
edb_wait_states samples backend wait events over time and persists query, session, system, and wait-event data for performance analysis.
Enablement
Install EDB Wait States 1.6.0, preload its worker, restart, and create the extension:
Grant USAGE on the installation schema to pg_monitor when EDB diagnostic tools must read the data.
Analyze Samples
edb_wait_states_queries, edb_wait_states_sessions, and edb_wait_states_sql_statements provide higher-level views over sampled files.
Retention and Privacy
Samples are stored under edb_wait_states.directory; changing that path requires a restart. Sampling increases disk usage and can retain query text, role, database, and session details. Set a finite retention period, protect the directory and SQL functions, monitor its size, and use edb_wait_states_purge when policy requires early removal.